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

691 lines
14 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
5 years ago
5 years ago
  1. /* Reset */
  2. html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
  3. *, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
  4. /* Clearfix */
  5. .clearfix:after {
  6. content: "";
  7. display: table;
  8. clear: both;
  9. }
  10. .hidden { display: none; }
  11. /* latin */
  12. @font-face {
  13. font-family: 'Fira Code';
  14. font-style: normal;
  15. font-weight: 400;
  16. src: local('Fira Code'), local('FiraCode-Regular'), url('../fonts/FiraCode-Regular.woff2') format('woff2');
  17. unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
  18. }
  19. /* Icons */
  20. @font-face {
  21. font-family: 'icons';
  22. src: url('../fonts/icons.eot');
  23. src: url('../fonts/icons.eot#iefix') format('embedded-opentype'),
  24. url('../fonts/icons.woff') format('woff'),
  25. url('../fonts/icons.ttf') format('truetype'),
  26. url('../fonts/icons.svg#icons') format('svg');
  27. font-weight: normal;
  28. font-style: normal;
  29. }
  30. [class^="icon-"]:before, [class*=" icon-"]:before {
  31. font-family: "icons";
  32. font-style: normal;
  33. font-weight: normal;
  34. speak: none;
  35. display: inline-block;
  36. text-decoration: inherit;
  37. text-align: center;
  38. font-variant: normal;
  39. text-transform: none;
  40. line-height: 1em;
  41. }
  42. .icon-facebook:before { content: '\e802'; }
  43. .icon-facebook-squared:before { content: '\e800'; }
  44. .icon-twitter:before { content: '\e801'; }
  45. .icon-twitter-1:before { content: '\e804'; }
  46. .icon-facebook-circled:before { content: '\e805'; }
  47. .icon-twitter-circled:before { content: '\e806'; }
  48. .icon-facebook-rect:before { content: '\e803'; }
  49. /* Spacing */
  50. .post h1, h3, h4, h5, p, .post-body ul, pre {
  51. margin-bottom: 20px;
  52. }
  53. /* Base */
  54. html, body { height: 100%; }
  55. body {
  56. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  57. font-size: 18px;
  58. color: #666;
  59. -webkit-font-smoothing: antialiased;
  60. text-rendering: optimizeLegibility;
  61. }
  62. h1 {
  63. font-size: 300%;
  64. letter-spacing: -1px;
  65. color: #222;
  66. font-weight: bold;
  67. }
  68. h2 {
  69. font: italic 200%/1.3em Georgia,serif;
  70. color: #bbb;
  71. }
  72. .profile #wrapper {
  73. padding: 100px 40px 0px;
  74. max-width: 600px;
  75. margin: 0 auto;
  76. }
  77. .profile #header {
  78. padding-bottom: 40px;
  79. text-align: center;
  80. position: relative;
  81. }
  82. .profile #avatar {
  83. display: inline-block;
  84. width: 80px;
  85. height: 80px;
  86. border-radius: 50%;
  87. margin-bottom: 20px;
  88. }
  89. .profile h1 {
  90. font-weight: 400;
  91. letter-spacing: 0px;
  92. font-size: 140%;
  93. color: #222;
  94. }
  95. .profile h2 {
  96. font-size: 110%;
  97. font-weight: 300;
  98. color: #aaa;
  99. margin-top: 10px;
  100. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  101. font-style: normal;
  102. }
  103. nav.main-nav {
  104. padding: 20px 20px 0;
  105. background: #fff;
  106. background: rgba(255,255,255,.90);
  107. margin: 0 auto;
  108. text-align: right;
  109. z-index: 100;
  110. }
  111. nav.main-nav a {
  112. top: 8px;
  113. right: 6px;
  114. padding: 8px 12px;
  115. color: #5badf0;
  116. font-size: 80%;
  117. /*font-weight: bold;*/
  118. line-height: 1.35;
  119. border-radius: 3px;
  120. }
  121. nav.main-nav a.cta {
  122. background: #5badf0;
  123. color: #fff;
  124. margin-left: 12px;
  125. }
  126. #wrapper {
  127. max-width: 600px;
  128. margin: 0 auto;
  129. padding: 60px 40px 100px 40px;
  130. }
  131. #wrapper.home {
  132. max-width: 600px;
  133. margin: 0 auto;
  134. padding: 0px 40px 20px 40px;
  135. }
  136. .home #avatar {
  137. float: right;
  138. width: 40px;
  139. height: 40px;
  140. border-radius: 50%;
  141. }
  142. /* Typography */
  143. /*Accent color*/
  144. a,
  145. #title,
  146. #post-list a:hover,
  147. #post-list li:hover .dates,
  148. #title:hover {
  149. text-decoration: none;
  150. color: #5badf0;
  151. color: #5694f1;
  152. }
  153. .post a {
  154. text-decoration: underline;
  155. }
  156. p a { color: #5694f1; }
  157. /*Transitions*/
  158. a,
  159. #post-nav a,
  160. #post-list a {
  161. -webkit-transition: all 0.15s ease;
  162. -moz-transition: all 0.15s ease;
  163. -ms-transition: all 0.15s ease;
  164. -o-transition: all 0.15s ease;
  165. transition: all 0.15s ease;
  166. }
  167. ul { margin:0; padding:0; margin-bottom: 20px; }
  168. li { list-style-type:circle; list-style-position:inside; }
  169. /* Line Height */
  170. #post-body, p {
  171. line-height:1.5;
  172. text-align: justify;
  173. }
  174. b, strong { font-weight: 500;
  175. color: #1E2025; }
  176. em, i { font-style: italic; }
  177. #title {
  178. display: inline-block;
  179. line-height: 100%;
  180. font-weight: 500;
  181. font-size: 119%;
  182. margin: 0;
  183. padding-bottom: 20px;
  184. }
  185. .description {
  186. float: right;
  187. font: italic 87.5%/1.4em Georgia,serif;
  188. color: #aaa;
  189. }
  190. .home h1 {
  191. letter-spacing: -1px;
  192. color: #222;
  193. font-weight: bold;
  194. }
  195. .home h2 {
  196. font: italic 119%/1.3em Georgia,serif;
  197. color: #bbb;
  198. }
  199. .post header {
  200. text-align:center;
  201. }
  202. .post h1 {
  203. margin-bottom: 20px;
  204. color: #222;
  205. font-weight: 300;
  206. }
  207. .post h2 {
  208. margin-bottom: 1em;
  209. font: 300 150%/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  210. color: #111;
  211. }
  212. .post h2.headline {
  213. margin: -5px 0 40px 0;
  214. color: #b2b9be;
  215. font-variant: small-caps;
  216. font-size: 120%;
  217. letter-spacing: 2px;
  218. display: inline-block;
  219. }
  220. h2.headline > a { display: inline-block; }
  221. h2.headline > a:first-letter { text-transform: capitalize; }
  222. #post-list h2 {
  223. font: normal 17px/1.5em -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  224. color: #aaa;
  225. max-width: 400px;
  226. margin-top: 2px;
  227. }
  228. h3, h4, h5 { color:#333; }
  229. h3 { font-size:125%; font-weight: 400; }
  230. h4 { font-size:100%; font-weight:bold; }
  231. h5 { font-size:93%; font-weight: bold; }
  232. h6 {
  233. font-size: 81.25%;
  234. font-weight: bold;
  235. color: #666;
  236. margin-bottom: 6px;
  237. }
  238. p.small {
  239. color: #bbb;
  240. font-size: 87.5%;
  241. line-height: 1.5;
  242. display: block;
  243. text-align: center;
  244. margin-top: 20px;
  245. }
  246. blockquote {
  247. padding-left: 15px;
  248. border-left: 3px solid #eee;
  249. }
  250. hr {
  251. display: block;
  252. border: none;
  253. height: 1px;
  254. margin: 40px auto;
  255. background: #eee;
  256. }
  257. span.code {
  258. font-family:'Fira Code', 'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
  259. background-color:#EEE;
  260. }
  261. pre {
  262. font-family:'Fira Code', 'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
  263. white-space:pre;
  264. border: 1px solid #ddd;
  265. padding:20px;
  266. background-color:#fdfdfd;
  267. overflow:auto;
  268. border-radius: 3px;
  269. background: #272b2d;
  270. color: #d0d4d7;
  271. }
  272. table {
  273. width: 100%;
  274. margin: 40px 0;
  275. border-collapse: collapse;
  276. font-size: 13px;
  277. line-height: 1.5em;
  278. }
  279. th,td {
  280. text-align: left;
  281. padding-right: 20px;
  282. vertical-align: top;
  283. }
  284. table td,td {
  285. border-spacing: none;
  286. border-style: solid;
  287. padding: 10px 15px;
  288. border-width: 1px 0 0 0;
  289. }
  290. tr>td {
  291. border-top: 1px solid #eaeaea;
  292. }
  293. tr:nth-child(odd)>td {
  294. background: #fcfcfc;
  295. }
  296. thead th,th {
  297. text-align: left;
  298. padding: 10px 15px;
  299. height: 20px;
  300. font-size: 13px;
  301. font-weight: bold;
  302. color: #444;
  303. border-bottom: 1px solid #dadadc;
  304. cursor: default;
  305. white-space: nowrap;
  306. }
  307. img {
  308. max-width: 100%;
  309. border-radius: 3px;
  310. }
  311. /* Made with Cactus Badge */
  312. #badge {
  313. position: absolute;
  314. bottom: 8px;
  315. right: 8px;
  316. height: 48px;
  317. width: 48px;
  318. }
  319. /*=========================================
  320. Post List
  321. =========================================== */
  322. #archive-list {
  323. margin-top: 100px;
  324. }
  325. #post-list {
  326. margin-bottom: 0;
  327. }
  328. #post-list li,#archive-list li {
  329. border-top: 1px solid #eee;
  330. padding-top: 20px;
  331. padding-bottom: 20px;
  332. list-style-type: none;
  333. margin-bottom: 0;
  334. }
  335. #post-list li:last-child {
  336. border-bottom: 1px solid #eee;
  337. }
  338. #post-list a {
  339. color: #333;
  340. display: block;
  341. font: bold 150%/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  342. }
  343. #post-list .dates {
  344. float: right;
  345. position: relative;
  346. top: 1px;
  347. font: 300 70%/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  348. color: #bbb;
  349. }
  350. #post-list-footer {
  351. border-top: 1px solid #eee;
  352. margin-top: 20px;
  353. padding-top: 100px;
  354. }
  355. #archive-link {
  356. display: inline-block;
  357. font-size: 13px;
  358. font-weight: bold;
  359. border-radius: 4px;
  360. padding: 3px 10px 6px;
  361. box-shadow: 0 0 0 1px hsla(207,83%,80%,1);
  362. }
  363. #archive-link:hover {
  364. background: #5694f1;
  365. color: #fff;
  366. box-shadow: 0 0 0 1px #5694f1;
  367. }
  368. #archive-link span {
  369. position: relative;
  370. top: 0;
  371. font-size: 17px;
  372. }
  373. #footer {
  374. padding: 40px 0 0 0;
  375. }
  376. /* Post Page */
  377. .post {
  378. margin: 80px 0 0 0;
  379. }
  380. #post-meta {
  381. font-size: 80%;
  382. font-weight: bold;
  383. line-height: 1.4;
  384. border-top: 1px solid #eee;
  385. padding-top: 40px;
  386. margin-bottom: 40px;
  387. padding-bottom: 40px;
  388. margin-top: 40px;
  389. color:#444;
  390. border-bottom: 1px solid #eee;
  391. }
  392. #post-meta div span {
  393. color: #aaa;
  394. font-weight: 500;
  395. display: block;
  396. }
  397. #post-meta div span.dark {
  398. color: #1E2025;
  399. }
  400. #post-meta div {
  401. margin: 0 25px 0 0;
  402. float: left;
  403. }
  404. #sharing {
  405. float: right;
  406. margin: -2px;
  407. }
  408. #sharing a {
  409. font-size: 20px;
  410. font-size: 23px;
  411. margin-left: 1px;
  412. margin-top: 4px;
  413. color: #d4d4d4;
  414. display: inline-block;
  415. vertical-align: middle;
  416. }
  417. #sharing a:hover {
  418. /*color: #444;*/
  419. opacity: 0.8;
  420. }
  421. /* Post Navigation */
  422. #post-nav {
  423. text-align:center;
  424. font-size:13px;
  425. font-weight:500;
  426. margin-top: 20px;
  427. }
  428. #post-nav span {
  429. -webkit-transition: all 0.1s linear;
  430. -moz-transition: all 0.1s linear;
  431. -ms-transition: all 0.1s linear;
  432. -o-transition: all 0.1s linear;
  433. transition: all 0.1s linear;
  434. position: relative;
  435. }
  436. #post-nav span.prev {
  437. float: left;
  438. }
  439. #post-nav span.next {
  440. float: right;
  441. }
  442. #post-nav span .arrow {
  443. position: relative;
  444. padding: 1px;
  445. }
  446. #post-nav span.prev:hover .arrow {
  447. left: -4px;
  448. }
  449. #post-nav span.next:hover .arrow {
  450. right: -4px;
  451. }
  452. #post-nav span.prev:hover {
  453. left: -3px;
  454. }
  455. #post-nav span.next:hover {
  456. right: -3px;
  457. }
  458. /* Archive */
  459. h1.archive {
  460. margin-bottom: 0px;
  461. }
  462. h2.month {
  463. width: 100%;
  464. font: bold 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  465. text-transform: uppercase;
  466. margin-top: 40px;
  467. margin-bottom: 10px;
  468. padding-bottom: 10px;
  469. border-bottom: 1px solid #eee;
  470. }
  471. #archive-list li:last-child {
  472. margin-bottom: 0;
  473. }
  474. #archive-list a {
  475. display: block;
  476. font: bold 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  477. color: #333;
  478. }
  479. #archive-list .dates {
  480. float: right;
  481. position: relative;
  482. top: 1px;
  483. font: 300 17px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  484. color: #bbb;
  485. }
  486. #archive-list li a:hover,#archive-list li:hover .dates {
  487. color: #5694f1;
  488. }
  489. #post-meta img.avatar {
  490. height: 36px;
  491. width: 36px;
  492. float: left;
  493. border-radius: 50%;
  494. margin-top: 3px;
  495. margin-right: 20px;
  496. box-shadow: 0 0 0 3px #fff, 0 0 0 4px #eee;
  497. }
  498. #post-list.archive.readmore h3{
  499. font: 400 140% -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  500. margin-bottom: 30px;
  501. }
  502. #post-list.archive.readmore a{
  503. font: 400 100%/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  504. color: #5694f1;
  505. }
  506. #post-list.archive.readmore a:hover{
  507. opacity: 0.8;
  508. }
  509. #post-list.archive.readmore .dates{
  510. font: 300 100%/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  511. }
  512. #sharing a.facebook {
  513. background: #4361b3;
  514. }
  515. #sharing a.twitter {
  516. background: #4fafed;
  517. }
  518. #sharing a {
  519. font-size: 20px;
  520. font-size: 13px;
  521. font-weight: bold;
  522. color: #fff;
  523. padding: 6px 10px;
  524. border-radius: 4px;
  525. margin-left: 2px;
  526. }
  527. /* Media Queries */
  528. @media screen and (max-width: 540px) {
  529. #wrapper { padding:20px 20px 20px 20px;}
  530. .post { margin: 40px 0; }
  531. #post-list, #archive-list { margin-top: 0; }
  532. #post-meta { margin-top: 60px; }
  533. #title { font-size: 17px; }
  534. #post-list .dates { display: none; }
  535. #post-list-footer { margin-top: 20px; padding-top: 40px; }
  536. h1 { font-size: 180%; }
  537. .post h2.headline { font-size: 100%; }
  538. .post h1 { font-size:200%; }
  539. .post h2 { font-size:130%; }
  540. }
  541. /* CUSTOM ADDITIONS */
  542. #social {
  543. display: flex;
  544. flex-direction: row;
  545. justify-content: center;
  546. }
  547. a.symbol {
  548. color: #cdd4da;
  549. font-size: 2rem;
  550. text-decoration: none;
  551. margin-right: 0.3rem;
  552. }
  553. a.symbol:hover {
  554. color: #BCD4DA;
  555. }
  556. p code {
  557. font-family:'Fira Code', 'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
  558. background-color:#EEE;
  559. padding: 4px;
  560. }
  561. kbd {
  562. background: #EEEEEE none repeat scroll 0 0;
  563. border-color: #CCCCCC #AAAAAA #888888 #BBBBBB;
  564. border-style: solid;
  565. border-width: 1px 1px 2px 2px;
  566. color: #000000;
  567. padding: 0.1rem 0.2rem;
  568. padding-top: 0.1rem;
  569. padding-right: 0.2rem;
  570. padding-bottom: 0.1rem;
  571. padding-left: 0.2rem;
  572. white-space: nowrap;
  573. font-family: 'Fira Code', 'Ubuntu Mono', 'Source Code Pro', Menlo, Monaco, Courier;
  574. }
  575. span.nowrap {
  576. white-space: nowrap;
  577. display: inline-block;
  578. }