style.css 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374
  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: 1220px;
  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: 98.33333333333333%;
  147. margin: 0 0.833333333333333%;
  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. -webkit-transition: 0.2s ease-out;
  173. -moz-transition: 0.2s ease-out;
  174. -ms-transition: 0.2s ease-out;
  175. transition: 0.2s ease-out;
  176. z-index: 1;
  177. background: #eee;
  178. }
  179. .mobile-nav-on #wrap {
  180. left: 280px;
  181. }
  182. @media screen and (min-width: 768px) {
  183. #main {
  184. display: inline;
  185. float: left;
  186. width: 73.33333333333333%;
  187. margin: 0 0.833333333333333%;
  188. }
  189. }
  190. .article-date,
  191. .article-category-link,
  192. .archive-year,
  193. .widget-title {
  194. text-decoration: none;
  195. text-transform: uppercase;
  196. letter-spacing: 2px;
  197. color: #999;
  198. margin-bottom: 1em;
  199. margin-left: 5px;
  200. line-height: 1em;
  201. text-shadow: 0 1px #fff;
  202. font-weight: bold;
  203. }
  204. .article-inner,
  205. .archive-article-inner {
  206. background: #fff;
  207. -webkit-box-shadow: 1px 2px 3px #ddd;
  208. box-shadow: 1px 2px 3px #ddd;
  209. border: 1px solid #ddd;
  210. border-radius: 3px;
  211. }
  212. .article-entry h1,
  213. .widget h1 {
  214. font-size: 2em;
  215. }
  216. .article-entry h2,
  217. .widget h2 {
  218. font-size: 1.5em;
  219. }
  220. .article-entry h3,
  221. .widget h3 {
  222. font-size: 1.3em;
  223. }
  224. .article-entry h4,
  225. .widget h4 {
  226. font-size: 1.2em;
  227. }
  228. .article-entry h5,
  229. .widget h5 {
  230. font-size: 1em;
  231. }
  232. .article-entry h6,
  233. .widget h6 {
  234. font-size: 1em;
  235. color: #999;
  236. }
  237. .article-entry hr,
  238. .widget hr {
  239. border: 1px dashed #ddd;
  240. }
  241. .article-entry strong,
  242. .widget strong {
  243. font-weight: bold;
  244. }
  245. .article-entry em,
  246. .widget em,
  247. .article-entry cite,
  248. .widget cite {
  249. font-style: italic;
  250. }
  251. .article-entry sup,
  252. .widget sup,
  253. .article-entry sub,
  254. .widget sub {
  255. font-size: 0.75em;
  256. line-height: 0;
  257. position: relative;
  258. vertical-align: baseline;
  259. }
  260. .article-entry sup,
  261. .widget sup {
  262. top: -0.5em;
  263. }
  264. .article-entry sub,
  265. .widget sub {
  266. bottom: -0.2em;
  267. }
  268. .article-entry small,
  269. .widget small {
  270. font-size: 0.85em;
  271. }
  272. .article-entry acronym,
  273. .widget acronym,
  274. .article-entry abbr,
  275. .widget abbr {
  276. border-bottom: 1px dotted;
  277. }
  278. .article-entry ul,
  279. .widget ul,
  280. .article-entry ol,
  281. .widget ol,
  282. .article-entry dl,
  283. .widget dl {
  284. margin: 0 20px;
  285. line-height: 1.6em;
  286. }
  287. .article-entry ul ul,
  288. .widget ul ul,
  289. .article-entry ol ul,
  290. .widget ol ul,
  291. .article-entry ul ol,
  292. .widget ul ol,
  293. .article-entry ol ol,
  294. .widget ol ol {
  295. margin-top: 0;
  296. margin-bottom: 0;
  297. }
  298. .article-entry ul,
  299. .widget ul {
  300. list-style: disc;
  301. }
  302. .article-entry ol,
  303. .widget ol {
  304. list-style: decimal;
  305. }
  306. .article-entry dt,
  307. .widget dt {
  308. font-weight: bold;
  309. }
  310. #header {
  311. height: 300px;
  312. position: relative;
  313. border-bottom: 1px solid #ddd;
  314. }
  315. #header:before,
  316. #header:after {
  317. content: "";
  318. position: absolute;
  319. left: 0;
  320. right: 0;
  321. height: 40px;
  322. }
  323. #header:before {
  324. top: 0;
  325. background: -webkit-linear-gradient(rgba(0,0,0,0.2), transparent);
  326. background: -moz-linear-gradient(rgba(0,0,0,0.2), transparent);
  327. background: -ms-linear-gradient(rgba(0,0,0,0.2), transparent);
  328. background: linear-gradient(rgba(0,0,0,0.2), transparent);
  329. }
  330. #header:after {
  331. bottom: 0;
  332. background: -webkit-linear-gradient(transparent, rgba(0,0,0,0.2));
  333. background: -moz-linear-gradient(transparent, rgba(0,0,0,0.2));
  334. background: -ms-linear-gradient(transparent, rgba(0,0,0,0.2));
  335. background: linear-gradient(transparent, rgba(0,0,0,0.2));
  336. }
  337. #header-outer {
  338. height: 100%;
  339. position: relative;
  340. }
  341. #header-inner {
  342. position: relative;
  343. overflow: hidden;
  344. }
  345. #banner {
  346. position: absolute;
  347. top: 0;
  348. left: 0;
  349. width: 100%;
  350. height: 100%;
  351. background: url("images/banner.jpg") center #000;
  352. -webkit-background-size: cover;
  353. -moz-background-size: cover;
  354. background-size: cover;
  355. z-index: -1;
  356. }
  357. #header-title {
  358. text-align: center;
  359. height: 40px;
  360. position: absolute;
  361. top: 50%;
  362. left: 0;
  363. margin-top: -20px;
  364. }
  365. #logo,
  366. #subtitle {
  367. text-decoration: none;
  368. color: #fff;
  369. font-weight: 300;
  370. text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  371. }
  372. #logo {
  373. font-size: 40px;
  374. line-height: 40px;
  375. letter-spacing: 2px;
  376. }
  377. #subtitle {
  378. font-size: 16px;
  379. line-height: 16px;
  380. letter-spacing: 1px;
  381. }
  382. #subtitle-wrap {
  383. margin-top: 16px;
  384. }
  385. #main-nav {
  386. float: left;
  387. margin-left: -15px;
  388. }
  389. .nav-icon,
  390. .main-nav-link {
  391. float: left;
  392. color: #fff;
  393. opacity: 0.6;
  394. text-decoration: none;
  395. text-shadow: 0 1px rgba(0,0,0,0.2);
  396. -webkit-transition: opacity 0.2s;
  397. -moz-transition: opacity 0.2s;
  398. -ms-transition: opacity 0.2s;
  399. transition: opacity 0.2s;
  400. display: block;
  401. padding: 20px 15px;
  402. }
  403. .nav-icon:hover,
  404. .main-nav-link:hover {
  405. opacity: 1;
  406. }
  407. .nav-icon {
  408. font-family: FontAwesome;
  409. text-align: center;
  410. font-size: 14px;
  411. width: 14px;
  412. height: 14px;
  413. padding: 20px 15px;
  414. position: relative;
  415. cursor: pointer;
  416. }
  417. .main-nav-link {
  418. font-weight: 300;
  419. letter-spacing: 1px;
  420. }
  421. @media screen and (max-width: 479px) {
  422. .main-nav-link {
  423. display: none;
  424. }
  425. }
  426. #main-nav-toggle {
  427. display: none;
  428. }
  429. #main-nav-toggle:before {
  430. content: "\f0c9";
  431. }
  432. @media screen and (max-width: 479px) {
  433. #main-nav-toggle {
  434. display: block;
  435. }
  436. }
  437. #sub-nav {
  438. float: right;
  439. margin-right: -15px;
  440. }
  441. #nav-rss-link:before {
  442. content: "\f09e";
  443. }
  444. #nav-search-btn:before {
  445. content: "\f002";
  446. }
  447. #search-form-wrap {
  448. position: absolute;
  449. top: 15px;
  450. width: 150px;
  451. height: 30px;
  452. right: -150px;
  453. opacity: 0;
  454. -webkit-transition: 0.2s ease-out;
  455. -moz-transition: 0.2s ease-out;
  456. -ms-transition: 0.2s ease-out;
  457. transition: 0.2s ease-out;
  458. }
  459. #search-form-wrap.on {
  460. opacity: 1;
  461. right: 0;
  462. }
  463. @media screen and (max-width: 479px) {
  464. #search-form-wrap {
  465. width: 100%;
  466. right: -100%;
  467. }
  468. }
  469. .search-form {
  470. position: absolute;
  471. top: 0;
  472. left: 0;
  473. right: 0;
  474. background: #fff;
  475. padding: 5px 15px;
  476. border-radius: 15px;
  477. -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
  478. box-shadow: 0 0 10px rgba(0,0,0,0.3);
  479. }
  480. .search-form-input {
  481. border: none;
  482. background: none;
  483. color: #555;
  484. width: 100%;
  485. font: 13px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  486. outline: none;
  487. }
  488. .search-form-input::-webkit-search-results-decoration,
  489. .search-form-input::-webkit-search-cancel-button {
  490. -webkit-appearance: none;
  491. }
  492. .search-form-submit {
  493. position: absolute;
  494. top: 50%;
  495. right: 10px;
  496. margin-top: -7px;
  497. font: 13px FontAwesome;
  498. border: none;
  499. background: none;
  500. color: #bbb;
  501. cursor: pointer;
  502. }
  503. .search-form-submit:hover,
  504. .search-form-submit:focus {
  505. color: #777;
  506. }
  507. .article {
  508. margin: 50px 0;
  509. }
  510. .article-inner {
  511. overflow: hidden;
  512. }
  513. .article-meta:before,
  514. .article-meta:after {
  515. content: "";
  516. display: table;
  517. }
  518. .article-meta:after {
  519. clear: both;
  520. }
  521. .article-date {
  522. float: left;
  523. }
  524. .article-category {
  525. float: left;
  526. line-height: 1em;
  527. color: #ccc;
  528. text-shadow: 0 1px #fff;
  529. margin-left: 8px;
  530. }
  531. .article-category:before {
  532. content: "\2022";
  533. }
  534. .article-category-link {
  535. margin: 0 12px 1em;
  536. }
  537. .article-header {
  538. padding: 20px 20px 0;
  539. }
  540. .article-title {
  541. text-decoration: none;
  542. font-size: 2em;
  543. font-weight: bold;
  544. color: #555;
  545. line-height: 1.1em;
  546. -webkit-transition: color 0.2s;
  547. -moz-transition: color 0.2s;
  548. -ms-transition: color 0.2s;
  549. transition: color 0.2s;
  550. }
  551. a.article-title:hover {
  552. color: #258fb8;
  553. }
  554. .article-entry {
  555. color: #555;
  556. padding: 0 20px;
  557. }
  558. .article-entry:before,
  559. .article-entry:after {
  560. content: "";
  561. display: table;
  562. }
  563. .article-entry:after {
  564. clear: both;
  565. }
  566. .article-entry p,
  567. .article-entry table {
  568. line-height: 1.6em;
  569. margin: 1.6em 0;
  570. }
  571. .article-entry h1,
  572. .article-entry h2,
  573. .article-entry h3,
  574. .article-entry h4,
  575. .article-entry h5,
  576. .article-entry h6 {
  577. font-weight: bold;
  578. }
  579. .article-entry h1,
  580. .article-entry h2,
  581. .article-entry h3,
  582. .article-entry h4,
  583. .article-entry h5,
  584. .article-entry h6 {
  585. line-height: 1.1em;
  586. margin: 1.1em 0;
  587. }
  588. .article-entry a {
  589. color: #258fb8;
  590. text-decoration: none;
  591. }
  592. .article-entry a:hover {
  593. text-decoration: underline;
  594. }
  595. .article-entry ul,
  596. .article-entry ol,
  597. .article-entry dl {
  598. margin-top: 1.6em;
  599. margin-bottom: 1.6em;
  600. }
  601. .article-entry img,
  602. .article-entry video {
  603. max-width: 100%;
  604. height: auto;
  605. display: block;
  606. margin: auto;
  607. }
  608. .article-entry iframe {
  609. border: none;
  610. }
  611. .article-entry table {
  612. width: 100%;
  613. border-collapse: collapse;
  614. border-spacing: 0;
  615. }
  616. .article-entry th {
  617. font-weight: bold;
  618. border-bottom: 3px solid #ddd;
  619. padding-bottom: 0.5em;
  620. }
  621. .article-entry td {
  622. border-bottom: 1px solid #ddd;
  623. padding: 10px 0;
  624. }
  625. .article-entry blockquote {
  626. font-family: Georgia, "Times New Roman", serif;
  627. font-size: 1.4em;
  628. margin: 1.6em 20px;
  629. text-align: center;
  630. }
  631. .article-entry blockquote footer {
  632. font-size: 14px;
  633. margin: 1.6em 0;
  634. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  635. }
  636. .article-entry blockquote footer cite:before {
  637. content: "—";
  638. padding: 0 0.5em;
  639. }
  640. .article-entry .pullquote {
  641. text-align: left;
  642. width: 45%;
  643. margin: 0;
  644. }
  645. .article-entry .pullquote.left {
  646. margin-left: 0.5em;
  647. margin-right: 1em;
  648. }
  649. .article-entry .pullquote.right {
  650. margin-right: 0.5em;
  651. margin-left: 1em;
  652. }
  653. .article-entry .caption {
  654. color: #999;
  655. display: block;
  656. font-size: 0.9em;
  657. margin-top: 0.5em;
  658. position: relative;
  659. text-align: center;
  660. }
  661. .article-entry .video-container {
  662. position: relative;
  663. padding-top: 56.25%;
  664. height: 0;
  665. overflow: hidden;
  666. }
  667. .article-entry .video-container iframe,
  668. .article-entry .video-container object,
  669. .article-entry .video-container embed {
  670. position: absolute;
  671. top: 0;
  672. left: 0;
  673. width: 100%;
  674. height: 100%;
  675. margin-top: 0;
  676. }
  677. .article-more-link a {
  678. display: inline-block;
  679. line-height: 1em;
  680. padding: 6px 15px;
  681. border-radius: 15px;
  682. background: #eee;
  683. color: #999;
  684. text-shadow: 0 1px #fff;
  685. text-decoration: none;
  686. }
  687. .article-more-link a:hover {
  688. background: #258fb8;
  689. color: #fff;
  690. text-decoration: none;
  691. text-shadow: 0 1px #1e7293;
  692. }
  693. .article-footer {
  694. font-size: 0.85em;
  695. line-height: 1.6em;
  696. border-top: 1px solid #ddd;
  697. padding-top: 1.6em;
  698. margin: 0 20px 20px;
  699. }
  700. .article-footer:before,
  701. .article-footer:after {
  702. content: "";
  703. display: table;
  704. }
  705. .article-footer:after {
  706. clear: both;
  707. }
  708. .article-footer a {
  709. color: #999;
  710. text-decoration: none;
  711. }
  712. .article-footer a:hover {
  713. color: #555;
  714. }
  715. .article-tag-list-item {
  716. float: left;
  717. margin-right: 10px;
  718. }
  719. .article-tag-list-link:before {
  720. content: "#";
  721. }
  722. .article-comment-link {
  723. float: right;
  724. }
  725. .article-comment-link:before {
  726. content: "\f075";
  727. font-family: FontAwesome;
  728. padding-right: 8px;
  729. }
  730. .article-share-link {
  731. cursor: pointer;
  732. float: right;
  733. margin-left: 20px;
  734. }
  735. .article-share-link:before {
  736. content: "\f064";
  737. font-family: FontAwesome;
  738. padding-right: 6px;
  739. }
  740. #article-nav {
  741. position: relative;
  742. }
  743. #article-nav:before,
  744. #article-nav:after {
  745. content: "";
  746. display: table;
  747. }
  748. #article-nav:after {
  749. clear: both;
  750. }
  751. @media screen and (min-width: 768px) {
  752. #article-nav {
  753. margin: 50px 0;
  754. }
  755. #article-nav:before {
  756. width: 8px;
  757. height: 8px;
  758. position: absolute;
  759. top: 50%;
  760. left: 50%;
  761. margin-top: -4px;
  762. margin-left: -4px;
  763. content: "";
  764. border-radius: 50%;
  765. background: #ddd;
  766. -webkit-box-shadow: 0 1px 2px #fff;
  767. box-shadow: 0 1px 2px #fff;
  768. }
  769. }
  770. .article-nav-link-wrap {
  771. text-decoration: none;
  772. text-shadow: 0 1px #fff;
  773. color: #999;
  774. -webkit-box-sizing: border-box;
  775. -moz-box-sizing: border-box;
  776. box-sizing: border-box;
  777. margin-top: 50px;
  778. text-align: center;
  779. display: block;
  780. }
  781. .article-nav-link-wrap:hover {
  782. color: #555;
  783. }
  784. @media screen and (min-width: 768px) {
  785. .article-nav-link-wrap {
  786. width: 50%;
  787. margin-top: 0;
  788. }
  789. }
  790. @media screen and (min-width: 768px) {
  791. #article-nav-newer {
  792. float: left;
  793. text-align: right;
  794. padding-right: 20px;
  795. }
  796. }
  797. @media screen and (min-width: 768px) {
  798. #article-nav-older {
  799. float: right;
  800. text-align: left;
  801. padding-left: 20px;
  802. }
  803. }
  804. .article-nav-caption {
  805. text-transform: uppercase;
  806. letter-spacing: 2px;
  807. color: #ddd;
  808. line-height: 1em;
  809. font-weight: bold;
  810. }
  811. #article-nav-newer .article-nav-caption {
  812. margin-right: -2px;
  813. }
  814. .article-nav-title {
  815. font-size: 0.85em;
  816. line-height: 1.6em;
  817. margin-top: 0.5em;
  818. }
  819. .article-share-box {
  820. position: absolute;
  821. display: none;
  822. background: #fff;
  823. -webkit-box-shadow: 1px 2px 10px rgba(0,0,0,0.2);
  824. box-shadow: 1px 2px 10px rgba(0,0,0,0.2);
  825. border-radius: 3px;
  826. margin-left: -145px;
  827. overflow: hidden;
  828. z-index: 1;
  829. }
  830. .article-share-box.on {
  831. display: block;
  832. }
  833. .article-share-input {
  834. width: 100%;
  835. background: none;
  836. -webkit-box-sizing: border-box;
  837. -moz-box-sizing: border-box;
  838. box-sizing: border-box;
  839. font: 14px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  840. padding: 0 15px;
  841. color: #555;
  842. outline: none;
  843. border: 1px solid #ddd;
  844. border-radius: 3px 3px 0 0;
  845. height: 36px;
  846. line-height: 36px;
  847. }
  848. .article-share-links {
  849. background: #eee;
  850. }
  851. .article-share-links:before,
  852. .article-share-links:after {
  853. content: "";
  854. display: table;
  855. }
  856. .article-share-links:after {
  857. clear: both;
  858. }
  859. .article-share-twitter,
  860. .article-share-facebook,
  861. .article-share-pinterest,
  862. .article-share-google {
  863. width: 50px;
  864. height: 36px;
  865. display: block;
  866. float: left;
  867. position: relative;
  868. color: #999;
  869. text-shadow: 0 1px #fff;
  870. }
  871. .article-share-twitter:before,
  872. .article-share-facebook:before,
  873. .article-share-pinterest:before,
  874. .article-share-google:before {
  875. font-size: 20px;
  876. font-family: FontAwesome;
  877. width: 20px;
  878. height: 20px;
  879. position: absolute;
  880. top: 50%;
  881. left: 50%;
  882. margin-top: -10px;
  883. margin-left: -10px;
  884. text-align: center;
  885. }
  886. .article-share-twitter:hover,
  887. .article-share-facebook:hover,
  888. .article-share-pinterest:hover,
  889. .article-share-google:hover {
  890. color: #fff;
  891. }
  892. .article-share-twitter:before {
  893. content: "\f099";
  894. }
  895. .article-share-twitter:hover {
  896. background: #00aced;
  897. text-shadow: 0 1px #008abe;
  898. }
  899. .article-share-facebook:before {
  900. content: "\f09a";
  901. }
  902. .article-share-facebook:hover {
  903. background: #3b5998;
  904. text-shadow: 0 1px #2f477a;
  905. }
  906. .article-share-pinterest:before {
  907. content: "\f0d2";
  908. }
  909. .article-share-pinterest:hover {
  910. background: #cb2027;
  911. text-shadow: 0 1px #a21a1f;
  912. }
  913. .article-share-google:before {
  914. content: "\f0d5";
  915. }
  916. .article-share-google:hover {
  917. background: #dd4b39;
  918. text-shadow: 0 1px #be3221;
  919. }
  920. .article-gallery {
  921. background: #000;
  922. position: relative;
  923. }
  924. .article-gallery-photos {
  925. position: relative;
  926. overflow: hidden;
  927. }
  928. .article-gallery-img {
  929. display: none;
  930. max-width: 100%;
  931. }
  932. .article-gallery-img:first-child {
  933. display: block;
  934. }
  935. .article-gallery-img.loaded {
  936. position: absolute;
  937. display: block;
  938. }
  939. .article-gallery-img img {
  940. display: block;
  941. max-width: 100%;
  942. margin: 0 auto;
  943. }
  944. #comments {
  945. background: #fff;
  946. -webkit-box-shadow: 1px 2px 3px #ddd;
  947. box-shadow: 1px 2px 3px #ddd;
  948. padding: 20px;
  949. border: 1px solid #ddd;
  950. border-radius: 3px;
  951. margin: 50px 0;
  952. }
  953. #comments a {
  954. color: #258fb8;
  955. }
  956. .archives-wrap {
  957. margin: 50px 0;
  958. }
  959. .archives:before,
  960. .archives:after {
  961. content: "";
  962. display: table;
  963. }
  964. .archives:after {
  965. clear: both;
  966. }
  967. .archive-year-wrap {
  968. margin-bottom: 1em;
  969. }
  970. .archives {
  971. -webkit-column-gap: 10px;
  972. -moz-column-gap: 10px;
  973. column-gap: 10px;
  974. }
  975. @media screen and (min-width: 480px) and (max-width: 767px) {
  976. .archives {
  977. -webkit-column-count: 2;
  978. -moz-column-count: 2;
  979. column-count: 2;
  980. }
  981. }
  982. @media screen and (min-width: 768px) {
  983. .archives {
  984. -webkit-column-count: 3;
  985. -moz-column-count: 3;
  986. column-count: 3;
  987. }
  988. }
  989. .archive-article {
  990. -webkit-column-break-inside: avoid;
  991. page-break-inside: avoid;
  992. overflow: hidden;
  993. break-inside: avoid-column;
  994. }
  995. .archive-article-inner {
  996. padding: 10px;
  997. margin-bottom: 15px;
  998. }
  999. .archive-article-title {
  1000. text-decoration: none;
  1001. font-weight: bold;
  1002. color: #555;
  1003. -webkit-transition: color 0.2s;
  1004. -moz-transition: color 0.2s;
  1005. -ms-transition: color 0.2s;
  1006. transition: color 0.2s;
  1007. line-height: 1.6em;
  1008. }
  1009. .archive-article-title:hover {
  1010. color: #258fb8;
  1011. }
  1012. .archive-article-footer {
  1013. margin-top: 1em;
  1014. }
  1015. .archive-article-date {
  1016. color: #999;
  1017. text-decoration: none;
  1018. font-size: 0.85em;
  1019. line-height: 1em;
  1020. margin-bottom: 0.5em;
  1021. display: block;
  1022. }
  1023. #page-nav {
  1024. margin: 50px auto;
  1025. background: #fff;
  1026. -webkit-box-shadow: 1px 2px 3px #ddd;
  1027. box-shadow: 1px 2px 3px #ddd;
  1028. border: 1px solid #ddd;
  1029. border-radius: 3px;
  1030. text-align: center;
  1031. color: #999;
  1032. overflow: hidden;
  1033. }
  1034. #page-nav:before,
  1035. #page-nav:after {
  1036. content: "";
  1037. display: table;
  1038. }
  1039. #page-nav:after {
  1040. clear: both;
  1041. }
  1042. #page-nav a,
  1043. #page-nav span {
  1044. padding: 10px 20px;
  1045. line-height: 1;
  1046. height: 2ex;
  1047. }
  1048. #page-nav a {
  1049. color: #999;
  1050. text-decoration: none;
  1051. }
  1052. #page-nav a:hover {
  1053. background: #999;
  1054. color: #fff;
  1055. }
  1056. #page-nav .prev {
  1057. float: left;
  1058. }
  1059. #page-nav .next {
  1060. float: right;
  1061. }
  1062. #page-nav .page-number {
  1063. display: inline-block;
  1064. }
  1065. @media screen and (max-width: 479px) {
  1066. #page-nav .page-number {
  1067. display: none;
  1068. }
  1069. }
  1070. #page-nav .current {
  1071. color: #555;
  1072. font-weight: bold;
  1073. }
  1074. #page-nav .space {
  1075. color: #ddd;
  1076. }
  1077. #footer {
  1078. background: #262a30;
  1079. padding: 50px 0;
  1080. border-top: 1px solid #ddd;
  1081. color: #999;
  1082. }
  1083. #footer a {
  1084. color: #258fb8;
  1085. text-decoration: none;
  1086. }
  1087. #footer a:hover {
  1088. text-decoration: underline;
  1089. }
  1090. #footer-info {
  1091. line-height: 1.6em;
  1092. font-size: 0.85em;
  1093. }
  1094. .article-entry pre,
  1095. .article-entry .highlight {
  1096. background: #2d2d2d;
  1097. margin: 0 -20px;
  1098. padding: 15px 20px;
  1099. border-style: solid;
  1100. border-color: #ddd;
  1101. border-width: 1px 0;
  1102. overflow: auto;
  1103. color: #ccc;
  1104. line-height: 22.400000000000002px;
  1105. }
  1106. .article-entry .highlight .gutter pre,
  1107. .article-entry .gist .gist-file .gist-data .line-numbers {
  1108. color: #666;
  1109. font-size: 0.85em;
  1110. }
  1111. .article-entry pre,
  1112. .article-entry code {
  1113. font-family: "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace;
  1114. }
  1115. .article-entry code {
  1116. background: #eee;
  1117. text-shadow: 0 1px #fff;
  1118. padding: 0 0.3em;
  1119. }
  1120. .article-entry pre code {
  1121. background: none;
  1122. text-shadow: none;
  1123. padding: 0;
  1124. }
  1125. .article-entry .highlight pre {
  1126. border: none;
  1127. margin: 0;
  1128. padding: 0;
  1129. }
  1130. .article-entry .highlight table {
  1131. margin: 0;
  1132. width: auto;
  1133. }
  1134. .article-entry .highlight td {
  1135. border: none;
  1136. padding: 0;
  1137. }
  1138. .article-entry .highlight figcaption {
  1139. font-size: 0.85em;
  1140. color: #999;
  1141. line-height: 1em;
  1142. margin-bottom: 1em;
  1143. }
  1144. .article-entry .highlight figcaption:before,
  1145. .article-entry .highlight figcaption:after {
  1146. content: "";
  1147. display: table;
  1148. }
  1149. .article-entry .highlight figcaption:after {
  1150. clear: both;
  1151. }
  1152. .article-entry .highlight figcaption a {
  1153. float: right;
  1154. }
  1155. .article-entry .highlight .gutter pre {
  1156. text-align: right;
  1157. padding-right: 20px;
  1158. }
  1159. .article-entry .highlight .line {
  1160. height: 22.400000000000002px;
  1161. }
  1162. .article-entry .highlight .line.marked {
  1163. background: #515151;
  1164. }
  1165. .article-entry .gist {
  1166. margin: 0 -20px;
  1167. border-style: solid;
  1168. border-color: #ddd;
  1169. border-width: 1px 0;
  1170. background: #2d2d2d;
  1171. padding: 15px 20px 15px 0;
  1172. }
  1173. .article-entry .gist .gist-file {
  1174. border: none;
  1175. font-family: "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace;
  1176. margin: 0;
  1177. }
  1178. .article-entry .gist .gist-file .gist-data {
  1179. background: none;
  1180. border: none;
  1181. }
  1182. .article-entry .gist .gist-file .gist-data .line-numbers {
  1183. background: none;
  1184. border: none;
  1185. padding: 0 20px 0 0;
  1186. }
  1187. .article-entry .gist .gist-file .gist-data .line-data {
  1188. padding: 0 !important;
  1189. }
  1190. .article-entry .gist .gist-file .highlight {
  1191. margin: 0;
  1192. padding: 0;
  1193. border: none;
  1194. }
  1195. .article-entry .gist .gist-file .gist-meta {
  1196. background: #2d2d2d;
  1197. color: #999;
  1198. font: 0.85em -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  1199. text-shadow: 0 0;
  1200. padding: 0;
  1201. margin-top: 1em;
  1202. margin-left: 20px;
  1203. }
  1204. .article-entry .gist .gist-file .gist-meta a {
  1205. color: #258fb8;
  1206. font-weight: normal;
  1207. }
  1208. .article-entry .gist .gist-file .gist-meta a:hover {
  1209. text-decoration: underline;
  1210. }
  1211. pre .comment,
  1212. pre .title {
  1213. color: #999;
  1214. }
  1215. pre .variable,
  1216. pre .attribute,
  1217. pre .tag,
  1218. pre .regexp,
  1219. pre .ruby .constant,
  1220. pre .xml .tag .title,
  1221. pre .xml .pi,
  1222. pre .xml .doctype,
  1223. pre .html .doctype,
  1224. pre .css .id,
  1225. pre .css .class,
  1226. pre .css .pseudo {
  1227. color: #f2777a;
  1228. }
  1229. pre .number,
  1230. pre .preprocessor,
  1231. pre .built_in,
  1232. pre .literal,
  1233. pre .params,
  1234. pre .constant {
  1235. color: #f99157;
  1236. }
  1237. pre .class,
  1238. pre .ruby .class .title,
  1239. pre .css .rules .attribute {
  1240. color: #9c9;
  1241. }
  1242. pre .string,
  1243. pre .value,
  1244. pre .inheritance,
  1245. pre .header,
  1246. pre .ruby .symbol,
  1247. pre .xml .cdata {
  1248. color: #9c9;
  1249. }
  1250. pre .css .hexcolor {
  1251. color: #6cc;
  1252. }
  1253. pre .function,
  1254. pre .python .decorator,
  1255. pre .python .title,
  1256. pre .ruby .function .title,
  1257. pre .ruby .title .keyword,
  1258. pre .perl .sub,
  1259. pre .javascript .title,
  1260. pre .coffeescript .title {
  1261. color: #69c;
  1262. }
  1263. pre .keyword,
  1264. pre .javascript .function {
  1265. color: #c9c;
  1266. }
  1267. @media screen and (max-width: 479px) {
  1268. #mobile-nav {
  1269. position: absolute;
  1270. top: 0;
  1271. left: 0;
  1272. width: 280px;
  1273. height: 100%;
  1274. background: #191919;
  1275. border-right: 1px solid #fff;
  1276. }
  1277. }
  1278. @media screen and (max-width: 479px) {
  1279. .mobile-nav-link {
  1280. display: block;
  1281. color: #999;
  1282. text-decoration: none;
  1283. padding: 15px 20px;
  1284. font-weight: bold;
  1285. }
  1286. .mobile-nav-link:hover {
  1287. color: #fff;
  1288. }
  1289. }
  1290. @media screen and (min-width: 768px) {
  1291. #sidebar {
  1292. display: inline;
  1293. float: left;
  1294. width: 23.333333333333332%;
  1295. margin: 0 0.833333333333333%;
  1296. }
  1297. }
  1298. .widget-wrap {
  1299. margin: 50px 0;
  1300. }
  1301. .widget {
  1302. color: #777;
  1303. text-shadow: 0 1px #fff;
  1304. background: #ddd;
  1305. -webkit-box-shadow: 0 -1px 4px #ccc inset;
  1306. box-shadow: 0 -1px 4px #ccc inset;
  1307. border: 1px solid #ccc;
  1308. padding: 15px;
  1309. border-radius: 3px;
  1310. }
  1311. .widget a {
  1312. color: #258fb8;
  1313. text-decoration: none;
  1314. }
  1315. .widget a:hover {
  1316. text-decoration: underline;
  1317. }
  1318. .widget ul ul,
  1319. .widget ol ul,
  1320. .widget dl ul,
  1321. .widget ul ol,
  1322. .widget ol ol,
  1323. .widget dl ol,
  1324. .widget ul dl,
  1325. .widget ol dl,
  1326. .widget dl dl {
  1327. margin-left: 15px;
  1328. list-style: disc;
  1329. }
  1330. .widget {
  1331. line-height: 1.6em;
  1332. word-wrap: break-word;
  1333. font-size: 0.9em;
  1334. }
  1335. .widget ul,
  1336. .widget ol {
  1337. list-style: none;
  1338. margin: 0;
  1339. }
  1340. .widget ul ul,
  1341. .widget ol ul,
  1342. .widget ul ol,
  1343. .widget ol ol {
  1344. margin: 0 20px;
  1345. }
  1346. .widget ul ul,
  1347. .widget ol ul {
  1348. list-style: disc;
  1349. }
  1350. .widget ul ol,
  1351. .widget ol ol {
  1352. list-style: decimal;
  1353. }
  1354. .category-list-count,
  1355. .tag-list-count,
  1356. .archive-list-count {
  1357. padding-left: 5px;
  1358. color: #999;
  1359. font-size: 0.85em;
  1360. }
  1361. .category-list-count:before,
  1362. .tag-list-count:before,
  1363. .archive-list-count:before {
  1364. content: "(";
  1365. }
  1366. .category-list-count:after,
  1367. .tag-list-count:after,
  1368. .archive-list-count:after {
  1369. content: ")";
  1370. }
  1371. .tagcloud a {
  1372. margin-right: 5px;
  1373. display: inline-block;
  1374. }