Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

413 lines
11KB

  1. /*
  2. * Skeleton V2.0.4
  3. * Copyright 2014, Dave Gamache
  4. * www.getskeleton.com
  5. * Free to use under the MIT license.
  6. * http://www.opensource.org/licenses/mit-license.php
  7. * 12/29/2014
  8. */
  9. /* Table of contents
  10. ––––––––––––––––––––––––––––––––––––––––––––––––––
  11. - Grid
  12. - Base Styles
  13. - Typography
  14. - Links
  15. - Buttons
  16. - Forms
  17. - Lists
  18. - Code
  19. - Tables
  20. - Spacing
  21. - Utilities
  22. - Clearing
  23. - Media Queries
  24. */
  25. /* Grid
  26. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  27. .container {
  28. position: relative;
  29. width: 100%;
  30. max-width: 960px;
  31. margin: 0 auto;
  32. padding: 0 20px;
  33. box-sizing: border-box; }
  34. .column,
  35. .columns {
  36. width: 100%;
  37. float: left;
  38. box-sizing: border-box; }
  39. /* For devices larger than 400px */
  40. @media (min-width: 400px) {
  41. .container {
  42. width: 85%;
  43. padding: 0; }
  44. }
  45. /* For devices larger than 550px */
  46. @media (min-width: 550px) {
  47. .container {
  48. width: 80%; }
  49. .column,
  50. .columns {
  51. margin-left: 4%; }
  52. .column:first-child,
  53. .columns:first-child {
  54. margin-left: 0; }
  55. .one.column,
  56. .one.columns { width: 4.66666666667%; }
  57. .two.columns { width: 13.3333333333%; }
  58. .three.columns { width: 22%; }
  59. .four.columns { width: 30.6666666667%; }
  60. .five.columns { width: 39.3333333333%; }
  61. .six.columns { width: 48%; }
  62. .seven.columns { width: 56.6666666667%; }
  63. .eight.columns { width: 65.3333333333%; }
  64. .nine.columns { width: 74.0%; }
  65. .ten.columns { width: 82.6666666667%; }
  66. .eleven.columns { width: 91.3333333333%; }
  67. .twelve.columns { width: 100%; margin-left: 0; }
  68. .one-third.column { width: 30.6666666667%; }
  69. .two-thirds.column { width: 65.3333333333%; }
  70. .one-half.column { width: 48%; }
  71. /* Offsets */
  72. .offset-by-one.column,
  73. .offset-by-one.columns { margin-left: 8.66666666667%; }
  74. .offset-by-two.column,
  75. .offset-by-two.columns { margin-left: 17.3333333333%; }
  76. .offset-by-three.column,
  77. .offset-by-three.columns { margin-left: 26%; }
  78. .offset-by-four.column,
  79. .offset-by-four.columns { margin-left: 34.6666666667%; }
  80. .offset-by-five.column,
  81. .offset-by-five.columns { margin-left: 43.3333333333%; }
  82. .offset-by-six.column,
  83. .offset-by-six.columns { margin-left: 52%; }
  84. .offset-by-seven.column,
  85. .offset-by-seven.columns { margin-left: 60.6666666667%; }
  86. .offset-by-eight.column,
  87. .offset-by-eight.columns { margin-left: 69.3333333333%; }
  88. .offset-by-nine.column,
  89. .offset-by-nine.columns { margin-left: 78.0%; }
  90. .offset-by-ten.column,
  91. .offset-by-ten.columns { margin-left: 86.6666666667%; }
  92. .offset-by-eleven.column,
  93. .offset-by-eleven.columns { margin-left: 95.3333333333%; }
  94. .offset-by-one-third.column,
  95. .offset-by-one-third.columns { margin-left: 34.6666666667%; }
  96. .offset-by-two-thirds.column,
  97. .offset-by-two-thirds.columns { margin-left: 69.3333333333%; }
  98. .offset-by-one-half.column,
  99. .offset-by-one-half.columns { margin-left: 52%; }
  100. }
  101. /* Base Styles
  102. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  103. /* NOTE
  104. html is set to 62.5% so that all the REM measurements throughout Skeleton
  105. are based on 10px sizing. So basically 1.5rem = 15px :) */
  106. html {
  107. font-size: 62.5%; }
  108. body {
  109. font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  110. line-height: 1.2;
  111. font-weight: 400;
  112. font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  113. color: #222; }
  114. /* Typography
  115. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  116. h1, h2, h3, h4, h5, h6 {
  117. margin-top: 0;
  118. margin-bottom: 2rem;
  119. font-weight: 300; }
  120. h1 { font-size: 2.0rem; line-height: 1.2; letter-spacing: -.1rem;}
  121. h2 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.1rem; }
  122. h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.1rem; }
  123. h4 { font-size: 1.1rem; line-height: 1.35; letter-spacing: -.08rem; }
  124. h5 { font-size: 1.0rem; line-height: 1.5; letter-spacing: -.05rem; }
  125. h6 { font-size: 1.0rem; line-height: 1.6; letter-spacing: 0; }
  126. /* Larger than phablet */
  127. @media (min-width: 550px) {
  128. h1 { font-size: 2.5rem; }
  129. h2 { font-size: 2.0rem; }
  130. h3 { font-size: 1.5rem; }
  131. h4 { font-size: 1.3rem; }
  132. h5 { font-size: 1.2rem; }
  133. h6 { font-size: 1.1rem; }
  134. }
  135. p {
  136. margin-top: 0; }
  137. /* Links
  138. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  139. a {
  140. color: #1EAEDB; }
  141. a:hover {
  142. color: #0FA0CE; }
  143. /* Buttons
  144. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  145. .button,
  146. button,
  147. input[type="submit"],
  148. input[type="reset"],
  149. input[type="button"] {
  150. display: inline-block;
  151. height: 38px;
  152. padding: 0 30px;
  153. color: #555;
  154. text-align: center;
  155. font-size: 11px;
  156. font-weight: 600;
  157. line-height: 38px;
  158. letter-spacing: .1rem;
  159. text-transform: uppercase;
  160. text-decoration: none;
  161. white-space: nowrap;
  162. background-color: transparent;
  163. border-radius: 4px;
  164. border: 1px solid #bbb;
  165. cursor: pointer;
  166. box-sizing: border-box; }
  167. .button:hover,
  168. button:hover,
  169. input[type="submit"]:hover,
  170. input[type="reset"]:hover,
  171. input[type="button"]:hover,
  172. .button:focus,
  173. button:focus,
  174. input[type="submit"]:focus,
  175. input[type="reset"]:focus,
  176. input[type="button"]:focus {
  177. color: #333;
  178. border-color: #888;
  179. outline: 0; }
  180. .button.button-primary,
  181. button.button-primary,
  182. input[type="submit"].button-primary,
  183. input[type="reset"].button-primary,
  184. input[type="button"].button-primary {
  185. color: #FFF;
  186. background-color: #33C3F0;
  187. border-color: #33C3F0; }
  188. .button.button-primary:hover,
  189. button.button-primary:hover,
  190. input[type="submit"].button-primary:hover,
  191. input[type="reset"].button-primary:hover,
  192. input[type="button"].button-primary:hover,
  193. .button.button-primary:focus,
  194. button.button-primary:focus,
  195. input[type="submit"].button-primary:focus,
  196. input[type="reset"].button-primary:focus,
  197. input[type="button"].button-primary:focus {
  198. color: #FFF;
  199. background-color: #1EAEDB;
  200. border-color: #1EAEDB; }
  201. /* Forms
  202. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  203. input[type="email"],
  204. input[type="number"],
  205. input[type="search"],
  206. input[type="text"],
  207. input[type="tel"],
  208. input[type="url"],
  209. input[type="password"],
  210. textarea,
  211. select {
  212. height: 38px;
  213. padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  214. background-color: #fff;
  215. border: 1px solid #D1D1D1;
  216. border-radius: 4px;
  217. box-shadow: none;
  218. box-sizing: border-box; }
  219. /* Removes awkward default styles on some inputs for iOS */
  220. input[type="email"],
  221. input[type="number"],
  222. input[type="search"],
  223. input[type="text"],
  224. input[type="tel"],
  225. input[type="url"],
  226. input[type="password"],
  227. textarea {
  228. -webkit-appearance: none;
  229. -moz-appearance: none;
  230. appearance: none; }
  231. textarea {
  232. min-height: 65px;
  233. padding-top: 6px;
  234. padding-bottom: 6px; }
  235. input[type="email"]:focus,
  236. input[type="number"]:focus,
  237. input[type="search"]:focus,
  238. input[type="text"]:focus,
  239. input[type="tel"]:focus,
  240. input[type="url"]:focus,
  241. input[type="password"]:focus,
  242. textarea:focus,
  243. select:focus {
  244. border: 1px solid #33C3F0;
  245. outline: 0; }
  246. label,
  247. legend {
  248. display: block;
  249. margin-bottom: .5rem;
  250. font-weight: 600; }
  251. fieldset {
  252. padding: 0;
  253. border-width: 0; }
  254. input[type="checkbox"],
  255. input[type="radio"] {
  256. display: inline; }
  257. label > .label-body {
  258. display: inline-block;
  259. margin-left: .5rem;
  260. font-weight: normal; }
  261. /* Lists
  262. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  263. ul ul,
  264. ul ol,
  265. ol ol,
  266. ol ul {
  267. margin: 1.5rem 0 1.5rem 3rem;
  268. font-size: 90%; }
  269. li {
  270. margin-bottom: 1rem; }
  271. /* Code
  272. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  273. code {
  274. padding: .2rem .5rem;
  275. margin: 0 .2rem;
  276. font-size: 70%;
  277. white-space: nowrap;
  278. background: #F1F1F1;
  279. border: 1px solid #E1E1E1;
  280. border-radius: 4px; }
  281. pre > code {
  282. display: block;
  283. padding: 1rem 1.5rem;
  284. white-space: pre; }
  285. /* Tables
  286. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  287. th,
  288. td {
  289. padding: 12px 15px;
  290. text-align: left;
  291. border-bottom: 1px solid #E1E1E1; }
  292. th:first-child,
  293. td:first-child {
  294. padding-left: 0; }
  295. th:last-child,
  296. td:last-child {
  297. padding-right: 0; }
  298. /* Spacing
  299. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  300. button,
  301. .button {
  302. margin-bottom: 1rem; }
  303. input,
  304. textarea,
  305. select,
  306. fieldset {
  307. margin-bottom: 1.5rem; }
  308. pre,
  309. blockquote,
  310. dl,
  311. figure,
  312. table,
  313. p,
  314. ul,
  315. ol,
  316. form {
  317. margin-bottom: 2.5rem; }
  318. /* Utilities
  319. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  320. .u-full-width {
  321. width: 100%;
  322. box-sizing: border-box; }
  323. .u-max-full-width {
  324. max-width: 100%;
  325. box-sizing: border-box; }
  326. .u-pull-right {
  327. float: right; }
  328. .u-pull-left {
  329. float: left; }
  330. /* Misc
  331. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  332. hr {
  333. margin-top: 3rem;
  334. margin-bottom: 3.5rem;
  335. border-width: 0;
  336. border-top: 1px solid #E1E1E1; }
  337. /* Clearing
  338. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  339. /* Self Clearing Goodness */
  340. .container:after,
  341. .row:after,
  342. .u-cf {
  343. content: "";
  344. display: table;
  345. clear: both; }
  346. /* Media Queries
  347. –––––––––––––––––––––––––––––––––––––––––––––––––– */
  348. /*
  349. Note: The best way to structure the use of media queries is to create the queries
  350. near the relevant code. For example, if you wanted to change the styles for buttons
  351. on small devices, paste the mobile query code up in the buttons section and style it
  352. there.
  353. */
  354. /* Larger than mobile */
  355. @media (min-width: 400px) {}
  356. /* Larger than phablet (also point when grid becomes active) */
  357. @media (min-width: 550px) {}
  358. /* Larger than tablet */
  359. @media (min-width: 750px) {}
  360. /* Larger than desktop */
  361. @media (min-width: 1000px) {}
  362. /* Larger than Desktop HD */
  363. @media (min-width: 1200px) {}