Commit b84267827f
Unsigned
Layout: unified · split
.gitignore +1
| @@ -1,2 +1,3 @@ | |||
| 1 | .DS_Store | 1 | .DS_Store |
| 2 | .build | 2 | .build |
| 3 | .vscode | ||
theme/static/styles.css +18 −554
| @@ -1,461 +1,4 @@ | |||
| 1 | /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ | ||
| 2 | |||
| 3 | /* Document | ||
| 4 | ========================================================================== */ | ||
| 5 | |||
| 6 | /** | ||
| 7 | * 1. Correct the line height in all browsers. | ||
| 8 | * 2. Prevent adjustments of font size after orientation changes in iOS. | ||
| 9 | */ | ||
| 10 | |||
| 11 | html { | ||
| 12 | line-height: 1.15; /* 1 */ | ||
| 13 | -webkit-text-size-adjust: 100%; /* 2 */ | ||
| 14 | } | ||
| 15 | |||
| 16 | /* Sections | ||
| 17 | ========================================================================== */ | ||
| 18 | |||
| 19 | /** | ||
| 20 | * Remove the margin in all browsers. | ||
| 21 | */ | ||
| 22 | |||
| 23 | body { | 1 | body { |
| 24 | margin: 0; | ||
| 25 | } | ||
| 26 | |||
| 27 | /** | ||
| 28 | * Render the `main` element consistently in IE. | ||
| 29 | */ | ||
| 30 | |||
| 31 | main { | ||
| 32 | display: block; | ||
| 33 | } | ||
| 34 | |||
| 35 | /** | ||
| 36 | * Correct the font size and margin on `h1` elements within `section` and | ||
| 37 | * `article` contexts in Chrome, Firefox, and Safari. | ||
| 38 | */ | ||
| 39 | |||
| 40 | h1 { | ||
| 41 | font-size: 2em; | ||
| 42 | margin: 0.67em 0; | ||
| 43 | } | ||
| 44 | |||
| 45 | /* Grouping content | ||
| 46 | ========================================================================== */ | ||
| 47 | |||
| 48 | /** | ||
| 49 | * 1. Add the correct box sizing in Firefox. | ||
| 50 | * 2. Show the overflow in Edge and IE. | ||
| 51 | */ | ||
| 52 | |||
| 53 | hr { | ||
| 54 | box-sizing: content-box; /* 1 */ | ||
| 55 | height: 0; /* 1 */ | ||
| 56 | overflow: visible; /* 2 */ | ||
| 57 | } | ||
| 58 | |||
| 59 | /** | ||
| 60 | * 1. Correct the inheritance and scaling of font size in all browsers. | ||
| 61 | * 2. Correct the odd `em` font sizing in all browsers. | ||
| 62 | */ | ||
| 63 | |||
| 64 | pre { | ||
| 65 | font-family: monospace, monospace; /* 1 */ | ||
| 66 | font-size: 1em; /* 2 */ | ||
| 67 | } | ||
| 68 | |||
| 69 | /* Text-level semantics | ||
| 70 | ========================================================================== */ | ||
| 71 | |||
| 72 | /** | ||
| 73 | * Remove the gray background on active links in IE 10. | ||
| 74 | */ | ||
| 75 | |||
| 76 | a { | ||
| 77 | background-color: transparent; | ||
| 78 | } | ||
| 79 | |||
| 80 | /** | ||
| 81 | * 1. Remove the bottom border in Chrome 57- | ||
| 82 | * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. | ||
| 83 | */ | ||
| 84 | |||
| 85 | abbr[title] { | ||
| 86 | border-bottom: none; /* 1 */ | ||
| 87 | text-decoration: underline; /* 2 */ | ||
| 88 | text-decoration: underline dotted; /* 2 */ | ||
| 89 | } | ||
| 90 | |||
| 91 | /** | ||
| 92 | * Add the correct font weight in Chrome, Edge, and Safari. | ||
| 93 | */ | ||
| 94 | |||
| 95 | b, | ||
| 96 | strong { | ||
| 97 | font-weight: bolder; | ||
| 98 | } | ||
| 99 | |||
| 100 | /** | ||
| 101 | * 1. Correct the inheritance and scaling of font size in all browsers. | ||
| 102 | * 2. Correct the odd `em` font sizing in all browsers. | ||
| 103 | */ | ||
| 104 | |||
| 105 | code, | ||
| 106 | kbd, | ||
| 107 | samp { | ||
| 108 | font-family: monospace, monospace; /* 1 */ | ||
| 109 | font-size: 1em; /* 2 */ | ||
| 110 | } | ||
| 111 | |||
| 112 | /** | ||
| 113 | * Add the correct font size in all browsers. | ||
| 114 | */ | ||
| 115 | |||
| 116 | small { | ||
| 117 | font-size: 80%; | ||
| 118 | } | ||
| 119 | |||
| 120 | /** | ||
| 121 | * Prevent `sub` and `sup` elements from affecting the line height in | ||
| 122 | * all browsers. | ||
| 123 | */ | ||
| 124 | |||
| 125 | sub, | ||
| 126 | sup { | ||
| 127 | font-size: 75%; | ||
| 128 | line-height: 0; | ||
| 129 | position: relative; | ||
| 130 | vertical-align: baseline; | ||
| 131 | } | ||
| 132 | |||
| 133 | sub { | ||
| 134 | bottom: -0.25em; | ||
| 135 | } | ||
| 136 | |||
| 137 | sup { | ||
| 138 | top: -0.5em; | ||
| 139 | } | ||
| 140 | |||
| 141 | /* Embedded content | ||
| 142 | ========================================================================== */ | ||
| 143 | |||
| 144 | /** | ||
| 145 | * Remove the border on images inside links in IE 10. | ||
| 146 | */ | ||
| 147 | |||
| 148 | img { | ||
| 149 | border-style: none; | ||
| 150 | } | ||
| 151 | |||
| 152 | /* Forms | ||
| 153 | ========================================================================== */ | ||
| 154 | |||
| 155 | /** | ||
| 156 | * 1. Change the font styles in all browsers. | ||
| 157 | * 2. Remove the margin in Firefox and Safari. | ||
| 158 | */ | ||
| 159 | |||
| 160 | button, | ||
| 161 | input, | ||
| 162 | optgroup, | ||
| 163 | select, | ||
| 164 | textarea { | ||
| 165 | font-family: inherit; /* 1 */ | ||
| 166 | font-size: 100%; /* 1 */ | ||
| 167 | line-height: 1.15; /* 1 */ | ||
| 168 | margin: 0; /* 2 */ | ||
| 169 | } | ||
| 170 | |||
| 171 | /** | ||
| 172 | * Show the overflow in IE. | ||
| 173 | * 1. Show the overflow in Edge. | ||
| 174 | */ | ||
| 175 | |||
| 176 | button, | ||
| 177 | input { | ||
| 178 | /* 1 */ | ||
| 179 | overflow: visible; | ||
| 180 | } | ||
| 181 | |||
| 182 | /** | ||
| 183 | * Remove the inheritance of text transform in Edge, Firefox, and IE. | ||
| 184 | * 1. Remove the inheritance of text transform in Firefox. | ||
| 185 | */ | ||
| 186 | |||
| 187 | button, | ||
| 188 | select { | ||
| 189 | /* 1 */ | ||
| 190 | text-transform: none; | ||
| 191 | } | ||
| 192 | |||
| 193 | /** | ||
| 194 | * Correct the inability to style clickable types in iOS and Safari. | ||
| 195 | */ | ||
| 196 | |||
| 197 | button, | ||
| 198 | [type="button"], | ||
| 199 | [type="reset"], | ||
| 200 | [type="submit"] { | ||
| 201 | -webkit-appearance: button; | ||
| 202 | } | ||
| 203 | |||
| 204 | /** | ||
| 205 | * Remove the inner border and padding in Firefox. | ||
| 206 | */ | ||
| 207 | |||
| 208 | button::-moz-focus-inner, | ||
| 209 | [type="button"]::-moz-focus-inner, | ||
| 210 | [type="reset"]::-moz-focus-inner, | ||
| 211 | [type="submit"]::-moz-focus-inner { | ||
| 212 | border-style: none; | ||
| 213 | padding: 0; | ||
| 214 | } | ||
| 215 | |||
| 216 | /** | ||
| 217 | * Restore the focus styles unset by the previous rule. | ||
| 218 | */ | ||
| 219 | |||
| 220 | button:-moz-focusring, | ||
| 221 | [type="button"]:-moz-focusring, | ||
| 222 | [type="reset"]:-moz-focusring, | ||
| 223 | [type="submit"]:-moz-focusring { | ||
| 224 | outline: 1px dotted ButtonText; | ||
| 225 | } | ||
| 226 | |||
| 227 | /** | ||
| 228 | * Correct the padding in Firefox. | ||
| 229 | */ | ||
| 230 | |||
| 231 | fieldset { | ||
| 232 | padding: 0.35em 0.75em 0.625em; | ||
| 233 | } | ||
| 234 | |||
| 235 | /** | ||
| 236 | * 1. Correct the text wrapping in Edge and IE. | ||
| 237 | * 2. Correct the color inheritance from `fieldset` elements in IE. | ||
| 238 | * 3. Remove the padding so developers are not caught out when they zero out | ||
| 239 | * `fieldset` elements in all browsers. | ||
| 240 | */ | ||
| 241 | |||
| 242 | legend { | ||
| 243 | box-sizing: border-box; /* 1 */ | ||
| 244 | color: inherit; /* 2 */ | ||
| 245 | display: table; /* 1 */ | ||
| 246 | max-width: 100%; /* 1 */ | ||
| 247 | padding: 0; /* 3 */ | ||
| 248 | white-space: normal; /* 1 */ | ||
| 249 | } | ||
| 250 | |||
| 251 | /** | ||
| 252 | * Add the correct vertical alignment in Chrome, Firefox, and Opera. | ||
| 253 | */ | ||
| 254 | |||
| 255 | progress { | ||
| 256 | vertical-align: baseline; | ||
| 257 | } | ||
| 258 | |||
| 259 | /** | ||
| 260 | * Remove the default vertical scrollbar in IE 10+. | ||
| 261 | */ | ||
| 262 | |||
| 263 | textarea { | ||
| 264 | overflow: auto; | ||
| 265 | } | ||
| 266 | |||
| 267 | /** | ||
| 268 | * 1. Add the correct box sizing in IE 10. | ||
| 269 | * 2. Remove the padding in IE 10. | ||
| 270 | */ | ||
| 271 | |||
| 272 | [type="checkbox"], | ||
| 273 | [type="radio"] { | ||
| 274 | box-sizing: border-box; /* 1 */ | ||
| 275 | padding: 0; /* 2 */ | ||
| 276 | } | ||
| 277 | |||
| 278 | /** | ||
| 279 | * Correct the cursor style of increment and decrement buttons in Chrome. | ||
| 280 | */ | ||
| 281 | |||
| 282 | [type="number"]::-webkit-inner-spin-button, | ||
| 283 | [type="number"]::-webkit-outer-spin-button { | ||
| 284 | height: auto; | ||
| 285 | } | ||
| 286 | |||
| 287 | /** | ||
| 288 | * 1. Correct the odd appearance in Chrome and Safari. | ||
| 289 | * 2. Correct the outline style in Safari. | ||
| 290 | */ | ||
| 291 | |||
| 292 | [type="search"] { | ||
| 293 | -webkit-appearance: textfield; /* 1 */ | ||
| 294 | outline-offset: -2px; /* 2 */ | ||
| 295 | } | ||
| 296 | |||
| 297 | /** | ||
| 298 | * Remove the inner padding in Chrome and Safari on macOS. | ||
| 299 | */ | ||
| 300 | |||
| 301 | [type="search"]::-webkit-search-decoration { | ||
| 302 | -webkit-appearance: none; | ||
| 303 | } | ||
| 304 | |||
| 305 | /** | ||
| 306 | * 1. Correct the inability to style clickable types in iOS and Safari. | ||
| 307 | * 2. Change font properties to `inherit` in Safari. | ||
| 308 | */ | ||
| 309 | |||
| 310 | ::-webkit-file-upload-button { | ||
| 311 | -webkit-appearance: button; /* 1 */ | ||
| 312 | font: inherit; /* 2 */ | ||
| 313 | } | ||
| 314 | |||
| 315 | /* Interactive | ||
| 316 | ========================================================================== */ | ||
| 317 | |||
| 318 | /* | ||
| 319 | * Add the correct display in Edge, IE 10+, and Firefox. | ||
| 320 | */ | ||
| 321 | |||
| 322 | details { | ||
| 323 | display: block; | ||
| 324 | } | ||
| 325 | |||
| 326 | /* | ||
| 327 | * Add the correct display in all browsers. | ||
| 328 | */ | ||
| 329 | |||
| 330 | summary { | ||
| 331 | display: list-item; | ||
| 332 | } | ||
| 333 | |||
| 334 | /* Misc | ||
| 335 | ========================================================================== */ | ||
| 336 | |||
| 337 | /** | ||
| 338 | * Add the correct display in IE 10+. | ||
| 339 | */ | ||
| 340 | |||
| 341 | template { | ||
| 342 | display: none; | ||
| 343 | } | ||
| 344 | |||
| 345 | /** | ||
| 346 | * Add the correct display in IE 10. | ||
| 347 | */ | ||
| 348 | |||
| 349 | [hidden] { | ||
| 350 | display: none; | ||
| 351 | } | ||
| 352 | |||
| 353 | /* CUSTOM CSS */ | ||
| 354 | :root { | ||
| 355 | --bg: rgb(255, 255, 255); | ||
| 356 | --bg-bright: rgb(238, 238, 238); | ||
| 357 | --fg: rgb(17, 17, 17); | ||
| 358 | --fg-bright: rgb(0, 0, 0); | ||
| 359 | --fg-dim: rgb(68, 68, 68); | ||
| 360 | --link: rgb(0, 0, 255); | ||
| 361 | --code: rgb(195, 0, 0); | ||
| 362 | --border: rgb(204, 204, 204); | ||
| 363 | } | ||
| 364 | |||
| 365 | @media (prefers-reduced-motion: no-preference) { | ||
| 366 | :root { | ||
| 367 | scroll-behavior: smooth; | ||
| 368 | } | ||
| 369 | } | ||
| 370 | |||
| 371 | body { | ||
| 372 | background-color: var(--bg); | ||
| 373 | color: var(--fg); | ||
| 374 | font-family: | ||
| 375 | -apple-system, | ||
| 376 | BlinkMacSystemFont, | ||
| 377 | avenir next, | ||
| 378 | avenir, | ||
| 379 | segoe ui, | ||
| 380 | helvetica neue, | ||
| 381 | helvetica, | ||
| 382 | Cantarell, | ||
| 383 | Ubuntu, | ||
| 384 | roboto, | ||
| 385 | noto, | ||
| 386 | arial, | ||
| 387 | sans-serif; | ||
| 388 | line-height: 1.5; | ||
| 389 | max-width: 50em; | ||
| 390 | margin: 0 auto; | ||
| 391 | padding: 0 1rem; | ||
| 392 | } | ||
| 393 | |||
| 394 | .site-nav, | ||
| 395 | footer { | ||
| 396 | border-color: var(--fg); | ||
| 397 | } | ||
| 398 | |||
| 399 | footer { | ||
| 400 | border-top: 1px dotted; | ||
| 401 | padding-top: 1rem; | ||
| 402 | margin: 1rem 0; | ||
| 403 | } | ||
| 404 | |||
| 405 | footer p { | ||
| 406 | margin: 0; | ||
| 407 | } | ||
| 408 | |||
| 409 | .site-nav { | ||
| 410 | border-bottom: 1px dotted; | ||
| 411 | } | ||
| 412 | |||
| 413 | .site-nav ul { | ||
| 414 | list-style-type: none; | ||
| 415 | display: flex; | ||
| 416 | align-items: center; | ||
| 417 | padding: 0; | ||
| 418 | } | ||
| 419 | |||
| 420 | .site-nav ul li { | ||
| 421 | margin-right: 0.5rem; | ||
| 422 | } | ||
| 423 | |||
| 424 | h1, | ||
| 425 | h2, | ||
| 426 | h3, | ||
| 427 | h4 { | ||
| 428 | color: var(--fg-bright); | ||
| 429 | } | ||
| 430 | |||
| 431 | a, | ||
| 432 | a:visited { | ||
| 433 | border-bottom: 2px solid var(--link); | ||
| 434 | color: var(--fg); | ||
| 435 | text-decoration: none; | ||
| 436 | } | ||
| 437 | |||
| 438 | img { | ||
| 439 | width: 100%; | ||
| 440 | } | ||
| 441 | |||
| 442 | table { | ||
| 443 | border-collapse: collapse; | ||
| 444 | color: var(--fg); | ||
| 445 | border-color: var(--bg-bright); | ||
| 446 | } | ||
| 447 | |||
| 448 | thead, | ||
| 449 | th, | ||
| 450 | tr, | ||
| 451 | td { | ||
| 452 | border: 1px solid var(--border); | ||
| 453 | padding: 0.25rem; | ||
| 454 | } | ||
| 455 | |||
| 456 | pre > code, | ||
| 457 | time, | ||
| 458 | code { | ||
| 459 | font-family: | 2 | font-family: |
| 460 | Menlo, | 3 | Menlo, |
| 461 | Consolas, | 4 | Consolas, |
| @@ -464,112 +7,33 @@ code { | |||
| 464 | Lucida Console, | 7 | Lucida Console, |
| 465 | monospace; | 8 | monospace; |
| 466 | font-size: 0.9rem; | 9 | font-size: 0.9rem; |
| 467 | } | 10 | margin: 0 auto; |
| 468 | 11 | max-width: 50em; | |
| 469 | pre { | ||
| 470 | background-color: var(--bg-bright) !important; | ||
| 471 | margin: 0.5rem 0; | ||
| 472 | padding: 0.5rem; | ||
| 473 | overflow-x: auto; | ||
| 474 | } | ||
| 475 | |||
| 476 | :not(pre) > code { | ||
| 477 | color: var(--code); | ||
| 478 | } | ||
| 479 | |||
| 480 | aside { | ||
| 481 | background-color: var(--bg-bright); | ||
| 482 | padding: 1rem; | ||
| 483 | } | ||
| 484 | |||
| 485 | blockquote { | ||
| 486 | background-color: var(--bg-bright); | ||
| 487 | border-left: 5px solid var(--link); | ||
| 488 | margin: 1rem 0; | ||
| 489 | padding: 0.5rem 1rem; | ||
| 490 | } | ||
| 491 | |||
| 492 | blockquote p { | ||
| 493 | margin: 0; | ||
| 494 | } | ||
| 495 | |||
| 496 | .post, | ||
| 497 | .wiki-post { | ||
| 498 | display: flex; | ||
| 499 | } | ||
| 500 | |||
| 501 | .post time { | ||
| 502 | flex-shrink: 0; | ||
| 503 | margin-right: 0.5rem; | ||
| 504 | } | ||
| 505 | |||
| 506 | .wiki-post { | ||
| 507 | justify-content: space-between; | ||
| 508 | } | ||
| 509 | |||
| 510 | .wiki-post:first-of-type { | ||
| 511 | border-bottom: 1px dotted var(--fg); | ||
| 512 | margin-bottom: 1rem; | ||
| 513 | } | ||
| 514 | |||
| 515 | .wiki-post p { | ||
| 516 | margin: 0; | ||
| 517 | } | ||
| 518 | |||
| 519 | .post-metadata { | ||
| 520 | border: 1px dotted var(--fg); | ||
| 521 | border-top: none; | ||
| 522 | padding: 1rem; | 12 | padding: 1rem; |
| 523 | } | 13 | } |
| 524 | 14 | ||
| 525 | .post-metadata h1 { | 15 | img { |
| 526 | margin: 0; | 16 | height: auto; |
| 527 | } | 17 | max-width: 100%; |
| 528 | 18 | width: 100%; | |
| 529 | .post-metadata p { | ||
| 530 | margin: 0; | ||
| 531 | } | ||
| 532 | |||
| 533 | details { | ||
| 534 | margin-top: 1rem; | ||
| 535 | } | ||
| 536 | |||
| 537 | summary { | ||
| 538 | font-weight: bold; | ||
| 539 | } | ||
| 540 | |||
| 541 | .footnote-definition { | ||
| 542 | display: flex; | ||
| 543 | justify-content: flex-start; | ||
| 544 | align-items: top; | ||
| 545 | margin: 1rem 0; | ||
| 546 | } | 19 | } |
| 547 | 20 | ||
| 548 | .footnote-definition sup { | 21 | pre { |
| 549 | font-size: inherit; | 22 | border: 1px solid #000; |
| 550 | top: 0; | 23 | overflow: scroll; |
| 551 | line-height: inherit; | 24 | padding: 0.5rem; |
| 552 | padding-right: 0.5rem; | ||
| 553 | } | 25 | } |
| 554 | 26 | ||
| 555 | .footnote-definition sup::after { | 27 | :not(pre) code { |
| 556 | content: "."; | 28 | color: #f00; |
| 557 | } | 29 | } |
| 558 | 30 | ||
| 559 | .footnote-definition p { | 31 | nav ul { |
| 560 | display: inline-block; | 32 | padding: 0; |
| 561 | margin: 0; | ||
| 562 | } | 33 | } |
| 563 | 34 | ||
| 564 | @media (prefers-color-scheme: dark) { | 35 | nav li { |
| 565 | :root { | 36 | display: inline; |
| 566 | --bg: rgb(0, 0, 0); | 37 | list-style: none; |
| 567 | --bg-bright: rgb(28, 28, 30); | 38 | padding-right: 0.25rem; |
| 568 | --fg: rgb(245, 245, 247); | ||
| 569 | --fg-bright: rgb(255, 255, 255); | ||
| 570 | --fg-dim: rgb(209, 209, 214); | ||
| 571 | --link: rgb(10, 132, 255); | ||
| 572 | --code: rgb(255, 159, 10); | ||
| 573 | --border: rgb(51, 51, 51); | ||
| 574 | } | ||
| 575 | } | 39 | } |
theme/static/styles.min.css +1 −1
| @@ -1 +1 @@ | |||
| 1 | /*!normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css*/html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:initial}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--bg:rgb(255, 255, 255);--bg-bright:rgb(238, 238, 238);--fg:rgb(17, 17, 17);--fg-bright:rgb(0, 0, 0);--fg-dim:rgb(68, 68, 68);--link:rgb(0, 0, 255);--code:rgb(195, 0, 0);--border:rgb(204, 204, 204)}@media(prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{background-color:var(--bg);color:var(--fg);font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Cantarell,Ubuntu,roboto,noto,arial,sans-serif;line-height:1.5;max-width:50em;margin:0 auto;padding:0 1rem}.site-nav,footer{border-color:var(--fg)}footer{border-top:1px dotted;padding-top:1rem;margin:1rem 0}footer p{margin:0}.site-nav{border-bottom:1px dotted}.site-nav ul{list-style-type:none;display:flex;align-items:center;padding:0}.site-nav ul li{margin-right:.5rem}h1,h2,h3,h4{color:var(--fg-bright)}a,a:visited{border-bottom:2px solid var(--link);color:var(--fg);text-decoration:none}img{width:100%}table{border-collapse:collapse;color:var(--fg);border-color:var(--bg-bright)}thead,th,tr,td{border:1px solid var(--border);padding:.25rem}pre>code,time,code{font-family:Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace;font-size:.9rem}pre{background-color:var(--bg-bright)!important;margin:.5rem 0;padding:.5rem;overflow-x:auto}:not(pre)>code{color:var(--code)}aside{background-color:var(--bg-bright);padding:1rem}blockquote{background-color:var(--bg-bright);border-left:5px solid var(--link);margin:1rem 0;padding:.5rem 1rem}blockquote p{margin:0}.post,.wiki-post{display:flex}.post time{flex-shrink:0;margin-right:.5rem}.wiki-post{justify-content:space-between}.wiki-post:first-of-type{border-bottom:1px dotted var(--fg);margin-bottom:1rem}.wiki-post p{margin:0}.post-metadata{border:1px dotted var(--fg);border-top:none;padding:1rem}.post-metadata h1{margin:0}.post-metadata p{margin:0}details{margin-top:1rem}summary{font-weight:700}.footnote-definition{display:flex;justify-content:flex-start;align-items:top;margin:1rem 0}.footnote-definition sup{font-size:inherit;top:0;line-height:inherit;padding-right:.5rem}.footnote-definition sup::after{content:"."}.footnote-definition p{display:inline-block;margin:0}@media(prefers-color-scheme:dark){:root{--bg:rgb(0, 0, 0);--bg-bright:rgb(28, 28, 30);--fg:rgb(245, 245, 247);--fg-bright:rgb(255, 255, 255);--fg-dim:rgb(209, 209, 214);--link:rgb(10, 132, 255);--code:rgb(255, 159, 10);--border:rgb(51, 51, 51)}}\ No newline at end of file | 1 | body{font-family:Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace;font-size:.9rem;margin:0 auto;max-width:50em;padding:1rem}img{height:auto;max-width:100%;width:100%}pre{border:1px solid #000;overflow:scroll;padding:.5rem}:not(pre) code{color:red}nav ul{padding:0}nav li{display:inline;list-style:none;padding-right:.25rem}\ No newline at end of file |
theme/static/syntax-theme-dark.css deleted −280
| @@ -1,280 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * theme "ayu" generated by syntect | ||
| 3 | */ | ||
| 4 | |||
| 5 | .z-code { | ||
| 6 | color: #bfbab0; | ||
| 7 | background-color: #0f1419; | ||
| 8 | } | ||
| 9 | |||
| 10 | .z-comment, .z-punctuation.z-definition.z-comment { | ||
| 11 | color: #5c6773; | ||
| 12 | font-style: italic; | ||
| 13 | } | ||
| 14 | .z-variable { | ||
| 15 | color: #bfbab0; | ||
| 16 | } | ||
| 17 | .z-string, .z-constant.z-other.z-symbol { | ||
| 18 | color: #c2d94c; | ||
| 19 | } | ||
| 20 | .z-constant.z-numeric { | ||
| 21 | color: #f29718; | ||
| 22 | } | ||
| 23 | .z-string.z-regexp, .z-constant.z-character.z-escape { | ||
| 24 | color: #95e6cb; | ||
| 25 | } | ||
| 26 | .z-constant.z-language { | ||
| 27 | color: #f29718; | ||
| 28 | } | ||
| 29 | .z-constant.z-character, .z-constant.z-other { | ||
| 30 | color: #f29718; | ||
| 31 | } | ||
| 32 | .z-variable.z-member { | ||
| 33 | color: #ec5f67; | ||
| 34 | } | ||
| 35 | .z-keyword, .z-keyword.z-operator.z-word { | ||
| 36 | color: #ff7733; | ||
| 37 | } | ||
| 38 | .z-keyword.z-operator { | ||
| 39 | color: #f29668; | ||
| 40 | } | ||
| 41 | .z-punctuation.z-separator, .z-punctuation.z-terminator { | ||
| 42 | color: #bfbab0; | ||
| 43 | } | ||
| 44 | .z-punctuation.z-section { | ||
| 45 | color: #bfbab0; | ||
| 46 | } | ||
| 47 | .z-punctuation.z-accessor { | ||
| 48 | color: #f29668; | ||
| 49 | } | ||
| 50 | .z-punctuation.z-definition.z-annotation { | ||
| 51 | color: #bfbab0; | ||
| 52 | } | ||
| 53 | .z-variable.z-other.z-dollar.z-only.z-js, .z-variable.z-other.z-object.z-dollar.z-only.z-js, .z-variable.z-type.z-dollar.z-only.z-js, .z-support.z-class.z-dollar.z-only.z-js { | ||
| 54 | color: #e6b673; | ||
| 55 | } | ||
| 56 | .z-storage { | ||
| 57 | color: #ff7733; | ||
| 58 | } | ||
| 59 | .z-storage.z-type { | ||
| 60 | color: #ff7733; | ||
| 61 | } | ||
| 62 | .z-entity.z-name.z-function { | ||
| 63 | color: #ffb454; | ||
| 64 | } | ||
| 65 | .z-entity.z-name, .z-entity.z-name.z-tag, .z-entity.z-name.z-label) { | ||
| 66 | color: #59c2ff; | ||
| 67 | } | ||
| 68 | .z-entity.z-other.z-inherited-class { | ||
| 69 | color: #59c2ff; | ||
| 70 | text-decoration: underline; | ||
| 71 | } | ||
| 72 | .z-variable.z-parameter { | ||
| 73 | color: #f29718; | ||
| 74 | } | ||
| 75 | .z-variable.z-language { | ||
| 76 | color: #39bae6; | ||
| 77 | font-style: italic; | ||
| 78 | } | ||
| 79 | .z-entity.z-name.z-tag, .z-meta.z-tag.z-sgml { | ||
| 80 | color: #39bae6; | ||
| 81 | } | ||
| 82 | .z-punctuation.z-definition.z-tag.z-end, .z-punctuation.z-definition.z-tag.z-begin, .z-punctuation.z-definition.z-tag { | ||
| 83 | color: #39bae6; | ||
| 84 | } | ||
| 85 | .z-entity.z-other.z-attribute-name { | ||
| 86 | color: #ffb454; | ||
| 87 | } | ||
| 88 | .z-variable.z-function, .z-variable.z-annotation { | ||
| 89 | color: #ffb454; | ||
| 90 | } | ||
| 91 | .z-support.z-function, .z-support.z-macro { | ||
| 92 | color: #f07178; | ||
| 93 | } | ||
| 94 | .z-support.z-constant { | ||
| 95 | color: #f29668; | ||
| 96 | font-style: italic; | ||
| 97 | } | ||
| 98 | .z-support.z-type, .z-support.z-class { | ||
| 99 | color: #39bae6; | ||
| 100 | font-style: italic; | ||
| 101 | } | ||
| 102 | .z-invalid { | ||
| 103 | color: #ff3333; | ||
| 104 | } | ||
| 105 | .z-invalid.z-deprecated { | ||
| 106 | color: #ffffff; | ||
| 107 | background-color: #ff7733; | ||
| 108 | } | ||
| 109 | .z-meta.z-diff, .z-meta.z-diff.z-header { | ||
| 110 | color: #c594c5; | ||
| 111 | } | ||
| 112 | .z-source.z-ruby .z-variable.z-other.z-readwrite { | ||
| 113 | color: #ffb454; | ||
| 114 | } | ||
| 115 | .z-source.z-css .z-entity.z-name.z-tag, .z-source.z-sass .z-entity.z-name.z-tag, .z-source.z-scss .z-entity.z-name.z-tag, .z-source.z-less .z-entity.z-name.z-tag, .z-source.z-stylus .z-entity.z-name.z-tag { | ||
| 116 | color: #59c2ff; | ||
| 117 | } | ||
| 118 | .z-source.z-css .z-support.z-type, .z-source.z-sass .z-support.z-type, .z-source.z-scss .z-support.z-type, .z-source.z-less .z-support.z-type, .z-source.z-stylus .z-support.z-type { | ||
| 119 | color: #5c6773; | ||
| 120 | } | ||
| 121 | .z-support.z-type.z-property-name { | ||
| 122 | color: #39bae6; | ||
| 123 | } | ||
| 124 | .z-constant.z-numeric.z-line-number.z-find-in-files { | ||
| 125 | color: #5c6773; | ||
| 126 | } | ||
| 127 | .z-constant.z-numeric.z-line-number.z-match { | ||
| 128 | color: #ff7733; | ||
| 129 | } | ||
| 130 | .z-entity.z-name.z-filename.z-find-in-files { | ||
| 131 | color: #c2d94c; | ||
| 132 | } | ||
| 133 | .z-message.z-error { | ||
| 134 | color: #ff3333; | ||
| 135 | } | ||
| 136 | .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { | ||
| 137 | color: #39bae6; | ||
| 138 | } | ||
| 139 | .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { | ||
| 140 | color: #39bae6; | ||
| 141 | } | ||
| 142 | .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { | ||
| 143 | color: #39bae6; | ||
| 144 | } | ||
| 145 | .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { | ||
| 146 | color: #39bae6; | ||
| 147 | } | ||
| 148 | .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { | ||
| 149 | color: #39bae6; | ||
| 150 | } | ||
| 151 | .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { | ||
| 152 | color: #39bae6; | ||
| 153 | } | ||
| 154 | .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { | ||
| 155 | color: #39bae6; | ||
| 156 | } | ||
| 157 | .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { | ||
| 158 | color: #39bae6; | ||
| 159 | } | ||
| 160 | .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json, .z-source.z-json .z-meta.z-structure.z-dictionary.z-json .z-punctuation.z-definition.z-string { | ||
| 161 | color: #39bae6; | ||
| 162 | } | ||
| 163 | .z-markup.z-heading { | ||
| 164 | color: #ff7733; | ||
| 165 | font-weight: bold; | ||
| 166 | } | ||
| 167 | .z-string.z-other.z-link, .z-markup.z-underline.z-link { | ||
| 168 | color: #95e6cb; | ||
| 169 | text-decoration: underline; | ||
| 170 | font-style: italic; | ||
| 171 | } | ||
| 172 | .z-punctuation.z-definition.z-image { | ||
| 173 | color: #ffb454; | ||
| 174 | } | ||
| 175 | .z-markup.z-italic { | ||
| 176 | color: #f07178; | ||
| 177 | font-style: italic; | ||
| 178 | } | ||
| 179 | .z-markup.z-bold { | ||
| 180 | color: #f07178; | ||
| 181 | font-weight: bold; | ||
| 182 | } | ||
| 183 | .z-markup.z-italic .z-markup.z-bold, .z-markup.z-bold .z-markup.z-italic { | ||
| 184 | font-weight: bold; | ||
| 185 | font-style: italic; | ||
| 186 | } | ||
| 187 | .z-markup.z-raw { | ||
| 188 | background-color: #bfbab0; | ||
| 189 | } | ||
| 190 | .z-markup.z-raw.z-inline { | ||
| 191 | background-color: #bfbab0; | ||
| 192 | } | ||
| 193 | .z-meta.z-separator { | ||
| 194 | color: #5c6773; | ||
| 195 | background-color: #bfbab0; | ||
| 196 | font-weight: bold; | ||
| 197 | } | ||
| 198 | .z-markup.z-quote { | ||
| 199 | color: #f29718; | ||
| 200 | font-style: italic; | ||
| 201 | } | ||
| 202 | .z-markup.z-list.z-numbered.z-bullet, .z-markup.z-list .z-punctuation.z-definition.z-list_item { | ||
| 203 | color: #95e6cb; | ||
| 204 | } | ||
| 205 | .z-markup.z-inserted { | ||
| 206 | color: #c2d94c; | ||
| 207 | } | ||
| 208 | .z-markup.z-changed { | ||
| 209 | color: #39bae6; | ||
| 210 | } | ||
| 211 | .z-markup.z-deleted { | ||
| 212 | color: #f07178; | ||
| 213 | } | ||
| 214 | .z-markup.z-strike { | ||
| 215 | color: #e6b673; | ||
| 216 | } | ||
| 217 | .z-markup.z-table { | ||
| 218 | color: #39bae6; | ||
| 219 | background-color: #bfbab0; | ||
| 220 | } | ||
| 221 | .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { | ||
| 222 | color: #f29668; | ||
| 223 | } | ||
| 224 | .z-text.z-html.z-markdown .z-meta.z-dummy.z-line-break { | ||
| 225 | color: #5c6773; | ||
| 226 | } | ||
| 227 | .z-markup.z-raw.z-block.z-fenced.z-markdown { | ||
| 228 | color: #bfbab0; | ||
| 229 | background-color: #bfbab0; | ||
| 230 | } | ||
| 231 | .z-punctuation.z-definition.z-fenced.z-markdown, .z-variable.z-language.z-fenced.z-markdown { | ||
| 232 | color: #5c6773; | ||
| 233 | background-color: #bfbab0; | ||
| 234 | } | ||
| 235 | .z-variable.z-language.z-fenced.z-markdown { | ||
| 236 | color: #5c6773; | ||
| 237 | } | ||
| 238 | .z-markup.z-inserted.z-git_gutter { | ||
| 239 | color: #c2d94c; | ||
| 240 | } | ||
| 241 | .z-markup.z-changed.z-git_gutter { | ||
| 242 | color: #39bae6; | ||
| 243 | } | ||
| 244 | .z-markup.z-deleted.z-git_gutter { | ||
| 245 | color: #ff3333; | ||
| 246 | } | ||
| 247 | .z-markup.z-ignored.z-git_gutter { | ||
| 248 | color: #20272c; | ||
| 249 | } | ||
| 250 | .z-markup.z-untracked.z-git_gutter { | ||
| 251 | color: #20272c; | ||
| 252 | } | ||
| 253 | .z-gutter_color { | ||
| 254 | color: #ffffff; | ||
| 255 | } | ||
| 256 | .z-acejump.z-label.z-blue { | ||
| 257 | color: #ffffff; | ||
| 258 | background-color: #39bae6; | ||
| 259 | } | ||
| 260 | .z-acejump.z-label.z-green { | ||
| 261 | color: #ffffff; | ||
| 262 | background-color: #c2d94c; | ||
| 263 | } | ||
| 264 | .z-acejump.z-label.z-orange { | ||
| 265 | color: #ffffff; | ||
| 266 | background-color: #ff7733; | ||
| 267 | } | ||
| 268 | .z-acejump.z-label.z-purple { | ||
| 269 | color: #ffffff; | ||
| 270 | background-color: #f07178; | ||
| 271 | } | ||
| 272 | .z-sublimelinter.z-mark.z-warning { | ||
| 273 | color: #39bae6; | ||
| 274 | } | ||
| 275 | .z-sublimelinter.z-gutter-mark { | ||
| 276 | color: #ffffff; | ||
| 277 | } | ||
| 278 | .z-sublimelinter.z-mark.z-error { | ||
| 279 | color: #ff3333; | ||
| 280 | } | ||
theme/static/syntax-theme-light.css deleted −407
| @@ -1,407 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * theme "GitHub" generated by syntect | ||
| 3 | */ | ||
| 4 | |||
| 5 | .z-code { | ||
| 6 | color: #323232; | ||
| 7 | background-color: #ffffff; | ||
| 8 | } | ||
| 9 | |||
| 10 | .z-comment { | ||
| 11 | color: #969896; | ||
| 12 | font-style: italic; | ||
| 13 | } | ||
| 14 | .z-string { | ||
| 15 | color: #183691; | ||
| 16 | } | ||
| 17 | .z-regexp-operator { | ||
| 18 | color: #a71d5d; | ||
| 19 | } | ||
| 20 | .z-string.z-regexp.z-characterclass .z-punctuation.z-definition.z-string.z-begin, .z-string.z-regexp.z-characterclass .z-punctuation.z-definition.z-string.z-end { | ||
| 21 | color: #a71d5d; | ||
| 22 | } | ||
| 23 | .z-constant.z-numeric { | ||
| 24 | color: #0086b3; | ||
| 25 | } | ||
| 26 | .z-constant.z-language { | ||
| 27 | color: #0086b3; | ||
| 28 | } | ||
| 29 | .z-constant.z-character, .z-constant.z-other, .z-variable.z-other.z-constant { | ||
| 30 | color: #0086b3; | ||
| 31 | } | ||
| 32 | .z-variable { | ||
| 33 | color: #323232; | ||
| 34 | } | ||
| 35 | .z-keyword { | ||
| 36 | color: #a71d5d; | ||
| 37 | font-weight: bold; | ||
| 38 | } | ||
| 39 | .z-bitwise-operator { | ||
| 40 | color: #a71d5d; | ||
| 41 | font-weight: bold; | ||
| 42 | } | ||
| 43 | .z-storage { | ||
| 44 | color: #a71d5d; | ||
| 45 | font-weight: bold; | ||
| 46 | } | ||
| 47 | .z-storage.z-type { | ||
| 48 | color: #a71d5d; | ||
| 49 | font-weight: bold; | ||
| 50 | } | ||
| 51 | .z-entity.z-name.z-class { | ||
| 52 | color: #0086b3; | ||
| 53 | } | ||
| 54 | .z-entity.z-other.z-inherited-class { | ||
| 55 | color: #0086b3; | ||
| 56 | } | ||
| 57 | .z-entity.z-name.z-function { | ||
| 58 | color: #795da3; | ||
| 59 | font-weight: bold; | ||
| 60 | } | ||
| 61 | .z-variable.z-parameter { | ||
| 62 | color: #323232; | ||
| 63 | } | ||
| 64 | .z-entity.z-name.z-tag { | ||
| 65 | color: #63a35c; | ||
| 66 | } | ||
| 67 | .z-entity.z-other.z-attribute-name { | ||
| 68 | color: #795da3; | ||
| 69 | } | ||
| 70 | .z-support.z-function { | ||
| 71 | color: #62a35c; | ||
| 72 | } | ||
| 73 | .z-support.z-constant { | ||
| 74 | color: #0086b3; | ||
| 75 | } | ||
| 76 | .z-support.z-type, .z-support.z-class { | ||
| 77 | color: #0086b3; | ||
| 78 | } | ||
| 79 | .z-support.z-other.z-variable { | ||
| 80 | color: #323232; | ||
| 81 | } | ||
| 82 | .z-invalid, .z-invalid.z-illegal, .z-invalid.z-deprecated { | ||
| 83 | color: #b52a1d; | ||
| 84 | background-color: #f5f5f5; | ||
| 85 | font-weight: bold; | ||
| 86 | } | ||
| 87 | .z-entity.z-name.z-filename.z-find-in-files { | ||
| 88 | color: #323232; | ||
| 89 | font-weight: bold; | ||
| 90 | } | ||
| 91 | .z-constant.z-numeric.z-line-number.z-find-in-files, .z-constant.z-numeric.z-line-number.z-match.z-find-in-files { | ||
| 92 | color: #b3b3b3; | ||
| 93 | } | ||
| 94 | .z-meta.z-diff.z-header { | ||
| 95 | color: #969896; | ||
| 96 | background-color: #ffffff; | ||
| 97 | font-style: italic; | ||
| 98 | } | ||
| 99 | .z-meta.z-diff.z-header .z-punctuation.z-definition.z-from-file.z-diff { | ||
| 100 | color: #bd2c00; | ||
| 101 | background-color: #ffecec; | ||
| 102 | font-weight: bold; | ||
| 103 | font-style: italic; | ||
| 104 | } | ||
| 105 | .z-meta.z-diff.z-header .z-punctuation.z-definition.z-to-file.z-diff { | ||
| 106 | color: #55a532; | ||
| 107 | background-color: #eaffea; | ||
| 108 | font-weight: bold; | ||
| 109 | font-style: italic; | ||
| 110 | } | ||
| 111 | .z-meta.z-diff.z-range { | ||
| 112 | color: #969896; | ||
| 113 | font-weight: bold; | ||
| 114 | font-style: italic; | ||
| 115 | } | ||
| 116 | .z-markup.z-deleted { | ||
| 117 | background-color: #ffecec; | ||
| 118 | } | ||
| 119 | .z-markup.z-deleted .z-punctuation.z-definition.z-inserted { | ||
| 120 | color: #bd2c00; | ||
| 121 | font-weight: bold; | ||
| 122 | } | ||
| 123 | .z-markup.z-inserted { | ||
| 124 | background-color: #eaffea; | ||
| 125 | } | ||
| 126 | .z-markup.z-inserted .z-punctuation.z-definition.z-inserted { | ||
| 127 | color: #55a532; | ||
| 128 | font-weight: bold; | ||
| 129 | } | ||
| 130 | .z-markup.z-deleted.z-git_gutter { | ||
| 131 | color: #bd2c00; | ||
| 132 | } | ||
| 133 | .z-markup.z-inserted.z-git_gutter { | ||
| 134 | color: #55a532; | ||
| 135 | } | ||
| 136 | .z-markup.z-changed.z-git_gutter { | ||
| 137 | color: #0086b3; | ||
| 138 | } | ||
| 139 | .z-markup.z-ignored.z-git_gutter { | ||
| 140 | color: #b3b3b3; | ||
| 141 | } | ||
| 142 | .z-markup.z-untracked.z-git_gutter { | ||
| 143 | color: #b3b3b3; | ||
| 144 | } | ||
| 145 | .z-source.z-css .z-punctuation.z-definition.z-entity { | ||
| 146 | color: #323232; | ||
| 147 | } | ||
| 148 | .z-source.z-css .z-entity.z-other.z-attribute-name.z-pseudo-class, .z-source.z-css .z-entity.z-other.z-attribute-name.z-pseudo-element { | ||
| 149 | color: #a71d5d; | ||
| 150 | } | ||
| 151 | .z-source.z-css .z-meta.z-value, .z-source.z-css .z-support.z-constant, .z-source.z-css .z-support.z-function { | ||
| 152 | color: #323232; | ||
| 153 | } | ||
| 154 | .z-source.z-css .z-constant.z-other.z-color { | ||
| 155 | color: #ed6a43; | ||
| 156 | } | ||
| 157 | .z-source.z-scss .z-punctuation.z-definition.z-entity { | ||
| 158 | color: #323232; | ||
| 159 | } | ||
| 160 | .z-source.z-scss .z-entity.z-other.z-attribute-name.z-pseudo-class, .z-source.z-scss .z-entity.z-other.z-attribute-name.z-pseudo-element { | ||
| 161 | color: #a71d5d; | ||
| 162 | } | ||
| 163 | .z-source.z-scss .z-support.z-constant.z-property-value, .z-source.z-scss .z-support.z-function { | ||
| 164 | color: #323232; | ||
| 165 | } | ||
| 166 | .z-source.z-scss .z-variable { | ||
| 167 | color: #a71d5d; | ||
| 168 | } | ||
| 169 | .z-variable.z-language.z-this.z-js { | ||
| 170 | color: #ed6a43; | ||
| 171 | } | ||
| 172 | .z-source.z-js .z-entity.z-name.z-function { | ||
| 173 | color: #323232; | ||
| 174 | } | ||
| 175 | .z-source.z-js .z-meta.z-function .z-entity.z-name.z-function, .z-source.z-js .z-entity.z-name.z-function .z-meta.z-function { | ||
| 176 | color: #795da3; | ||
| 177 | font-weight: bold; | ||
| 178 | } | ||
| 179 | .z-entity.z-name.z-type.z-new.z-js { | ||
| 180 | color: #795da3; | ||
| 181 | } | ||
| 182 | .z-variable.z-language.z-prototype.z-js { | ||
| 183 | color: #0086b3; | ||
| 184 | } | ||
| 185 | .z-source.z-js .z-support.z-function { | ||
| 186 | color: #0086b3; | ||
| 187 | } | ||
| 188 | .z-support.z-type.z-object.z-console.z-js { | ||
| 189 | color: #795da3; | ||
| 190 | } | ||
| 191 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 192 | color: #183691; | ||
| 193 | font-weight: bold; | ||
| 194 | } | ||
| 195 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 196 | color: #323232; | ||
| 197 | } | ||
| 198 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 199 | color: #183691; | ||
| 200 | font-weight: bold; | ||
| 201 | } | ||
| 202 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 203 | color: #323232; | ||
| 204 | } | ||
| 205 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 206 | color: #183691; | ||
| 207 | font-weight: bold; | ||
| 208 | } | ||
| 209 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 210 | color: #323232; | ||
| 211 | } | ||
| 212 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 213 | color: #183691; | ||
| 214 | font-weight: bold; | ||
| 215 | } | ||
| 216 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 217 | color: #323232; | ||
| 218 | } | ||
| 219 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 220 | color: #183691; | ||
| 221 | font-weight: bold; | ||
| 222 | } | ||
| 223 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 224 | color: #323232; | ||
| 225 | } | ||
| 226 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 227 | color: #183691; | ||
| 228 | font-weight: bold; | ||
| 229 | } | ||
| 230 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 231 | color: #323232; | ||
| 232 | } | ||
| 233 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 234 | color: #183691; | ||
| 235 | font-weight: bold; | ||
| 236 | } | ||
| 237 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 238 | color: #323232; | ||
| 239 | } | ||
| 240 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 241 | color: #183691; | ||
| 242 | font-weight: bold; | ||
| 243 | } | ||
| 244 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 245 | color: #323232; | ||
| 246 | } | ||
| 247 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 248 | color: #183691; | ||
| 249 | font-weight: bold; | ||
| 250 | } | ||
| 251 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 252 | color: #323232; | ||
| 253 | } | ||
| 254 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 255 | color: #183691; | ||
| 256 | font-weight: bold; | ||
| 257 | } | ||
| 258 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 259 | color: #323232; | ||
| 260 | } | ||
| 261 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 262 | color: #183691; | ||
| 263 | font-weight: bold; | ||
| 264 | } | ||
| 265 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 266 | color: #323232; | ||
| 267 | } | ||
| 268 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 269 | color: #183691; | ||
| 270 | font-weight: bold; | ||
| 271 | } | ||
| 272 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 273 | color: #323232; | ||
| 274 | } | ||
| 275 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 276 | color: #183691; | ||
| 277 | font-weight: bold; | ||
| 278 | } | ||
| 279 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 280 | color: #323232; | ||
| 281 | } | ||
| 282 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 283 | color: #183691; | ||
| 284 | font-weight: bold; | ||
| 285 | } | ||
| 286 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 287 | color: #323232; | ||
| 288 | } | ||
| 289 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 290 | color: #183691; | ||
| 291 | font-weight: bold; | ||
| 292 | } | ||
| 293 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 294 | color: #323232; | ||
| 295 | } | ||
| 296 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 297 | color: #183691; | ||
| 298 | font-weight: bold; | ||
| 299 | } | ||
| 300 | .z-meta .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 301 | color: #323232; | ||
| 302 | } | ||
| 303 | .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 304 | color: #183691; | ||
| 305 | font-weight: bold; | ||
| 306 | } | ||
| 307 | .z-meta .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 308 | color: #323232; | ||
| 309 | } | ||
| 310 | .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 311 | color: #183691; | ||
| 312 | font-weight: bold; | ||
| 313 | } | ||
| 314 | .z-meta .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 315 | color: #323232; | ||
| 316 | } | ||
| 317 | .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 318 | color: #183691; | ||
| 319 | font-weight: bold; | ||
| 320 | } | ||
| 321 | .z-meta .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 322 | color: #323232; | ||
| 323 | } | ||
| 324 | .z-meta .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 325 | color: #183691; | ||
| 326 | font-weight: bold; | ||
| 327 | } | ||
| 328 | .z-meta .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 329 | color: #323232; | ||
| 330 | } | ||
| 331 | .z-meta.z-structure.z-dictionary.z-json .z-string.z-quoted.z-double.z-json { | ||
| 332 | color: #183691; | ||
| 333 | font-weight: bold; | ||
| 334 | } | ||
| 335 | .z-meta.z-structure.z-dictionary.z-json .z-meta.z-structure.z-dictionary.z-value.z-json .z-string.z-quoted.z-double.z-json { | ||
| 336 | color: #323232; | ||
| 337 | } | ||
| 338 | .z-source.z-python .z-keyword { | ||
| 339 | font-weight: bold; | ||
| 340 | } | ||
| 341 | .z-source.z-python .z-storage { | ||
| 342 | font-weight: bold; | ||
| 343 | } | ||
| 344 | .z-source.z-python .z-storage.z-type { | ||
| 345 | font-weight: bold; | ||
| 346 | } | ||
| 347 | .z-source.z-python .z-entity.z-name.z-function { | ||
| 348 | color: #323232; | ||
| 349 | font-weight: bold; | ||
| 350 | } | ||
| 351 | .z-source.z-php .z-entity.z-name.z-type.z-class { | ||
| 352 | color: #323232; | ||
| 353 | font-weight: bold; | ||
| 354 | } | ||
| 355 | .z-variable.z-language.z-ruby { | ||
| 356 | color: #ed6a43; | ||
| 357 | } | ||
| 358 | .z-entity.z-name.z-type.z-module.z-ruby { | ||
| 359 | color: #795da3; | ||
| 360 | font-weight: bold; | ||
| 361 | } | ||
| 362 | .z-entity.z-name.z-type.z-class.z-ruby { | ||
| 363 | color: #795da3; | ||
| 364 | font-weight: bold; | ||
| 365 | } | ||
| 366 | .z-entity.z-other.z-inherited-class.z-ruby { | ||
| 367 | color: #795da3; | ||
| 368 | font-weight: bold; | ||
| 369 | } | ||
| 370 | .z-punctuation.z-definition.z-heading.z-markdown, .z-punctuation.z-definition.z-italic.z-markdown, .z-punctuation.z-definition.z-bold.z-markdown, .z-punctuation.z-definition.z-string.z-begin.z-markdown, .z-punctuation.z-definition.z-string.z-end.z-markdown, .z-punctuation.z-definition.z-metadata.z-markdown, .z-punctuation.z-definition.z-link.z-markdown, .z-punctuation.z-definition.z-blockquote.z-markdown, .z-punctuation.z-definition.z-raw.z-markdown { | ||
| 371 | color: #a71d5d; | ||
| 372 | } | ||
| 373 | .z-text.z-html.z-markdown .z-meta.z-separator { | ||
| 374 | color: #b3b3b3; | ||
| 375 | } | ||
| 376 | .z-text.z-html.z-markdown .z-markup.z-heading { | ||
| 377 | font-weight: bold; | ||
| 378 | } | ||
| 379 | .z-text.z-html.z-markdown .z-markup.z-raw.z-block { | ||
| 380 | color: #323232; | ||
| 381 | } | ||
| 382 | .z-text.z-html.z-markdown .z-markup.z-raw.z-inline { | ||
| 383 | color: #323232; | ||
| 384 | } | ||
| 385 | .z-text.z-html.z-markdown .z-meta.z-link, .z-text.z-html.z-markdown .z-meta.z-image { | ||
| 386 | color: #4183c4; | ||
| 387 | } | ||
| 388 | .z-text.z-html.z-markdown .z-markup.z-underline.z-link, .z-text.z-html.z-markdown .z-constant.z-other.z-reference { | ||
| 389 | font-style: italic; | ||
| 390 | } | ||
| 391 | .z-text.z-html.z-markdown .z-markup.z-list { | ||
| 392 | color: #ed6a43; | ||
| 393 | } | ||
| 394 | .z-text.z-html.z-markdown .z-markup.z-bold { | ||
| 395 | font-weight: bold; | ||
| 396 | } | ||
| 397 | .z-text.z-html.z-markdown .z-markup.z-italic { | ||
| 398 | font-style: italic; | ||
| 399 | } | ||
| 400 | .z-text.z-html.z-markdown .z-markup.z-bold .z-markup.z-italic { | ||
| 401 | font-weight: bold; | ||
| 402 | font-style: italic; | ||
| 403 | } | ||
| 404 | .z-text.z-html.z-markdown .z-markup.z-italic .z-markup.z-bold { | ||
| 405 | font-weight: bold; | ||
| 406 | font-style: italic; | ||
| 407 | } | ||
theme/templates/base.html +3 −22
| @@ -5,8 +5,8 @@ | |||
| 5 | {% block head %} | 5 | {% block head %} |
| 6 | <meta charset="utf-8"> | 6 | <meta charset="utf-8"> |
| 7 | <title> | 7 | <title> |
| 8 | {% block subtitle %}{% endblock %} | 8 | {% block subtitle %}{% endblock %} |
| 9 | {% block title %}{{ site_name | default("weblorg website") }}{% endblock %} | 9 | {% block title %}{{ site_name | default("weblorg website") }}{% endblock %} |
| 10 | </title> | 10 | </title> |
| 11 | <meta name="viewport" content="width=device-width, initial-scale=1"> | 11 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 12 | {% if site_owner is defined %}<meta name="author" content="{{ site_owner }}" >{% endif %} | 12 | {% if site_owner is defined %}<meta name="author" content="{{ site_owner }}" >{% endif %} |
| @@ -17,25 +17,6 @@ | |||
| 17 | {% endblock %} | 17 | {% endblock %} |
| 18 | </head> | 18 | </head> |
| 19 | <body> | 19 | <body> |
| 20 | {% block nav %} | 20 | <main>{% block main %}{% endblock %}</main> |
| 21 | <nav class="site-nav" aria-label="site-nav" role="navigation"> | ||
| 22 | <ul> | ||
| 23 | <li><a href="/">Home</a></li> | ||
| 24 | <li><a href="/blog/">Blog</a></li> | ||
| 25 | <li><a href="/services/">Services</a></li> | ||
| 26 | <li><a href="/wiki/">Wiki</a></li> | ||
| 27 | </ul> | ||
| 28 | </nav> | ||
| 29 | {% endblock %} | ||
| 30 | |||
| 31 | <main>{% block main %}{% endblock %}</main> | ||
| 32 | |||
| 33 | {% block footer %} | ||
| 34 | <footer> | ||
| 35 | <p>Last Build: <<time datetime='{{ now() | strftime("%Y-%m-%d %H:%M:%S") }}''>{{ now() | strftime("%Y-%m-%d %a %H:%M:%S") }}</time>></p> | ||
| 36 | <p><a href="https://git.cleberg.net/?p=cleberg.net.git;a=summary" target="_blank" rel="noopener">Source Code</a></p> | ||
| 37 | <p><a href="/feed.xml">RSS Feed</a></p> | ||
| 38 | </footer> | ||
| 39 | {% endblock %} | ||
| 40 | </body> | 21 | </body> |
| 41 | </html> | 22 | </html> |
theme/templates/blog.html +10 −9
| @@ -2,13 +2,14 @@ | |||
| 2 | 2 | ||
| 3 | {% block subtitle %}Blog | {% endblock %} | 3 | {% block subtitle %}Blog | {% endblock %} |
| 4 | {% block main %} | 4 | {% block main %} |
| 5 | <h1>Blog</h1> | 5 | <p><a href="/">← home</a></p> |
| 6 | <p>Use <code>Ctrl + F</code> to search blog post titles for keywords.</p> | 6 | <h1>Blog</h1> |
| 7 | <p>You can also add the <a href="/feed.xml">RSS Feed</a> to your feed reader.</p> | 7 | <p>Use <code>Ctrl + F</code> to search blog post titles for keywords.</p> |
| 8 | {% for post in posts %} | 8 | <p>You can also add the <a href="/feed.xml">RSS Feed</a> to your feed reader.</p> |
| 9 | <div class="post"> | 9 | {% for post in posts %} |
| 10 | <time datetime="{{ post.date | strftime("%Y-%m-%d") }}"><{{ post.date|strftime("%Y-%m-%d") }}></time> | 10 | <div class="post"> |
| 11 | <a href="{{ url_for("blog", slug=post.slug) }}">{{ post.title }}</a> | 11 | <time datetime='{{ post.date | strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time> |
| 12 | </div> | 12 | <a href='{{ url_for("blog", slug=post.slug) }}'>{{ post.title }}</a> |
| 13 | {% endfor %} | 13 | </div> |
| 14 | {% endfor %} | ||
| 14 | {% endblock %} | 15 | {% endblock %} |
theme/templates/index.html +12 −47
| @@ -4,52 +4,17 @@ | |||
| 4 | <blockquote> | 4 | <blockquote> |
| 5 | Do AIs dream in electric sheep?<br />He hoped it had nanosecond nightmares. | 5 | Do AIs dream in electric sheep?<br />He hoped it had nanosecond nightmares. |
| 6 | </blockquote> | 6 | </blockquote> |
| 7 | <a href="https://git.cleberg.net">git</a> | ||
| 8 | <a href="/gpg.txt">gpg</a> | ||
| 9 | <a href="https://matrix.to/#/@cyborg:matrix.tchncs.de">matrix</a> | ||
| 10 | <a href="/feed.xml">rss</a> | ||
| 11 | <br> | ||
| 12 | <a href="/blog/">blog</a> | ||
| 13 | <a href="/salary/">salary</a> | ||
| 14 | <a href="/services/">services</a> | ||
| 15 | <a href="/wiki/">wiki</a> | ||
| 7 | </section> | 16 | </section> |
| 8 | <section> | 17 | <footer> |
| 9 | <h2>Featured Posts</h2> | 18 | <p>Last Build: <<time datetime='{{ now() | strftime("%Y-%m-%d %H:%M:%S") }}'>{{ now() | strftime("%Y-%m-%d %a %H:%M:%S") }}</time>></p> |
| 10 | <div class="post"> | 19 | </footer> |
| 11 | <time datetime="2024-03-29"><2024-03-29></time> | ||
| 12 | <a href="/blog/org-blog.html">Blogging in Org-Mode</a> | ||
| 13 | </div> | ||
| 14 | <div class="post"> | ||
| 15 | <time datetime="2024-03-14"><2024-03-14></time> | ||
| 16 | <a href="/blog/doom-emacs-org-mode.html">Doom Emacs & Org-Mode</a> | ||
| 17 | </div> | ||
| 18 | <div class="post"> | ||
| 19 | <time datetime="2023-10-04"><2023-10-04></time> | ||
| 20 | <a href="/blog/digital-minimalism.html">Digital Minimalism</a> | ||
| 21 | </div> | ||
| 22 | <br /> | ||
| 23 | <a href="/blog/">All Posts →</a> | ||
| 24 | </section> | ||
| 25 | <section> | ||
| 26 | <h2>Everything Else</h2> | ||
| 27 | <ul> | ||
| 28 | <li><a href="/salary/">Salary</a></li> | ||
| 29 | <li><a href="/services/">Services</a></li> | ||
| 30 | <li><a href="/wiki/">Wiki</a></li> | ||
| 31 | </ul> | ||
| 32 | </section> | ||
| 33 | <section> | ||
| 34 | <h2>Contact</h2> | ||
| 35 | <ul> | ||
| 36 | <li>hello [at] cleberg.net (<a href="/gpg.txt">GPG</a>)</li> | ||
| 37 | <li> | ||
| 38 | <a | ||
| 39 | href="https://matrix.to/#/@cyborg:matrix.tchncs.de" | ||
| 40 | target="_blank" | ||
| 41 | rel="noopener" | ||
| 42 | >@cyborg:@matrix.tchncs.de</a | ||
| 43 | > | ||
| 44 | </li> | ||
| 45 | <li> | ||
| 46 | <a | ||
| 47 | href="https://git.cleberg.net/?p=cleberg.net.git;a=summary" | ||
| 48 | target="_blank" | ||
| 49 | rel="noopener" | ||
| 50 | >Git</a | ||
| 51 | > | ||
| 52 | </li> | ||
| 53 | </ul> | ||
| 54 | </section> | ||
| 55 | {% endblock %} | 20 | {% endblock %} |
theme/templates/page.html +1
| @@ -4,6 +4,7 @@ | |||
| 4 | {{ post.title }} | | 4 | {{ post.title }} | |
| 5 | {% endblock %} | 5 | {% endblock %} |
| 6 | {% block main %} | 6 | {% block main %} |
| 7 | <p><a href="/">← home</a></p> | ||
| 7 | <article role="article"> | 8 | <article role="article"> |
| 8 | <h1>{{ post.title }}</h1> | 9 | <h1>{{ post.title }}</h1> |
| 9 | <section>{{ post.html | safe }}</section> | 10 | <section>{{ post.html | safe }}</section> |
theme/templates/post.html +11 −19
| @@ -1,30 +1,22 @@ | |||
| 1 | {% extends "base.html" %} | 1 | {% extends "base.html" %} {% block subtitle %} {{ post.title }} | {% endblock %} |
| 2 | |||
| 3 | {% block subtitle %} | ||
| 4 | {{ post.title }} | | ||
| 5 | {% endblock %} | ||
| 6 | {% block meta %} | 2 | {% block meta %} |
| 7 | <meta property="og:title" content="{{ post.title }}"> | 3 | <meta property="og:title" content="{{ post.title }}" /> |
| 8 | <meta property="og:url" content="{{ post.url }}"> | 4 | <meta property="og:url" content="{{ post.url }}" /> |
| 9 | {% if post.description is defined %} | 5 | {% if post.description is defined %} |
| 10 | <meta property="og:description" content="{{ post.description }}"> | 6 | <meta property="og:description" content="{{ post.description }}" /> |
| 11 | {% elif project_description is defined %} | 7 | {% elif project_description is defined %} |
| 12 | <meta property="og:description" content="{{ project_description }}"> | 8 | <meta property="og:description" content="{{ project_description }}" /> |
| 13 | {% endif %} | 9 | {% endif %} {% endblock %} {% block main %} |
| 14 | <link rel="stylesheet" href="/syntax-theme-dark.css" media="(prefers-color-scheme: dark)"> | 10 | <p><a href="/">← home</a></p> |
| 15 | <link rel="stylesheet" href="/syntax-theme-light.css" media="(prefers-color-scheme: light)"> | ||
| 16 | {% endblock %} | ||
| 17 | |||
| 18 | {% block main %} | ||
| 19 | <article role="article"> | 11 | <article role="article"> |
| 20 | <section class="post-metadata"> | 12 | <section class="post-metadata"> |
| 21 | <h1 class="post__title">{{ post.title }}</h1> | 13 | <h1 class="post__title">{{ post.title }}</h1> |
| 22 | {% if post.date is defined %} | 14 | {% if post.date is defined %} |
| 23 | <time datetime="{{ post.date|strftime("%Y-%m-%d") }}"><{{ post.date|strftime("%Y-%m-%d %a %H:%M:%S") }}></time> | 15 | <time datetime='{{ post.date|strftime("%Y-%m-%d") }}' |
| 16 | ><{{ post.date|strftime("%Y-%m-%d %a %H:%M:%S") }}></time | ||
| 17 | > | ||
| 24 | {% endif %} | 18 | {% endif %} |
| 25 | </section> | 19 | </section> |
| 26 | <section> | 20 | <section>{{ post.html | safe }}</section> |
| 27 | {{ post.html | safe }} | ||
| 28 | </section> | ||
| 29 | </article> | 21 | </article> |
| 30 | {% endblock %} | 22 | {% endblock %} |
theme/templates/wiki.html +4 −7
| @@ -2,16 +2,13 @@ | |||
| 2 | 2 | ||
| 3 | {% block subtitle %}Wiki | {% endblock %} | 3 | {% block subtitle %}Wiki | {% endblock %} |
| 4 | {% block main %} | 4 | {% block main %} |
| 5 | <p><a href="/">← home</a></p> | ||
| 5 | <h1>Wiki</h1> | 6 | <h1>Wiki</h1> |
| 6 | <p>Use <code>Ctrl + F</code> to search wiki pages for keywords.</p> | 7 | <p>Use <code>Ctrl + F</code> to search wiki pages for keywords.</p> |
| 7 | <div class="wiki-post"> | ||
| 8 | <p>Wiki Page</p> | ||
| 9 | <p>Last Updated</p> | ||
| 10 | </div> | ||
| 11 | {% for post in posts %} | 8 | {% for post in posts %} |
| 12 | <div class="wiki-post"> | 9 | <div class="post"> |
| 13 | <a href="{{ url_for("wiki", slug=post.slug) }}">{{ post.title }}</a> | 10 | <time datetime='{{ post.date | strftime("%Y-%m-%d") }}'>{{ post.date|strftime("%Y-%m-%d") }}</time> |
| 14 | <time datetime="{{ post.date | strftime("%Y-%m-%d") }}"><{{ post.date|strftime("%Y-%m-%d") }}></time> | 11 | <a href='{{ url_for("wiki", slug=post.slug) }}'>{{ post.title }}</a> |
| 15 | </div> | 12 | </div> |
| 16 | {% endfor %} | 13 | {% endfor %} |
| 17 | {% endblock %} | 14 | {% endblock %} |