milligram.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. /*!
  2. * Milligram v1.4.1
  3. * https://milligram.io
  4. *
  5. * Copyright (c) 2020 CJ Patoilo
  6. * Licensed under the MIT license
  7. */
  8. *,
  9. *:after,
  10. *:before {
  11. box-sizing: inherit;
  12. }
  13. html {
  14. box-sizing: border-box;
  15. font-size: 62.5%;
  16. }
  17. body {
  18. color: #606c76;
  19. font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  20. font-size: 1.6em;
  21. font-weight: 300;
  22. letter-spacing: .01em;
  23. line-height: 1.6;
  24. }
  25. blockquote {
  26. border-left: 0.3rem solid #d1d1d1;
  27. margin-left: 0;
  28. margin-right: 0;
  29. padding: 1rem 1.5rem;
  30. }
  31. blockquote *:last-child {
  32. margin-bottom: 0;
  33. }
  34. .button,
  35. button,
  36. input[type='button'],
  37. input[type='reset'],
  38. input[type='submit'] {
  39. background-color: #9b4dca;
  40. border: 0.1rem solid #9b4dca;
  41. border-radius: .4rem;
  42. color: #fff;
  43. cursor: pointer;
  44. display: inline-block;
  45. font-size: 1.1rem;
  46. font-weight: 700;
  47. height: 3.8rem;
  48. letter-spacing: .1rem;
  49. line-height: 3.8rem;
  50. padding: 0 3.0rem;
  51. text-align: center;
  52. text-decoration: none;
  53. text-transform: uppercase;
  54. white-space: nowrap;
  55. }
  56. .button:focus, .button:hover,
  57. button:focus,
  58. button:hover,
  59. input[type='button']:focus,
  60. input[type='button']:hover,
  61. input[type='reset']:focus,
  62. input[type='reset']:hover,
  63. input[type='submit']:focus,
  64. input[type='submit']:hover {
  65. background-color: #606c76;
  66. border-color: #606c76;
  67. color: #fff;
  68. outline: 0;
  69. }
  70. .button[disabled],
  71. button[disabled],
  72. input[type='button'][disabled],
  73. input[type='reset'][disabled],
  74. input[type='submit'][disabled] {
  75. cursor: default;
  76. opacity: .5;
  77. }
  78. .button[disabled]:focus, .button[disabled]:hover,
  79. button[disabled]:focus,
  80. button[disabled]:hover,
  81. input[type='button'][disabled]:focus,
  82. input[type='button'][disabled]:hover,
  83. input[type='reset'][disabled]:focus,
  84. input[type='reset'][disabled]:hover,
  85. input[type='submit'][disabled]:focus,
  86. input[type='submit'][disabled]:hover {
  87. background-color: #9b4dca;
  88. border-color: #9b4dca;
  89. }
  90. .button.button-outline,
  91. button.button-outline,
  92. input[type='button'].button-outline,
  93. input[type='reset'].button-outline,
  94. input[type='submit'].button-outline {
  95. background-color: transparent;
  96. color: #9b4dca;
  97. }
  98. .button.button-outline:focus, .button.button-outline:hover,
  99. button.button-outline:focus,
  100. button.button-outline:hover,
  101. input[type='button'].button-outline:focus,
  102. input[type='button'].button-outline:hover,
  103. input[type='reset'].button-outline:focus,
  104. input[type='reset'].button-outline:hover,
  105. input[type='submit'].button-outline:focus,
  106. input[type='submit'].button-outline:hover {
  107. background-color: transparent;
  108. border-color: #606c76;
  109. color: #606c76;
  110. }
  111. .button.button-outline[disabled]:focus, .button.button-outline[disabled]:hover,
  112. button.button-outline[disabled]:focus,
  113. button.button-outline[disabled]:hover,
  114. input[type='button'].button-outline[disabled]:focus,
  115. input[type='button'].button-outline[disabled]:hover,
  116. input[type='reset'].button-outline[disabled]:focus,
  117. input[type='reset'].button-outline[disabled]:hover,
  118. input[type='submit'].button-outline[disabled]:focus,
  119. input[type='submit'].button-outline[disabled]:hover {
  120. border-color: inherit;
  121. color: #9b4dca;
  122. }
  123. .button.button-clear,
  124. button.button-clear,
  125. input[type='button'].button-clear,
  126. input[type='reset'].button-clear,
  127. input[type='submit'].button-clear {
  128. background-color: transparent;
  129. border-color: transparent;
  130. color: #9b4dca;
  131. }
  132. .button.button-clear:focus, .button.button-clear:hover,
  133. button.button-clear:focus,
  134. button.button-clear:hover,
  135. input[type='button'].button-clear:focus,
  136. input[type='button'].button-clear:hover,
  137. input[type='reset'].button-clear:focus,
  138. input[type='reset'].button-clear:hover,
  139. input[type='submit'].button-clear:focus,
  140. input[type='submit'].button-clear:hover {
  141. background-color: transparent;
  142. border-color: transparent;
  143. color: #606c76;
  144. }
  145. .button.button-clear[disabled]:focus, .button.button-clear[disabled]:hover,
  146. button.button-clear[disabled]:focus,
  147. button.button-clear[disabled]:hover,
  148. input[type='button'].button-clear[disabled]:focus,
  149. input[type='button'].button-clear[disabled]:hover,
  150. input[type='reset'].button-clear[disabled]:focus,
  151. input[type='reset'].button-clear[disabled]:hover,
  152. input[type='submit'].button-clear[disabled]:focus,
  153. input[type='submit'].button-clear[disabled]:hover {
  154. color: #9b4dca;
  155. }
  156. code {
  157. background: #f4f5f6;
  158. border-radius: .4rem;
  159. font-size: 86%;
  160. margin: 0 .2rem;
  161. padding: .2rem .5rem;
  162. white-space: nowrap;
  163. }
  164. pre {
  165. background: #f4f5f6;
  166. border-left: 0.3rem solid #9b4dca;
  167. overflow-y: hidden;
  168. }
  169. pre > code {
  170. border-radius: 0;
  171. display: block;
  172. padding: 1rem 1.5rem;
  173. white-space: pre;
  174. }
  175. hr {
  176. border: 0;
  177. border-top: 0.1rem solid #f4f5f6;
  178. margin: 3.0rem 0;
  179. }
  180. input[type='color'],
  181. input[type='date'],
  182. input[type='datetime'],
  183. input[type='datetime-local'],
  184. input[type='email'],
  185. input[type='month'],
  186. input[type='number'],
  187. input[type='password'],
  188. input[type='search'],
  189. input[type='tel'],
  190. input[type='text'],
  191. input[type='url'],
  192. input[type='week'],
  193. input:not([type]),
  194. textarea,
  195. select {
  196. -webkit-appearance: none;
  197. background-color: transparent;
  198. border: 0.1rem solid #d1d1d1;
  199. border-radius: .4rem;
  200. box-shadow: none;
  201. box-sizing: inherit;
  202. height: 3.8rem;
  203. padding: .6rem 1.0rem .7rem;
  204. width: 100%;
  205. }
  206. input[type='color']:focus,
  207. input[type='date']:focus,
  208. input[type='datetime']:focus,
  209. input[type='datetime-local']:focus,
  210. input[type='email']:focus,
  211. input[type='month']:focus,
  212. input[type='number']:focus,
  213. input[type='password']:focus,
  214. input[type='search']:focus,
  215. input[type='tel']:focus,
  216. input[type='text']:focus,
  217. input[type='url']:focus,
  218. input[type='week']:focus,
  219. input:not([type]):focus,
  220. textarea:focus,
  221. select:focus {
  222. border-color: #9b4dca;
  223. outline: 0;
  224. }
  225. select {
  226. background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="%23d1d1d1" d="M0,0l6,8l6-8"/></svg>') center right no-repeat;
  227. padding-right: 3.0rem;
  228. }
  229. select:focus {
  230. background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="%239b4dca" d="M0,0l6,8l6-8"/></svg>');
  231. }
  232. select[multiple] {
  233. background: none;
  234. height: auto;
  235. }
  236. textarea {
  237. min-height: 6.5rem;
  238. }
  239. label,
  240. legend {
  241. display: block;
  242. font-size: 1.6rem;
  243. font-weight: 700;
  244. margin-bottom: .5rem;
  245. }
  246. fieldset {
  247. border-width: 0;
  248. padding: 0;
  249. }
  250. input[type='checkbox'],
  251. input[type='radio'] {
  252. display: inline;
  253. }
  254. .label-inline {
  255. display: inline-block;
  256. font-weight: normal;
  257. margin-left: .5rem;
  258. }
  259. .container {
  260. margin: 0 auto;
  261. max-width: 112.0rem;
  262. padding: 0 2.0rem;
  263. position: relative;
  264. width: 100%;
  265. }
  266. .row {
  267. display: flex;
  268. flex-direction: column;
  269. padding: 0;
  270. width: 100%;
  271. }
  272. .row.row-no-padding {
  273. padding: 0;
  274. }
  275. .row.row-no-padding > .column {
  276. padding: 0;
  277. }
  278. .row.row-wrap {
  279. flex-wrap: wrap;
  280. }
  281. .row.row-top {
  282. align-items: flex-start;
  283. }
  284. .row.row-bottom {
  285. align-items: flex-end;
  286. }
  287. .row.row-center {
  288. align-items: center;
  289. }
  290. .row.row-stretch {
  291. align-items: stretch;
  292. }
  293. .row.row-baseline {
  294. align-items: baseline;
  295. }
  296. .row .column {
  297. display: block;
  298. flex: 1 1 auto;
  299. margin-left: 0;
  300. max-width: 100%;
  301. width: 100%;
  302. }
  303. .row .column.column-offset-10 {
  304. margin-left: 10%;
  305. }
  306. .row .column.column-offset-20 {
  307. margin-left: 20%;
  308. }
  309. .row .column.column-offset-25 {
  310. margin-left: 25%;
  311. }
  312. .row .column.column-offset-33, .row .column.column-offset-34 {
  313. margin-left: 33.3333%;
  314. }
  315. .row .column.column-offset-40 {
  316. margin-left: 40%;
  317. }
  318. .row .column.column-offset-50 {
  319. margin-left: 50%;
  320. }
  321. .row .column.column-offset-60 {
  322. margin-left: 60%;
  323. }
  324. .row .column.column-offset-66, .row .column.column-offset-67 {
  325. margin-left: 66.6666%;
  326. }
  327. .row .column.column-offset-75 {
  328. margin-left: 75%;
  329. }
  330. .row .column.column-offset-80 {
  331. margin-left: 80%;
  332. }
  333. .row .column.column-offset-90 {
  334. margin-left: 90%;
  335. }
  336. .row .column.column-10 {
  337. flex: 0 0 10%;
  338. max-width: 10%;
  339. }
  340. .row .column.column-20 {
  341. flex: 0 0 20%;
  342. max-width: 20%;
  343. }
  344. .row .column.column-25 {
  345. flex: 0 0 25%;
  346. max-width: 25%;
  347. }
  348. .row .column.column-33, .row .column.column-34 {
  349. flex: 0 0 33.3333%;
  350. max-width: 33.3333%;
  351. }
  352. .row .column.column-40 {
  353. flex: 0 0 40%;
  354. max-width: 40%;
  355. }
  356. .row .column.column-50 {
  357. flex: 0 0 50%;
  358. max-width: 50%;
  359. }
  360. .row .column.column-60 {
  361. flex: 0 0 60%;
  362. max-width: 60%;
  363. }
  364. .row .column.column-66, .row .column.column-67 {
  365. flex: 0 0 66.6666%;
  366. max-width: 66.6666%;
  367. }
  368. .row .column.column-75 {
  369. flex: 0 0 75%;
  370. max-width: 75%;
  371. }
  372. .row .column.column-80 {
  373. flex: 0 0 80%;
  374. max-width: 80%;
  375. }
  376. .row .column.column-90 {
  377. flex: 0 0 90%;
  378. max-width: 90%;
  379. }
  380. .row .column .column-top {
  381. align-self: flex-start;
  382. }
  383. .row .column .column-bottom {
  384. align-self: flex-end;
  385. }
  386. .row .column .column-center {
  387. align-self: center;
  388. }
  389. @media (min-width: 40rem) {
  390. .row {
  391. flex-direction: row;
  392. margin-left: -1.0rem;
  393. width: calc(100% + 2.0rem);
  394. }
  395. .row .column {
  396. margin-bottom: inherit;
  397. padding: 0 1.0rem;
  398. }
  399. }
  400. a {
  401. color: #9b4dca;
  402. text-decoration: none;
  403. }
  404. a:focus, a:hover {
  405. color: #606c76;
  406. }
  407. dl,
  408. ol,
  409. ul {
  410. list-style: none;
  411. margin-top: 0;
  412. padding-left: 0;
  413. }
  414. dl dl,
  415. dl ol,
  416. dl ul,
  417. ol dl,
  418. ol ol,
  419. ol ul,
  420. ul dl,
  421. ul ol,
  422. ul ul {
  423. font-size: 90%;
  424. margin: 1.5rem 0 1.5rem 3.0rem;
  425. }
  426. ol {
  427. list-style: decimal inside;
  428. }
  429. ul {
  430. list-style: circle inside;
  431. }
  432. .button,
  433. button,
  434. dd,
  435. dt,
  436. li {
  437. margin-bottom: 1.0rem;
  438. }
  439. fieldset,
  440. input,
  441. select,
  442. textarea {
  443. margin-bottom: 1.5rem;
  444. }
  445. blockquote,
  446. dl,
  447. figure,
  448. form,
  449. ol,
  450. p,
  451. pre,
  452. table,
  453. ul {
  454. margin-bottom: 2.5rem;
  455. }
  456. table {
  457. border-spacing: 0;
  458. display: block;
  459. overflow-x: auto;
  460. text-align: left;
  461. width: 100%;
  462. }
  463. td,
  464. th {
  465. border-bottom: 0.1rem solid #e1e1e1;
  466. padding: 1.2rem 1.5rem;
  467. }
  468. td:first-child,
  469. th:first-child {
  470. padding-left: 0;
  471. }
  472. td:last-child,
  473. th:last-child {
  474. padding-right: 0;
  475. }
  476. @media (min-width: 40rem) {
  477. table {
  478. display: table;
  479. overflow-x: initial;
  480. }
  481. }
  482. b,
  483. strong {
  484. font-weight: bold;
  485. }
  486. p {
  487. margin-top: 0;
  488. }
  489. h1,
  490. h2,
  491. h3,
  492. h4,
  493. h5,
  494. h6 {
  495. font-weight: 300;
  496. letter-spacing: -.1rem;
  497. margin-bottom: 2.0rem;
  498. margin-top: 0;
  499. }
  500. h1 {
  501. font-size: 4.6rem;
  502. line-height: 1.2;
  503. }
  504. h2 {
  505. font-size: 3.6rem;
  506. line-height: 1.25;
  507. }
  508. h3 {
  509. font-size: 2.8rem;
  510. line-height: 1.3;
  511. }
  512. h4 {
  513. font-size: 2.2rem;
  514. letter-spacing: -.08rem;
  515. line-height: 1.35;
  516. }
  517. h5 {
  518. font-size: 1.8rem;
  519. letter-spacing: -.05rem;
  520. line-height: 1.5;
  521. }
  522. h6 {
  523. font-size: 1.6rem;
  524. letter-spacing: 0;
  525. line-height: 1.4;
  526. }
  527. img {
  528. max-width: 100%;
  529. }
  530. .clearfix:after {
  531. clear: both;
  532. content: ' ';
  533. display: table;
  534. }
  535. .float-left {
  536. float: left;
  537. }
  538. .float-right {
  539. float: right;
  540. }
  541. /*# sourceMappingURL=milligram.css.map */