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.

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