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.

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