base.css 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. /*************/
  2. /* Normalize */
  3. /*************/
  4. /*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
  5. /**
  6. * 1. Change the default font family in all browsers (opinionated).
  7. * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
  8. */
  9. html {
  10. font-family: sans-serif; /* 1 */
  11. -ms-text-size-adjust: 100%; /* 2 */
  12. -webkit-text-size-adjust: 100%; /* 2 */
  13. }
  14. /**
  15. * Remove the margin in all browsers (opinionated).
  16. */
  17. body {
  18. margin: 0;
  19. }
  20. /* HTML5 display definitions
  21. ========================================================================== */
  22. /**
  23. * Add the correct display in IE 9-.
  24. * 1. Add the correct display in Edge, IE, and Firefox.
  25. * 2. Add the correct display in IE.
  26. */
  27. article,
  28. aside,
  29. details, /* 1 */
  30. figcaption,
  31. figure,
  32. footer,
  33. header,
  34. main, /* 2 */
  35. menu,
  36. nav,
  37. section,
  38. summary { /* 1 */
  39. display: block;
  40. }
  41. /**
  42. * Add the correct display in IE 9-.
  43. */
  44. audio,
  45. canvas,
  46. progress,
  47. video {
  48. display: inline-block;
  49. }
  50. /**
  51. * Add the correct display in iOS 4-7.
  52. */
  53. audio:not([controls]) {
  54. display: none;
  55. height: 0;
  56. }
  57. /**
  58. * Add the correct vertical alignment in Chrome, Firefox, and Opera.
  59. */
  60. progress {
  61. vertical-align: baseline;
  62. }
  63. /**
  64. * Add the correct display in IE 10-.
  65. * 1. Add the correct display in IE.
  66. */
  67. template, /* 1 */
  68. [hidden] {
  69. display: none;
  70. }
  71. /* Links
  72. ========================================================================== */
  73. /**
  74. * 1. Remove the gray background on active links in IE 10.
  75. * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
  76. */
  77. a {
  78. background-color: transparent; /* 1 */
  79. -webkit-text-decoration-skip: objects; /* 2 */
  80. }
  81. /**
  82. * Remove the outline on focused links when they are also active or hovered
  83. * in all browsers (opinionated).
  84. */
  85. a:active,
  86. a:hover {
  87. outline-width: 0;
  88. }
  89. /* Text-level semantics
  90. ========================================================================== */
  91. /**
  92. * 1. Remove the bottom border in Firefox 39-.
  93. * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
  94. */
  95. abbr[title] {
  96. border-bottom: none; /* 1 */
  97. text-decoration: underline; /* 2 */
  98. text-decoration: underline dotted; /* 2 */
  99. }
  100. /**
  101. * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
  102. */
  103. b,
  104. strong {
  105. font-weight: inherit;
  106. }
  107. /**
  108. * Add the correct font weight in Chrome, Edge, and Safari.
  109. */
  110. b,
  111. strong {
  112. font-weight: bolder;
  113. }
  114. /**
  115. * Add the correct font style in Android 4.3-.
  116. */
  117. dfn {
  118. font-style: italic;
  119. }
  120. /**
  121. * Correct the font size and margin on `h1` elements within `section` and
  122. * `article` contexts in Chrome, Firefox, and Safari.
  123. */
  124. h1 {
  125. font-size: 2em;
  126. margin: 0.67em 0;
  127. }
  128. /**
  129. * Add the correct background and color in IE 9-.
  130. */
  131. mark {
  132. background-color: #ff0;
  133. color: #000;
  134. }
  135. /**
  136. * Add the correct font size in all browsers.
  137. */
  138. small {
  139. font-size: 80%;
  140. }
  141. /**
  142. * Prevent `sub` and `sup` elements from affecting the line height in
  143. * all browsers.
  144. */
  145. sub,
  146. sup {
  147. font-size: 75%;
  148. line-height: 0;
  149. position: relative;
  150. vertical-align: baseline;
  151. }
  152. sub {
  153. bottom: -0.25em;
  154. }
  155. sup {
  156. top: -0.5em;
  157. }
  158. /* Embedded content
  159. ========================================================================== */
  160. /**
  161. * Remove the border on images inside links in IE 10-.
  162. */
  163. img {
  164. border-style: none;
  165. }
  166. /**
  167. * Hide the overflow in IE.
  168. */
  169. svg:not(:root) {
  170. overflow: hidden;
  171. }
  172. /* Grouping content
  173. ========================================================================== */
  174. /**
  175. * 1. Correct the inheritance and scaling of font size in all browsers.
  176. * 2. Correct the odd `em` font sizing in all browsers.
  177. */
  178. code,
  179. kbd,
  180. pre,
  181. samp {
  182. font-family: monospace, monospace; /* 1 */
  183. font-size: 1em; /* 2 */
  184. }
  185. /**
  186. * Add the correct margin in IE 8.
  187. */
  188. figure {
  189. margin: 1em 40px;
  190. }
  191. /**
  192. * 1. Add the correct box sizing in Firefox.
  193. * 2. Show the overflow in Edge and IE.
  194. */
  195. hr {
  196. box-sizing: content-box; /* 1 */
  197. height: 0; /* 1 */
  198. overflow: visible; /* 2 */
  199. }
  200. /* Forms
  201. ========================================================================== */
  202. /**
  203. * 1. Change font properties to `inherit` in all browsers (opinionated).
  204. * 2. Remove the margin in Firefox and Safari.
  205. */
  206. button,
  207. input,
  208. select,
  209. textarea {
  210. font: inherit; /* 1 */
  211. margin: 0; /* 2 */
  212. }
  213. /**
  214. * Restore the font weight unset by the previous rule.
  215. */
  216. optgroup {
  217. font-weight: bold;
  218. }
  219. /**
  220. * Show the overflow in IE.
  221. * 1. Show the overflow in Edge.
  222. */
  223. button,
  224. input { /* 1 */
  225. overflow: visible;
  226. }
  227. /**
  228. * Remove the inheritance of text transform in Edge, Firefox, and IE.
  229. * 1. Remove the inheritance of text transform in Firefox.
  230. */
  231. button,
  232. select { /* 1 */
  233. text-transform: none;
  234. }
  235. /**
  236. * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
  237. * controls in Android 4.
  238. * 2. Correct the inability to style clickable types in iOS and Safari.
  239. */
  240. button,
  241. html [type="button"], /* 1 */
  242. [type="reset"],
  243. [type="submit"] {
  244. -webkit-appearance: button; /* 2 */
  245. }
  246. /**
  247. * Remove the inner border and padding in Firefox.
  248. */
  249. button::-moz-focus-inner,
  250. [type="button"]::-moz-focus-inner,
  251. [type="reset"]::-moz-focus-inner,
  252. [type="submit"]::-moz-focus-inner {
  253. border-style: none;
  254. padding: 0;
  255. }
  256. /**
  257. * Restore the focus styles unset by the previous rule.
  258. */
  259. button:-moz-focusring,
  260. [type="button"]:-moz-focusring,
  261. [type="reset"]:-moz-focusring,
  262. [type="submit"]:-moz-focusring {
  263. outline: 1px dotted ButtonText;
  264. }
  265. /**
  266. * Change the border, margin, and padding in all browsers (opinionated).
  267. */
  268. fieldset {
  269. border: 1px solid #c0c0c0;
  270. margin: 0 2px;
  271. padding: 0.35em 0.625em 0.75em;
  272. }
  273. /**
  274. * 1. Correct the text wrapping in Edge and IE.
  275. * 2. Correct the color inheritance from `fieldset` elements in IE.
  276. * 3. Remove the padding so developers are not caught out when they zero out
  277. * `fieldset` elements in all browsers.
  278. */
  279. legend {
  280. box-sizing: border-box; /* 1 */
  281. color: inherit; /* 2 */
  282. display: table; /* 1 */
  283. max-width: 100%; /* 1 */
  284. padding: 0; /* 3 */
  285. white-space: normal; /* 1 */
  286. }
  287. /**
  288. * Remove the default vertical scrollbar in IE.
  289. */
  290. textarea {
  291. overflow: auto;
  292. }
  293. /**
  294. * 1. Add the correct box sizing in IE 10-.
  295. * 2. Remove the padding in IE 10-.
  296. */
  297. [type="checkbox"],
  298. [type="radio"] {
  299. box-sizing: border-box; /* 1 */
  300. padding: 0; /* 2 */
  301. }
  302. /**
  303. * Correct the cursor style of increment and decrement buttons in Chrome.
  304. */
  305. [type="number"]::-webkit-inner-spin-button,
  306. [type="number"]::-webkit-outer-spin-button {
  307. height: auto;
  308. }
  309. /**
  310. * 1. Correct the odd appearance in Chrome and Safari.
  311. * 2. Correct the outline style in Safari.
  312. */
  313. [type="search"] {
  314. -webkit-appearance: textfield; /* 1 */
  315. outline-offset: -2px; /* 2 */
  316. }
  317. /**
  318. * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
  319. */
  320. [type="search"]::-webkit-search-cancel-button,
  321. [type="search"]::-webkit-search-decoration {
  322. -webkit-appearance: none;
  323. }
  324. /**
  325. * Correct the text style of placeholders in Chrome, Edge, and Safari.
  326. */
  327. ::-webkit-input-placeholder {
  328. color: inherit;
  329. opacity: 0.54;
  330. }
  331. /**
  332. * 1. Correct the inability to style clickable types in iOS and Safari.
  333. * 2. Change font properties to `inherit` in Safari.
  334. */
  335. ::-webkit-file-upload-button {
  336. -webkit-appearance: button; /* 1 */
  337. font: inherit; /* 2 */
  338. }
  339. /*******************/
  340. /* Grid / Skeleton */
  341. /*******************/
  342. .container {
  343. position: relative;
  344. width: 100%;
  345. max-width: 960px;
  346. margin: 0 auto;
  347. padding: 0 20px;
  348. box-sizing: border-box; }
  349. .column,
  350. .columns {
  351. width: 100%;
  352. float: left;
  353. box-sizing: border-box; }
  354. /* For devices larger than 400px */
  355. @media (min-width: 400px) {
  356. .container {
  357. width: 85%;
  358. padding: 0; }
  359. }
  360. /* For devices larger than 550px */
  361. @media (min-width: 550px) {
  362. .container {
  363. width: 80%; }
  364. .column,
  365. .columns {
  366. margin-left: 4%; }
  367. .column:first-child,
  368. .columns:first-child {
  369. margin-left: 0; }
  370. .one.column,
  371. .one.columns { width: 4.66666666667%; }
  372. .two.columns { width: 13.3333333333%; }
  373. .three.columns { width: 22%; }
  374. .four.columns { width: 30.6666666667%; }
  375. .five.columns { width: 39.3333333333%; }
  376. .six.columns { width: 48%; }
  377. .seven.columns { width: 56.6666666667%; }
  378. .eight.columns { width: 65.3333333333%; }
  379. .nine.columns { width: 74.0%; }
  380. .ten.columns { width: 82.6666666667%; }
  381. .eleven.columns { width: 91.3333333333%; }
  382. .twelve.columns { width: 100%; margin-left: 0; }
  383. .one-third.column { width: 30.6666666667%; }
  384. .two-thirds.column { width: 65.3333333333%; }
  385. .one-half.column { width: 48%; }
  386. /* Offsets */
  387. .offset-by-one.column,
  388. .offset-by-one.columns { margin-left: 8.66666666667%; }
  389. .offset-by-two.column,
  390. .offset-by-two.columns { margin-left: 17.3333333333%; }
  391. .offset-by-three.column,
  392. .offset-by-three.columns { margin-left: 26%; }
  393. .offset-by-four.column,
  394. .offset-by-four.columns { margin-left: 34.6666666667%; }
  395. .offset-by-five.column,
  396. .offset-by-five.columns { margin-left: 43.3333333333%; }
  397. .offset-by-six.column,
  398. .offset-by-six.columns { margin-left: 52%; }
  399. .offset-by-seven.column,
  400. .offset-by-seven.columns { margin-left: 60.6666666667%; }
  401. .offset-by-eight.column,
  402. .offset-by-eight.columns { margin-left: 69.3333333333%; }
  403. .offset-by-nine.column,
  404. .offset-by-nine.columns { margin-left: 78.0%; }
  405. .offset-by-ten.column,
  406. .offset-by-ten.columns { margin-left: 86.6666666667%; }
  407. .offset-by-eleven.column,
  408. .offset-by-eleven.columns { margin-left: 95.3333333333%; }
  409. .offset-by-one-third.column,
  410. .offset-by-one-third.columns { margin-left: 34.6666666667%; }
  411. .offset-by-two-thirds.column,
  412. .offset-by-two-thirds.columns { margin-left: 69.3333333333%; }
  413. .offset-by-one-half.column,
  414. .offset-by-one-half.columns { margin-left: 52%; }
  415. }
  416. html {
  417. font-size: 62.5%; }
  418. body {
  419. font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
  420. line-height: 1.6;
  421. font-weight: 400;
  422. color: #222; }
  423. h1, h2, h3, h4, h5, h6 {
  424. margin-top: 0;
  425. margin-bottom: 2rem; }
  426. h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
  427. h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
  428. h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
  429. h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
  430. h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
  431. h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
  432. /* Larger than phablet */
  433. @media (min-width: 550px) {
  434. h1 { font-size: 5.0rem; }
  435. h2 { font-size: 4.2rem; }
  436. h3 { font-size: 3.6rem; }
  437. h4 { font-size: 3.0rem; }
  438. h5 { font-size: 2.4rem; }
  439. h6 { font-size: 1.5rem; }
  440. }
  441. p {
  442. margin-top: 0; }
  443. ul {
  444. list-style: circle inside; }
  445. ol {
  446. list-style: decimal inside; }
  447. ol, ul {
  448. padding-left: 0;
  449. margin-top: 0; }
  450. ul ul,
  451. ul ol,
  452. ol ol,
  453. ol ul {
  454. margin: 1.5rem 0 1.5rem 3rem;
  455. font-size: 90%; }
  456. li {
  457. margin-bottom: 1rem; }
  458. code {
  459. padding: .2rem .5rem;
  460. margin: 0 .2rem;
  461. font-size: 90%;
  462. white-space: nowrap;
  463. background: #F1F1F1;
  464. border: 1px solid #E1E1E1;
  465. border-radius: 4px; }
  466. pre > code {
  467. display: block;
  468. padding: 1rem 1.5rem;
  469. white-space: pre; }
  470. hr {
  471. margin-top: 3rem;
  472. margin-bottom: 3.5rem;
  473. border-width: 0;
  474. border-top: 1px solid #E1E1E1; }
  475. pre,
  476. blockquote,
  477. dl,
  478. figure,
  479. table,
  480. p,
  481. ul,
  482. ol,
  483. form {
  484. margin-bottom: 2.5rem; }
  485. .container:after,
  486. .row:after {
  487. content: "";
  488. display: table;
  489. clear: both; }
  490. /**********/
  491. /* Syntax */
  492. /**********/
  493. /* Solarized Dark
  494. For use with Jekyll and Pygments
  495. http://ethanschoonover.com/solarized
  496. SOLARIZED HEX ROLE
  497. --------- -------- ------------------------------------------
  498. base03 #002b36 background
  499. base01 #586e75 comments / secondary content
  500. base1 #93a1a1 body text / default code / primary content
  501. orange #cb4b16 constants
  502. red #dc322f regex, special keywords
  503. blue #268bd2 reserved keywords
  504. cyan #2aa198 strings, numbers
  505. green #859900 operators, other keywords
  506. */
  507. .highlight { background-color: #002b36; color: #93a1a1 }
  508. .highlight .c { color: #586e75 } /* Comment */
  509. .highlight .err { color: #93a1a1 } /* Error */
  510. .highlight .g { color: #93a1a1 } /* Generic */
  511. .highlight .k { color: #859900 } /* Keyword */
  512. .highlight .l { color: #93a1a1 } /* Literal */
  513. .highlight .n { color: #93a1a1 } /* Name */
  514. .highlight .o { color: #859900 } /* Operator */
  515. .highlight .x { color: #cb4b16 } /* Other */
  516. .highlight .p { color: #93a1a1 } /* Punctuation */
  517. .highlight .cm { color: #586e75 } /* Comment.Multiline */
  518. .highlight .cp { color: #859900 } /* Comment.Preproc */
  519. .highlight .c1 { color: #586e75 } /* Comment.Single */
  520. .highlight .cs { color: #859900 } /* Comment.Special */
  521. .highlight .gd { color: #2aa198 } /* Generic.Deleted */
  522. .highlight .ge { color: #93a1a1; font-style: italic } /* Generic.Emph */
  523. .highlight .gr { color: #dc322f } /* Generic.Error */
  524. .highlight .gh { color: #cb4b16 } /* Generic.Heading */
  525. .highlight .gi { color: #859900 } /* Generic.Inserted */
  526. .highlight .go { color: #93a1a1 } /* Generic.Output */
  527. .highlight .gp { color: #93a1a1 } /* Generic.Prompt */
  528. .highlight .gs { color: #93a1a1; font-weight: bold } /* Generic.Strong */
  529. .highlight .gu { color: #cb4b16 } /* Generic.Subheading */
  530. .highlight .gt { color: #93a1a1 } /* Generic.Traceback */
  531. .highlight .kc { color: #cb4b16 } /* Keyword.Constant */
  532. .highlight .kd { color: #268bd2 } /* Keyword.Declaration */
  533. .highlight .kn { color: #859900 } /* Keyword.Namespace */
  534. .highlight .kp { color: #859900 } /* Keyword.Pseudo */
  535. .highlight .kr { color: #268bd2 } /* Keyword.Reserved */
  536. .highlight .kt { color: #dc322f } /* Keyword.Type */
  537. .highlight .ld { color: #93a1a1 } /* Literal.Date */
  538. .highlight .m { color: #2aa198 } /* Literal.Number */
  539. .highlight .s { color: #2aa198 } /* Literal.String */
  540. .highlight .na { color: #93a1a1 } /* Name.Attribute */
  541. .highlight .nb { color: #B58900 } /* Name.Builtin */
  542. .highlight .nc { color: #268bd2 } /* Name.Class */
  543. .highlight .no { color: #cb4b16 } /* Name.Constant */
  544. .highlight .nd { color: #268bd2 } /* Name.Decorator */
  545. .highlight .ni { color: #cb4b16 } /* Name.Entity */
  546. .highlight .ne { color: #cb4b16 } /* Name.Exception */
  547. .highlight .nf { color: #268bd2 } /* Name.Function */
  548. .highlight .nl { color: #93a1a1 } /* Name.Label */
  549. .highlight .nn { color: #93a1a1 } /* Name.Namespace */
  550. .highlight .nx { color: #93a1a1 } /* Name.Other */
  551. .highlight .py { color: #93a1a1 } /* Name.Property */
  552. .highlight .nt { color: #268bd2 } /* Name.Tag */
  553. .highlight .nv { color: #268bd2 } /* Name.Variable */
  554. .highlight .ow { color: #859900 } /* Operator.Word */
  555. .highlight .w { color: #93a1a1 } /* Text.Whitespace */
  556. .highlight .mf { color: #2aa198 } /* Literal.Number.Float */
  557. .highlight .mh { color: #2aa198 } /* Literal.Number.Hex */
  558. .highlight .mi { color: #2aa198 } /* Literal.Number.Integer */
  559. .highlight .mo { color: #2aa198 } /* Literal.Number.Oct */
  560. .highlight .sb { color: #586e75 } /* Literal.String.Backtick */
  561. .highlight .sc { color: #2aa198 } /* Literal.String.Char */
  562. .highlight .sd { color: #93a1a1 } /* Literal.String.Doc */
  563. .highlight .s2 { color: #2aa198 } /* Literal.String.Double */
  564. .highlight .se { color: #cb4b16 } /* Literal.String.Escape */
  565. .highlight .sh { color: #93a1a1 } /* Literal.String.Heredoc */
  566. .highlight .si { color: #2aa198 } /* Literal.String.Interpol */
  567. .highlight .sx { color: #2aa198 } /* Literal.String.Other */
  568. .highlight .sr { color: #dc322f } /* Literal.String.Regex */
  569. .highlight .s1 { color: #2aa198 } /* Literal.String.Single */
  570. .highlight .ss { color: #2aa198 } /* Literal.String.Symbol */
  571. .highlight .bp { color: #268bd2 } /* Name.Builtin.Pseudo */
  572. .highlight .vc { color: #268bd2 } /* Name.Variable.Class */
  573. .highlight .vg { color: #268bd2 } /* Name.Variable.Global */
  574. .highlight .vi { color: #268bd2 } /* Name.Variable.Instance */
  575. .highlight .il { color: #2aa198 } /* Literal.Number.Integer.Long */