style.css 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221
  1. body {
  2. width: 100%;
  3. }
  4. body:before,
  5. body:after {
  6. content: "";
  7. display: table;
  8. }
  9. body:after {
  10. clear: both;
  11. }
  12. html,
  13. body,
  14. div,
  15. span,
  16. applet,
  17. object,
  18. iframe,
  19. h1,
  20. h2,
  21. h3,
  22. h4,
  23. h5,
  24. h6,
  25. p,
  26. blockquote,
  27. pre,
  28. a,
  29. abbr,
  30. acronym,
  31. address,
  32. big,
  33. cite,
  34. code,
  35. del,
  36. dfn,
  37. em,
  38. img,
  39. ins,
  40. kbd,
  41. q,
  42. s,
  43. samp,
  44. small,
  45. strike,
  46. strong,
  47. sub,
  48. sup,
  49. tt,
  50. var,
  51. dl,
  52. dt,
  53. dd,
  54. ol,
  55. ul,
  56. li,
  57. fieldset,
  58. form,
  59. label,
  60. legend,
  61. table,
  62. caption,
  63. tbody,
  64. tfoot,
  65. thead,
  66. tr,
  67. th,
  68. td {
  69. margin: 0;
  70. padding: 0;
  71. border: 0;
  72. outline: 0;
  73. font-weight: inherit;
  74. font-style: inherit;
  75. font-family: inherit;
  76. font-size: 100%;
  77. vertical-align: baseline;
  78. }
  79. body {
  80. line-height: 1;
  81. color: #000;
  82. background: #fff;
  83. }
  84. ol,
  85. ul {
  86. list-style: none;
  87. }
  88. table {
  89. border-collapse: separate;
  90. border-spacing: 0;
  91. vertical-align: middle;
  92. }
  93. caption,
  94. th,
  95. td {
  96. text-align: left;
  97. font-weight: normal;
  98. vertical-align: middle;
  99. }
  100. a img {
  101. border: none;
  102. }
  103. input,
  104. button {
  105. margin: 0;
  106. padding: 0;
  107. }
  108. input::-moz-focus-inner,
  109. button::-moz-focus-inner {
  110. border: 0;
  111. padding: 0;
  112. }
  113. @font-face {
  114. font-family: FontAwesome;
  115. font-style: normal;
  116. font-weight: normal;
  117. src: url("fonts/fontawesome-webfont.eot?v=#4.0.3");
  118. src: url("fonts/fontawesome-webfont.eot?#iefix&v=#4.0.3") format("embedded-opentype"), url("fonts/fontawesome-webfont.woff?v=#4.0.3") format("woff"), url("fonts/fontawesome-webfont.ttf?v=#4.0.3") format("truetype"), url("fonts/fontawesome-webfont.svg#fontawesomeregular?v=#4.0.3") format("svg");
  119. }
  120. html,
  121. body,
  122. #container {
  123. height: 100%;
  124. }
  125. body {
  126. background: #eee;
  127. font: 14px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  128. -webkit-text-size-adjust: 100%;
  129. }
  130. .outer {
  131. max-width: 920px;
  132. margin: 0 auto;
  133. padding: 0 20px;
  134. }
  135. .outer:before,
  136. .outer:after {
  137. content: "";
  138. display: table;
  139. }
  140. .outer:after {
  141. clear: both;
  142. }
  143. .inner {
  144. display: inline;
  145. float: left;
  146. width: 97.77777777777777%;
  147. margin: 0 1.111111111111111%;
  148. }
  149. .left,
  150. .alignleft {
  151. float: left;
  152. }
  153. .right,
  154. .alignright {
  155. float: right;
  156. }
  157. .clear {
  158. clear: both;
  159. }
  160. #container {
  161. position: relative;
  162. }
  163. .mobile-nav-on {
  164. overflow: hidden;
  165. }
  166. #wrap {
  167. height: 100%;
  168. width: 100%;
  169. position: absolute;
  170. top: 0;
  171. left: 0;
  172. transition: 0.2s ease-out;
  173. z-index: 1;
  174. background: #eee;
  175. }
  176. .mobile-nav-on #wrap {
  177. left: 280px;
  178. }
  179. .article-date,
  180. .article-category-link,
  181. .archive-year {
  182. text-decoration: none;
  183. text-transform: uppercase;
  184. letter-spacing: 2px;
  185. color: #999;
  186. margin-bottom: 1em;
  187. margin-left: 5px;
  188. line-height: 1em;
  189. text-shadow: 0 1px #fff;
  190. font-weight: bold;
  191. }
  192. .article-inner,
  193. .archive-article-inner {
  194. background: #fff;
  195. box-shadow: 1px 2px 3px #ddd;
  196. border: 1px solid #ddd;
  197. border-radius: 3px;
  198. }
  199. .article-entry h1 {
  200. font-size: 2em;
  201. }
  202. .article-entry h2 {
  203. font-size: 1.5em;
  204. }
  205. .article-entry h3 {
  206. font-size: 1.3em;
  207. }
  208. .article-entry h4 {
  209. font-size: 1.2em;
  210. }
  211. .article-entry h5 {
  212. font-size: 1em;
  213. }
  214. .article-entry h6 {
  215. font-size: 1em;
  216. color: #999;
  217. }
  218. .article-entry hr {
  219. border: 1px dashed #ddd;
  220. }
  221. .article-entry strong {
  222. font-weight: bold;
  223. }
  224. .article-entry em,
  225. .article-entry cite {
  226. font-style: italic;
  227. }
  228. .article-entry sup,
  229. .article-entry sub {
  230. font-size: 0.75em;
  231. line-height: 0;
  232. position: relative;
  233. vertical-align: baseline;
  234. }
  235. .article-entry sup {
  236. top: -0.5em;
  237. }
  238. .article-entry sub {
  239. bottom: -0.2em;
  240. }
  241. .article-entry small {
  242. font-size: 0.85em;
  243. }
  244. .article-entry acronym,
  245. .article-entry abbr {
  246. border-bottom: 1px dotted;
  247. }
  248. .article-entry ul,
  249. .article-entry ol,
  250. .article-entry dl {
  251. margin: 0 20px;
  252. line-height: 1.6em;
  253. }
  254. .article-entry ul ul,
  255. .article-entry ol ul,
  256. .article-entry ul ol,
  257. .article-entry ol ol {
  258. margin-top: 0;
  259. margin-bottom: 0;
  260. }
  261. .article-entry ul {
  262. list-style: disc;
  263. }
  264. .article-entry ol {
  265. list-style: decimal;
  266. }
  267. .article-entry dt {
  268. font-weight: bold;
  269. }
  270. #header {
  271. height: 300px;
  272. position: relative;
  273. border-bottom: 1px solid #ddd;
  274. }
  275. #header:before,
  276. #header:after {
  277. content: "";
  278. position: absolute;
  279. left: 0;
  280. right: 0;
  281. height: 40px;
  282. }
  283. #header:before {
  284. top: 0;
  285. background: linear-gradient(rgba(0,0,0,0.2), transparent);
  286. }
  287. #header:after {
  288. bottom: 0;
  289. background: linear-gradient(transparent, rgba(0,0,0,0.2));
  290. }
  291. #header-outer {
  292. height: 100%;
  293. position: relative;
  294. }
  295. #header-inner {
  296. position: relative;
  297. overflow: hidden;
  298. }
  299. #banner {
  300. position: absolute;
  301. top: 0;
  302. left: 0;
  303. width: 100%;
  304. height: 100%;
  305. background: url("images/banner.jpg") center #000;
  306. background-size: cover;
  307. z-index: -1;
  308. }
  309. #header-title {
  310. text-align: center;
  311. height: 40px;
  312. position: absolute;
  313. top: 50%;
  314. left: 0;
  315. margin-top: -20px;
  316. }
  317. #logo,
  318. #subtitle {
  319. text-decoration: none;
  320. color: #fff;
  321. font-weight: 300;
  322. text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  323. }
  324. #logo {
  325. font-size: 40px;
  326. line-height: 40px;
  327. letter-spacing: 2px;
  328. }
  329. #subtitle {
  330. font-size: 16px;
  331. line-height: 16px;
  332. letter-spacing: 1px;
  333. }
  334. #subtitle-wrap {
  335. margin-top: 16px;
  336. }
  337. #main-nav {
  338. float: left;
  339. margin-left: -15px;
  340. }
  341. .nav-icon,
  342. .main-nav-link {
  343. float: left;
  344. color: #fff;
  345. opacity: 0.6;
  346. text-decoration: none;
  347. text-shadow: 0 1px rgba(0,0,0,0.2);
  348. transition: opacity 0.2s;
  349. display: block;
  350. padding: 20px 15px;
  351. }
  352. .nav-icon:hover,
  353. .main-nav-link:hover {
  354. opacity: 1;
  355. }
  356. .nav-icon {
  357. font-family: FontAwesome;
  358. text-align: center;
  359. font-size: 14px;
  360. width: 14px;
  361. height: 14px;
  362. padding: 20px 15px;
  363. position: relative;
  364. cursor: pointer;
  365. }
  366. .main-nav-link {
  367. font-weight: 300;
  368. letter-spacing: 1px;
  369. }
  370. @media screen and (max-width: 479px) {
  371. .main-nav-link {
  372. display: none;
  373. }
  374. }
  375. #main-nav-toggle {
  376. display: none;
  377. }
  378. #main-nav-toggle:before {
  379. content: "\f0c9";
  380. }
  381. @media screen and (max-width: 479px) {
  382. #main-nav-toggle {
  383. display: block;
  384. }
  385. }
  386. #sub-nav {
  387. float: right;
  388. margin-right: -15px;
  389. }
  390. #nav-rss-link:before {
  391. content: "\f09e";
  392. }
  393. #nav-search-btn:before {
  394. content: "\f002";
  395. }
  396. #search-form-wrap {
  397. position: absolute;
  398. top: 15px;
  399. width: 150px;
  400. height: 30px;
  401. right: -150px;
  402. opacity: 0;
  403. transition: 0.2s ease-out;
  404. }
  405. #search-form-wrap.on {
  406. opacity: 1;
  407. right: 0;
  408. }
  409. @media screen and (max-width: 479px) {
  410. #search-form-wrap {
  411. width: 100%;
  412. right: -100%;
  413. }
  414. }
  415. .search-form {
  416. position: absolute;
  417. top: 0;
  418. left: 0;
  419. right: 0;
  420. background: #fff;
  421. padding: 5px 15px;
  422. border-radius: 15px;
  423. box-shadow: 0 0 10px rgba(0,0,0,0.3);
  424. }
  425. .search-form-input {
  426. border: none;
  427. background: none;
  428. color: #555;
  429. width: 100%;
  430. font: 13px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  431. outline: none;
  432. }
  433. .search-form-input::-webkit-search-results-decoration,
  434. .search-form-input::-webkit-search-cancel-button {
  435. -webkit-appearance: none;
  436. }
  437. .search-form-submit {
  438. position: absolute;
  439. top: 50%;
  440. right: 10px;
  441. margin-top: -7px;
  442. font: 13px FontAwesome;
  443. border: none;
  444. background: none;
  445. color: #bbb;
  446. cursor: pointer;
  447. }
  448. .search-form-submit:hover,
  449. .search-form-submit:focus {
  450. color: #777;
  451. }
  452. .article {
  453. margin: 50px 0;
  454. }
  455. .article-inner {
  456. overflow: hidden;
  457. }
  458. .article-meta:before,
  459. .article-meta:after {
  460. content: "";
  461. display: table;
  462. }
  463. .article-meta:after {
  464. clear: both;
  465. }
  466. .article-date {
  467. float: left;
  468. }
  469. .article-category {
  470. float: left;
  471. line-height: 1em;
  472. color: #ccc;
  473. text-shadow: 0 1px #fff;
  474. margin-left: 8px;
  475. }
  476. .article-category:before {
  477. content: "\2022";
  478. }
  479. .article-category-link {
  480. margin: 0 12px 1em;
  481. }
  482. .article-header {
  483. padding: 20px 20px 0;
  484. }
  485. .article-title {
  486. text-decoration: none;
  487. font-size: 2em;
  488. font-weight: bold;
  489. color: #555;
  490. line-height: 1.1em;
  491. transition: color 0.2s;
  492. }
  493. a.article-title:hover {
  494. color: #258fb8;
  495. }
  496. .article-entry {
  497. color: #555;
  498. padding: 0 20px;
  499. }
  500. .article-entry:before,
  501. .article-entry:after {
  502. content: "";
  503. display: table;
  504. }
  505. .article-entry:after {
  506. clear: both;
  507. }
  508. .article-entry p,
  509. .article-entry table {
  510. line-height: 1.6em;
  511. margin: 1.6em 0;
  512. }
  513. .article-entry h1,
  514. .article-entry h2,
  515. .article-entry h3,
  516. .article-entry h4,
  517. .article-entry h5,
  518. .article-entry h6 {
  519. font-weight: bold;
  520. }
  521. .article-entry h1,
  522. .article-entry h2,
  523. .article-entry h3,
  524. .article-entry h4,
  525. .article-entry h5,
  526. .article-entry h6 {
  527. line-height: 1.1em;
  528. margin: 1.1em 0;
  529. }
  530. .article-entry a {
  531. color: #258fb8;
  532. text-decoration: none;
  533. }
  534. .article-entry a:hover {
  535. text-decoration: underline;
  536. }
  537. .article-entry ul,
  538. .article-entry ol,
  539. .article-entry dl {
  540. margin-top: 1.6em;
  541. margin-bottom: 1.6em;
  542. }
  543. .article-entry img,
  544. .article-entry video {
  545. max-width: 100%;
  546. height: auto;
  547. display: block;
  548. margin: auto;
  549. }
  550. .article-entry iframe {
  551. border: none;
  552. }
  553. .article-entry table {
  554. width: 100%;
  555. border-collapse: collapse;
  556. border-spacing: 0;
  557. }
  558. .article-entry th {
  559. font-weight: bold;
  560. border-bottom: 3px solid #ddd;
  561. padding-bottom: 0.5em;
  562. }
  563. .article-entry td {
  564. border-bottom: 1px solid #ddd;
  565. padding: 10px 0;
  566. }
  567. .article-entry blockquote {
  568. font-family: Georgia, "Times New Roman", serif;
  569. font-size: 1.4em;
  570. margin: 1.6em 20px;
  571. text-align: center;
  572. }
  573. .article-entry blockquote footer {
  574. font-size: 14px;
  575. margin: 1.6em 0;
  576. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  577. }
  578. .article-entry blockquote footer cite:before {
  579. content: "—";
  580. padding: 0 0.5em;
  581. }
  582. .article-entry .pullquote {
  583. text-align: left;
  584. width: 45%;
  585. margin: 0;
  586. }
  587. .article-entry .pullquote.left {
  588. margin-left: 0.5em;
  589. margin-right: 1em;
  590. }
  591. .article-entry .pullquote.right {
  592. margin-right: 0.5em;
  593. margin-left: 1em;
  594. }
  595. .article-entry .caption {
  596. color: #999;
  597. display: block;
  598. font-size: 0.9em;
  599. margin-top: 0.5em;
  600. position: relative;
  601. text-align: center;
  602. }
  603. .article-entry .video-container {
  604. position: relative;
  605. padding-top: 56.25%;
  606. height: 0;
  607. overflow: hidden;
  608. }
  609. .article-entry .video-container iframe,
  610. .article-entry .video-container object,
  611. .article-entry .video-container embed {
  612. position: absolute;
  613. top: 0;
  614. left: 0;
  615. width: 100%;
  616. height: 100%;
  617. margin-top: 0;
  618. }
  619. .article-more-link a {
  620. display: inline-block;
  621. line-height: 1em;
  622. padding: 6px 15px;
  623. border-radius: 15px;
  624. background: #eee;
  625. color: #999;
  626. text-shadow: 0 1px #fff;
  627. text-decoration: none;
  628. }
  629. .article-more-link a:hover {
  630. background: #258fb8;
  631. color: #fff;
  632. text-decoration: none;
  633. text-shadow: 0 1px #1e7293;
  634. }
  635. .article-footer {
  636. font-size: 0.85em;
  637. line-height: 1.6em;
  638. border-top: 1px solid #ddd;
  639. padding-top: 1.6em;
  640. margin: 0 20px 20px;
  641. }
  642. .article-footer:before,
  643. .article-footer:after {
  644. content: "";
  645. display: table;
  646. }
  647. .article-footer:after {
  648. clear: both;
  649. }
  650. .article-footer a {
  651. color: #999;
  652. text-decoration: none;
  653. }
  654. .article-footer a:hover {
  655. color: #555;
  656. }
  657. .article-tag-list-item {
  658. float: left;
  659. margin-right: 10px;
  660. }
  661. .article-tag-list-link:before {
  662. content: "#";
  663. }
  664. .article-comment-link {
  665. float: right;
  666. }
  667. .article-comment-link:before {
  668. content: "\f075";
  669. font-family: FontAwesome;
  670. padding-right: 8px;
  671. }
  672. .article-share-link {
  673. cursor: pointer;
  674. float: right;
  675. margin-left: 20px;
  676. }
  677. .article-share-link:before {
  678. content: "\f064";
  679. font-family: FontAwesome;
  680. padding-right: 6px;
  681. }
  682. #article-nav {
  683. position: relative;
  684. }
  685. #article-nav:before,
  686. #article-nav:after {
  687. content: "";
  688. display: table;
  689. }
  690. #article-nav:after {
  691. clear: both;
  692. }
  693. @media screen and (min-width: 768px) {
  694. #article-nav {
  695. margin: 50px 0;
  696. }
  697. #article-nav:before {
  698. width: 8px;
  699. height: 8px;
  700. position: absolute;
  701. top: 50%;
  702. left: 50%;
  703. margin-top: -4px;
  704. margin-left: -4px;
  705. content: "";
  706. border-radius: 50%;
  707. background: #ddd;
  708. box-shadow: 0 1px 2px #fff;
  709. }
  710. }
  711. .article-nav-link-wrap {
  712. text-decoration: none;
  713. text-shadow: 0 1px #fff;
  714. color: #999;
  715. box-sizing: border-box;
  716. margin-top: 50px;
  717. text-align: center;
  718. display: block;
  719. }
  720. .article-nav-link-wrap:hover {
  721. color: #555;
  722. }
  723. @media screen and (min-width: 768px) {
  724. .article-nav-link-wrap {
  725. width: 50%;
  726. margin-top: 0;
  727. }
  728. }
  729. @media screen and (min-width: 768px) {
  730. #article-nav-newer {
  731. float: left;
  732. text-align: right;
  733. padding-right: 20px;
  734. }
  735. }
  736. @media screen and (min-width: 768px) {
  737. #article-nav-older {
  738. float: right;
  739. text-align: left;
  740. padding-left: 20px;
  741. }
  742. }
  743. .article-nav-caption {
  744. text-transform: uppercase;
  745. letter-spacing: 2px;
  746. color: #ddd;
  747. line-height: 1em;
  748. font-weight: bold;
  749. }
  750. #article-nav-newer .article-nav-caption {
  751. margin-right: -2px;
  752. }
  753. .article-nav-title {
  754. font-size: 0.85em;
  755. line-height: 1.6em;
  756. margin-top: 0.5em;
  757. }
  758. .article-share-box {
  759. position: absolute;
  760. display: none;
  761. background: #fff;
  762. box-shadow: 1px 2px 10px rgba(0,0,0,0.2);
  763. border-radius: 3px;
  764. margin-left: -145px;
  765. overflow: hidden;
  766. z-index: 1;
  767. }
  768. .article-share-box.on {
  769. display: block;
  770. }
  771. .article-share-input {
  772. width: 100%;
  773. background: none;
  774. box-sizing: border-box;
  775. font: 14px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  776. padding: 0 15px;
  777. color: #555;
  778. outline: none;
  779. border: 1px solid #ddd;
  780. border-radius: 3px 3px 0 0;
  781. height: 36px;
  782. line-height: 36px;
  783. }
  784. .article-share-links {
  785. background: #eee;
  786. }
  787. .article-share-links:before,
  788. .article-share-links:after {
  789. content: "";
  790. display: table;
  791. }
  792. .article-share-links:after {
  793. clear: both;
  794. }
  795. .article-share-twitter,
  796. .article-share-facebook,
  797. .article-share-pinterest,
  798. .article-share-google {
  799. width: 50px;
  800. height: 36px;
  801. display: block;
  802. float: left;
  803. position: relative;
  804. color: #999;
  805. text-shadow: 0 1px #fff;
  806. }
  807. .article-share-twitter:before,
  808. .article-share-facebook:before,
  809. .article-share-pinterest:before,
  810. .article-share-google:before {
  811. font-size: 20px;
  812. font-family: FontAwesome;
  813. width: 20px;
  814. height: 20px;
  815. position: absolute;
  816. top: 50%;
  817. left: 50%;
  818. margin-top: -10px;
  819. margin-left: -10px;
  820. text-align: center;
  821. }
  822. .article-share-twitter:hover,
  823. .article-share-facebook:hover,
  824. .article-share-pinterest:hover,
  825. .article-share-google:hover {
  826. color: #fff;
  827. }
  828. .article-share-twitter:before {
  829. content: "\f099";
  830. }
  831. .article-share-twitter:hover {
  832. background: #00aced;
  833. text-shadow: 0 1px #008abe;
  834. }
  835. .article-share-facebook:before {
  836. content: "\f09a";
  837. }
  838. .article-share-facebook:hover {
  839. background: #3b5998;
  840. text-shadow: 0 1px #2f477a;
  841. }
  842. .article-share-pinterest:before {
  843. content: "\f0d2";
  844. }
  845. .article-share-pinterest:hover {
  846. background: #cb2027;
  847. text-shadow: 0 1px #a21a1f;
  848. }
  849. .article-share-google:before {
  850. content: "\f0d5";
  851. }
  852. .article-share-google:hover {
  853. background: #dd4b39;
  854. text-shadow: 0 1px #be3221;
  855. }
  856. .article-gallery {
  857. background: #000;
  858. position: relative;
  859. }
  860. .article-gallery-photos {
  861. position: relative;
  862. overflow: hidden;
  863. }
  864. .article-gallery-img {
  865. display: none;
  866. max-width: 100%;
  867. }
  868. .article-gallery-img:first-child {
  869. display: block;
  870. }
  871. .article-gallery-img.loaded {
  872. position: absolute;
  873. display: block;
  874. }
  875. .article-gallery-img img {
  876. display: block;
  877. max-width: 100%;
  878. margin: 0 auto;
  879. }
  880. #comments {
  881. background: #fff;
  882. box-shadow: 1px 2px 3px #ddd;
  883. padding: 20px;
  884. border: 1px solid #ddd;
  885. border-radius: 3px;
  886. margin: 50px 0;
  887. }
  888. #comments a {
  889. color: #258fb8;
  890. }
  891. .archives-wrap {
  892. margin: 50px 0;
  893. }
  894. .archives:before,
  895. .archives:after {
  896. content: "";
  897. display: table;
  898. }
  899. .archives:after {
  900. clear: both;
  901. }
  902. .archive-year-wrap {
  903. margin-bottom: 1em;
  904. }
  905. .archives {
  906. -webkit-column-gap: 10px;
  907. -moz-column-gap: 10px;
  908. column-gap: 10px;
  909. }
  910. @media screen and (min-width: 480px) and (max-width: 767px) {
  911. .archives {
  912. -webkit-column-count: 2;
  913. -moz-column-count: 2;
  914. column-count: 2;
  915. }
  916. }
  917. @media screen and (min-width: 768px) {
  918. .archives {
  919. -webkit-column-count: 3;
  920. -moz-column-count: 3;
  921. column-count: 3;
  922. }
  923. }
  924. .archive-article {
  925. -webkit-column-break-inside: avoid;
  926. page-break-inside: avoid;
  927. overflow: hidden;
  928. -moz-column-break-inside: avoid;
  929. break-inside: avoid-column;
  930. }
  931. .archive-article-inner {
  932. padding: 10px;
  933. margin-bottom: 15px;
  934. }
  935. .archive-article-title {
  936. text-decoration: none;
  937. font-weight: bold;
  938. color: #555;
  939. transition: color 0.2s;
  940. line-height: 1.6em;
  941. }
  942. .archive-article-title:hover {
  943. color: #258fb8;
  944. }
  945. .archive-article-footer {
  946. margin-top: 1em;
  947. }
  948. .archive-article-date {
  949. color: #999;
  950. text-decoration: none;
  951. font-size: 0.85em;
  952. line-height: 1em;
  953. margin-bottom: 0.5em;
  954. display: block;
  955. }
  956. #page-nav {
  957. margin: 50px auto;
  958. background: #fff;
  959. box-shadow: 1px 2px 3px #ddd;
  960. border: 1px solid #ddd;
  961. border-radius: 3px;
  962. text-align: center;
  963. color: #999;
  964. overflow: hidden;
  965. }
  966. #page-nav:before,
  967. #page-nav:after {
  968. content: "";
  969. display: table;
  970. }
  971. #page-nav:after {
  972. clear: both;
  973. }
  974. #page-nav a,
  975. #page-nav span {
  976. padding: 10px 20px;
  977. line-height: 1;
  978. height: 2ex;
  979. }
  980. #page-nav a {
  981. color: #999;
  982. text-decoration: none;
  983. }
  984. #page-nav a:hover {
  985. background: #999;
  986. color: #fff;
  987. }
  988. #page-nav .prev {
  989. float: left;
  990. }
  991. #page-nav .next {
  992. float: right;
  993. }
  994. #page-nav .page-number {
  995. display: inline-block;
  996. }
  997. @media screen and (max-width: 479px) {
  998. #page-nav .page-number {
  999. display: none;
  1000. }
  1001. }
  1002. #page-nav .current {
  1003. color: #555;
  1004. font-weight: bold;
  1005. }
  1006. #page-nav .space {
  1007. color: #ddd;
  1008. }
  1009. #footer {
  1010. background: #262a30;
  1011. padding: 50px 0;
  1012. border-top: 1px solid #ddd;
  1013. color: #999;
  1014. }
  1015. #footer a {
  1016. color: #258fb8;
  1017. text-decoration: none;
  1018. }
  1019. #footer a:hover {
  1020. text-decoration: underline;
  1021. }
  1022. #footer-info {
  1023. line-height: 1.6em;
  1024. font-size: 0.85em;
  1025. }
  1026. .article-entry pre,
  1027. .article-entry .highlight {
  1028. background: #2d2d2d;
  1029. margin: 0 -20px;
  1030. padding: 15px 20px;
  1031. border-style: solid;
  1032. border-color: #ddd;
  1033. border-width: 1px 0;
  1034. overflow: auto;
  1035. color: #ccc;
  1036. line-height: 22.400000000000002px;
  1037. }
  1038. .article-entry .highlight .gutter pre,
  1039. .article-entry .gist .gist-file .gist-data .line-numbers {
  1040. color: #666;
  1041. font-size: 0.85em;
  1042. }
  1043. .article-entry pre,
  1044. .article-entry code {
  1045. font-family: "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace;
  1046. }
  1047. .article-entry code {
  1048. background: #eee;
  1049. text-shadow: 0 1px #fff;
  1050. padding: 0 0.3em;
  1051. }
  1052. .article-entry pre code {
  1053. background: none;
  1054. text-shadow: none;
  1055. padding: 0;
  1056. }
  1057. .article-entry .highlight pre {
  1058. border: none;
  1059. margin: 0;
  1060. padding: 0;
  1061. }
  1062. .article-entry .highlight table {
  1063. margin: 0;
  1064. width: auto;
  1065. }
  1066. .article-entry .highlight td {
  1067. border: none;
  1068. padding: 0;
  1069. }
  1070. .article-entry .highlight figcaption {
  1071. font-size: 0.85em;
  1072. color: #999;
  1073. line-height: 1em;
  1074. margin-bottom: 1em;
  1075. }
  1076. .article-entry .highlight figcaption:before,
  1077. .article-entry .highlight figcaption:after {
  1078. content: "";
  1079. display: table;
  1080. }
  1081. .article-entry .highlight figcaption:after {
  1082. clear: both;
  1083. }
  1084. .article-entry .highlight figcaption a {
  1085. float: right;
  1086. }
  1087. .article-entry .highlight .gutter pre {
  1088. text-align: right;
  1089. padding-right: 20px;
  1090. }
  1091. .article-entry .highlight .line {
  1092. height: 22.400000000000002px;
  1093. }
  1094. .article-entry .highlight .line.marked {
  1095. background: #515151;
  1096. }
  1097. .article-entry .gist {
  1098. margin: 0 -20px;
  1099. border-style: solid;
  1100. border-color: #ddd;
  1101. border-width: 1px 0;
  1102. background: #2d2d2d;
  1103. padding: 15px 20px 15px 0;
  1104. }
  1105. .article-entry .gist .gist-file {
  1106. border: none;
  1107. font-family: "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace;
  1108. margin: 0;
  1109. }
  1110. .article-entry .gist .gist-file .gist-data {
  1111. background: none;
  1112. border: none;
  1113. }
  1114. .article-entry .gist .gist-file .gist-data .line-numbers {
  1115. background: none;
  1116. border: none;
  1117. padding: 0 20px 0 0;
  1118. }
  1119. .article-entry .gist .gist-file .gist-data .line-data {
  1120. padding: 0 !important;
  1121. }
  1122. .article-entry .gist .gist-file .highlight {
  1123. margin: 0;
  1124. padding: 0;
  1125. border: none;
  1126. }
  1127. .article-entry .gist .gist-file .gist-meta {
  1128. background: #2d2d2d;
  1129. color: #999;
  1130. font: 0.85em -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  1131. text-shadow: 0 0;
  1132. padding: 0;
  1133. margin-top: 1em;
  1134. margin-left: 20px;
  1135. }
  1136. .article-entry .gist .gist-file .gist-meta a {
  1137. color: #258fb8;
  1138. font-weight: normal;
  1139. }
  1140. .article-entry .gist .gist-file .gist-meta a:hover {
  1141. text-decoration: underline;
  1142. }
  1143. pre .comment,
  1144. pre .title {
  1145. color: #999;
  1146. }
  1147. pre .variable,
  1148. pre .attribute,
  1149. pre .tag,
  1150. pre .regexp,
  1151. pre .ruby .constant,
  1152. pre .xml .tag .title,
  1153. pre .xml .pi,
  1154. pre .xml .doctype,
  1155. pre .html .doctype,
  1156. pre .css .id,
  1157. pre .css .class,
  1158. pre .css .pseudo {
  1159. color: #f2777a;
  1160. }
  1161. pre .number,
  1162. pre .preprocessor,
  1163. pre .built_in,
  1164. pre .literal,
  1165. pre .params,
  1166. pre .constant {
  1167. color: #f99157;
  1168. }
  1169. pre .class,
  1170. pre .ruby .class .title,
  1171. pre .css .rules .attribute {
  1172. color: #9c9;
  1173. }
  1174. pre .string,
  1175. pre .value,
  1176. pre .inheritance,
  1177. pre .header,
  1178. pre .ruby .symbol,
  1179. pre .xml .cdata {
  1180. color: #9c9;
  1181. }
  1182. pre .css .hexcolor {
  1183. color: #6cc;
  1184. }
  1185. pre .function,
  1186. pre .python .decorator,
  1187. pre .python .title,
  1188. pre .ruby .function .title,
  1189. pre .ruby .title .keyword,
  1190. pre .perl .sub,
  1191. pre .javascript .title,
  1192. pre .coffeescript .title {
  1193. color: #69c;
  1194. }
  1195. pre .keyword,
  1196. pre .javascript .function {
  1197. color: #c9c;
  1198. }
  1199. @media screen and (max-width: 479px) {
  1200. #mobile-nav {
  1201. position: absolute;
  1202. top: 0;
  1203. left: 0;
  1204. width: 280px;
  1205. height: 100%;
  1206. background: #191919;
  1207. border-right: 1px solid #fff;
  1208. }
  1209. }
  1210. @media screen and (max-width: 479px) {
  1211. .mobile-nav-link {
  1212. display: block;
  1213. color: #999;
  1214. text-decoration: none;
  1215. padding: 15px 20px;
  1216. font-weight: bold;
  1217. }
  1218. .mobile-nav-link:hover {
  1219. color: #fff;
  1220. }
  1221. }