You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

617 lines
11 KiB

  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. - Grid
  11. - Base Styles
  12. - Typography
  13. - Links
  14. - Buttons
  15. - Forms
  16. - Lists
  17. - Code
  18. - Tables
  19. - Spacing
  20. - Utilities
  21. - Clearing
  22. - Media Queries
  23. */
  24. /* Grid
  25. */
  26. .container {
  27. position: relative;
  28. width: 100%;
  29. max-width: 640px;
  30. margin: 0 auto;
  31. padding: 0 20px;
  32. box-sizing: border-box;
  33. }
  34. .column,
  35. .columns {
  36. width: 100%;
  37. float: left;
  38. box-sizing: border-box;
  39. }
  40. /* For devices larger than 550px */
  41. @media (min-width: 550px) {
  42. .column,
  43. .columns {
  44. margin-left: 4%;
  45. }
  46. .column:first-child,
  47. .columns:first-child {
  48. margin-left: 0;
  49. }
  50. .one.column,
  51. .one.columns {
  52. width: 4.66666666667%;
  53. }
  54. .two.columns {
  55. width: 13.3333333333%;
  56. }
  57. .three.columns {
  58. width: 22%;
  59. }
  60. .four.columns {
  61. width: 30.6666666667%;
  62. }
  63. .five.columns {
  64. width: 39.3333333333%;
  65. }
  66. .six.columns {
  67. width: 48%;
  68. }
  69. .seven.columns {
  70. width: 56.6666666667%;
  71. }
  72. .eight.columns {
  73. width: 65.3333333333%;
  74. }
  75. .nine.columns {
  76. width: 74.0%;
  77. }
  78. .ten.columns {
  79. width: 82.6666666667%;
  80. }
  81. .eleven.columns {
  82. width: 91.3333333333%;
  83. }
  84. .twelve.columns {
  85. width: 100%;
  86. margin-left: 0;
  87. }
  88. .one-third.column {
  89. width: 30.6666666667%;
  90. }
  91. .two-thirds.column {
  92. width: 65.3333333333%;
  93. }
  94. .one-half.column {
  95. width: 48%;
  96. }
  97. /* Offsets */
  98. .offset-by-one.column,
  99. .offset-by-one.columns {
  100. margin-left: 8.66666666667%;
  101. }
  102. .offset-by-two.column,
  103. .offset-by-two.columns {
  104. margin-left: 17.3333333333%;
  105. }
  106. .offset-by-three.column,
  107. .offset-by-three.columns {
  108. margin-left: 26%;
  109. }
  110. .offset-by-four.column,
  111. .offset-by-four.columns {
  112. margin-left: 34.6666666667%;
  113. }
  114. .offset-by-five.column,
  115. .offset-by-five.columns {
  116. margin-left: 43.3333333333%;
  117. }
  118. .offset-by-six.column,
  119. .offset-by-six.columns {
  120. margin-left: 52%;
  121. }
  122. .offset-by-seven.column,
  123. .offset-by-seven.columns {
  124. margin-left: 60.6666666667%;
  125. }
  126. .offset-by-eight.column,
  127. .offset-by-eight.columns {
  128. margin-left: 69.3333333333%;
  129. }
  130. .offset-by-nine.column,
  131. .offset-by-nine.columns {
  132. margin-left: 78.0%;
  133. }
  134. .offset-by-ten.column,
  135. .offset-by-ten.columns {
  136. margin-left: 86.6666666667%;
  137. }
  138. .offset-by-eleven.column,
  139. .offset-by-eleven.columns {
  140. margin-left: 95.3333333333%;
  141. }
  142. .offset-by-one-third.column,
  143. .offset-by-one-third.columns {
  144. margin-left: 34.6666666667%;
  145. }
  146. .offset-by-two-thirds.column,
  147. .offset-by-two-thirds.columns {
  148. margin-left: 69.3333333333%;
  149. }
  150. .offset-by-one-half.column,
  151. .offset-by-one-half.columns {
  152. margin-left: 52%;
  153. }
  154. }
  155. /* Base Styles
  156. */
  157. /* NOTE
  158. html is set to 62.5% so that all the REM measurements throughout Skeleton
  159. are based on 10px sizing. So basically 1.5rem = 15px :) */
  160. html {
  161. font-size: 62.5%;
  162. }
  163. body {
  164. font-size: 1.6em;
  165. /* currently ems cause chrome bug misinterpreting rems on body element */
  166. line-height: 1.6;
  167. font-weight: 400;
  168. font-family: "Inter", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  169. color: #222;
  170. }
  171. /* Typography
  172. */
  173. h1, h2, h3, h4, h5, h6 {
  174. margin-top: 0;
  175. margin-bottom: 1.5rem;
  176. font-family: 'DM Serif Display', serif;
  177. font-weight: 400;
  178. }
  179. h1 {
  180. font-size: 3.4rem;
  181. line-height: 1.2;
  182. }
  183. h2 {
  184. font-size: 2.6rem;
  185. line-height: 1.25;
  186. }
  187. h3 {
  188. font-size: 2.0rem;
  189. line-height: 1.3;
  190. }
  191. h4 {
  192. font-size: 1.6rem;
  193. line-height: 1.35;
  194. }
  195. h5 {
  196. font-size: 1.4rem;
  197. line-height: 1.5;
  198. }
  199. h6 {
  200. font-size: 1.2rem;
  201. line-height: 1.6;
  202. letter-spacing: 0;
  203. }
  204. /* Larger than phablet */
  205. /* @media (min-width: 550px) {
  206. h1 {
  207. font-size: 5.0rem;
  208. }
  209. h2 {
  210. font-size: 4.2rem;
  211. }
  212. h3 {
  213. font-size: 3.6rem;
  214. }
  215. h4 {
  216. font-size: 3.0rem;
  217. }
  218. h5 {
  219. font-size: 2.4rem;
  220. }
  221. h6 {
  222. font-size: 1.8rem;
  223. }
  224. } */
  225. p {
  226. margin-top: 0;
  227. }
  228. /* Links
  229. */
  230. a:not(.icon) {
  231. color: inherit;
  232. background-size: 100% 200%;
  233. transition:
  234. background-position .2s ease-in-out
  235. }
  236. a:hover:not(.icon),
  237. a:focus:not(.icon) {
  238. background-position: 0 100%;
  239. color: #fff;
  240. }
  241. /* a:hover {
  242. background-color: #0FA0CE;
  243. transition: to top 200ms ease-out;
  244. }
  245. .link {
  246. text-decoration: none;
  247. color: inherit;
  248. position: relative;
  249. }
  250. .link:hover {
  251. color: inherit;
  252. }
  253. .link:after {
  254. content: "";
  255. position: absolute;
  256. z-index: -1;
  257. top: 80%;
  258. left: -0.1em;
  259. right: -0.1em;
  260. bottom: 0;
  261. transition: top 200ms cubic-bezier(0, .8, .13, 1);
  262. background-color: #0FA0CE;
  263. }
  264. .link:hover:after {
  265. top: 0%;
  266. } */
  267. /* Buttons
  268. */
  269. .button,
  270. button,
  271. input[type="submit"],
  272. input[type="reset"],
  273. input[type="button"] {
  274. display: inline-block;
  275. height: 38px;
  276. padding: 0 30px;
  277. color: #555;
  278. text-align: center;
  279. font-size: 11px;
  280. font-weight: 600;
  281. line-height: 38px;
  282. letter-spacing: .1rem;
  283. text-transform: uppercase;
  284. text-decoration: none;
  285. white-space: nowrap;
  286. background-color: transparent;
  287. border-radius: 4px;
  288. border: 1px solid #bbb;
  289. cursor: pointer;
  290. box-sizing: border-box;
  291. }
  292. .button:hover,
  293. button:hover,
  294. input[type="submit"]:hover,
  295. input[type="reset"]:hover,
  296. input[type="button"]:hover,
  297. .button:focus,
  298. button:focus,
  299. input[type="submit"]:focus,
  300. input[type="reset"]:focus,
  301. input[type="button"]:focus {
  302. color: #333;
  303. border-color: #888;
  304. outline: 0;
  305. }
  306. .button.button-primary,
  307. button.button-primary,
  308. input[type="submit"].button-primary,
  309. input[type="reset"].button-primary,
  310. input[type="button"].button-primary {
  311. color: #FFF;
  312. background-color: #333;
  313. border-color: #333;
  314. }
  315. .button.button-primary:hover,
  316. button.button-primary:hover,
  317. input[type="submit"].button-primary:hover,
  318. input[type="reset"].button-primary:hover,
  319. input[type="button"].button-primary:hover,
  320. .button.button-primary:focus,
  321. button.button-primary:focus,
  322. input[type="submit"].button-primary:focus,
  323. input[type="reset"].button-primary:focus,
  324. input[type="button"].button-primary:focus {
  325. color: #FFF;
  326. }
  327. /* Forms
  328. */
  329. input[type="email"],
  330. input[type="number"],
  331. input[type="search"],
  332. input[type="text"],
  333. input[type="tel"],
  334. input[type="url"],
  335. input[type="password"],
  336. textarea,
  337. select {
  338. height: 38px;
  339. padding: 6px 10px;
  340. /* The 6px vertically centers text on FF, ignored by Webkit */
  341. background-color: #fff;
  342. border: 1px solid #D1D1D1;
  343. border-radius: 4px;
  344. box-shadow: none;
  345. box-sizing: border-box;
  346. }
  347. /* Removes awkward default styles on some inputs for iOS */
  348. input[type="email"],
  349. input[type="number"],
  350. input[type="search"],
  351. input[type="text"],
  352. input[type="tel"],
  353. input[type="url"],
  354. input[type="password"],
  355. textarea {
  356. -webkit-appearance: none;
  357. -moz-appearance: none;
  358. appearance: none;
  359. }
  360. textarea {
  361. min-height: 65px;
  362. padding-top: 6px;
  363. padding-bottom: 6px;
  364. }
  365. input[type="email"]:focus,
  366. input[type="number"]:focus,
  367. input[type="search"]:focus,
  368. input[type="text"]:focus,
  369. input[type="tel"]:focus,
  370. input[type="url"]:focus,
  371. input[type="password"]:focus,
  372. textarea:focus,
  373. select:focus {
  374. outline: 0;
  375. }
  376. label,
  377. legend {
  378. display: block;
  379. margin-bottom: .5rem;
  380. font-weight: 600;
  381. }
  382. fieldset {
  383. padding: 0;
  384. border-width: 0;
  385. }
  386. input[type="checkbox"],
  387. input[type="radio"] {
  388. display: inline;
  389. }
  390. label>.label-body {
  391. display: inline-block;
  392. margin-left: .5rem;
  393. font-weight: normal;
  394. }
  395. /* Lists
  396. */
  397. ul {
  398. list-style: circle outside;
  399. margin-left: 2rem;
  400. }
  401. ol {
  402. list-style: decimal outside;
  403. margin-left: 2rem;
  404. }
  405. ol, ul {
  406. padding-left: 0;
  407. margin-top: 0;
  408. }
  409. ul ul,
  410. ul ol,
  411. ol ol,
  412. ol ul {
  413. margin: 1.5rem 0 1.5rem 3rem;
  414. font-size: 90%;
  415. }
  416. li {
  417. margin-bottom: 1rem;
  418. }
  419. /* Code
  420. */
  421. /* code {
  422. padding: .2rem .5rem;
  423. margin: 0 .2rem;
  424. font-size: 90%;
  425. white-space: nowrap;
  426. background: #F1F1F1;
  427. border: 1px solid #E1E1E1;
  428. border-radius: 4px;
  429. }
  430. pre>code {
  431. display: block;
  432. padding: 1rem 1.5rem;
  433. white-space: pre;
  434. } */
  435. /* Tables
  436. */
  437. th,
  438. td {
  439. padding: 12px 15px;
  440. text-align: left;
  441. border-bottom: 1px solid #E1E1E1;
  442. }
  443. th:first-child,
  444. td:first-child {
  445. padding-left: 0;
  446. }
  447. th:last-child,
  448. td:last-child {
  449. padding-right: 0;
  450. }
  451. /* Spacing
  452. */
  453. button,
  454. .button {
  455. margin-bottom: 1rem;
  456. }
  457. input,
  458. textarea,
  459. select,
  460. fieldset {
  461. margin-bottom: 1.5rem;
  462. }
  463. /* pre,
  464. blockquote,
  465. dl,
  466. figure,
  467. table,
  468. p,
  469. ul,
  470. ol,
  471. form {
  472. margin-bottom: 2.5rem;
  473. } */
  474. /* Utilities
  475. */
  476. .u-full-width {
  477. width: 100%;
  478. box-sizing: border-box;
  479. }
  480. .u-max-full-width {
  481. max-width: 100%;
  482. box-sizing: border-box;
  483. }
  484. .u-pull-right {
  485. float: right;
  486. }
  487. .u-pull-left {
  488. float: left;
  489. }
  490. /* Misc
  491. */
  492. hr {
  493. margin-top: 3rem;
  494. margin-bottom: 3.5rem;
  495. border-width: 0;
  496. border-top: 1px solid #E1E1E1;
  497. }
  498. /* Clearing
  499. */
  500. /* Self Clearing Goodness */
  501. .container:after,
  502. .row:after,
  503. .u-cf {
  504. content: "";
  505. display: table;
  506. clear: both;
  507. }
  508. /* Media Queries
  509. */
  510. /*
  511. Note: The best way to structure the use of media queries is to create the queries
  512. near the relevant code. For example, if you wanted to change the styles for buttons
  513. on small devices, paste the mobile query code up in the buttons section and style it
  514. there.
  515. */
  516. /* Larger than mobile */
  517. @media (min-width: 400px) {}
  518. /* Larger than phablet (also point when grid becomes active) */
  519. @media (min-width: 550px) {}
  520. /* Larger than tablet */
  521. @media (min-width: 750px) {}
  522. /* Larger than desktop */
  523. @media (min-width: 1000px) {}
  524. /* Larger than Desktop HD */
  525. @media (min-width: 1200px) {}