Author:
Hash:
Timestamp:
+262 -393 +/-11 browse
Kevin Schoon [me@kevinschoon.com]
b99f2d574841b8d2466fa77cf6504f3f4cf0d028
Wed, 03 Dec 2025 13:56:33 +0000 (4 days ago)
| 1 | diff --git a/config.toml b/config.toml |
| 2 | index 14a4082..e2ca235 100644 |
| 3 | --- a/config.toml |
| 4 | +++ b/config.toml |
| 5 | @@ -2,7 +2,7 @@ |
| 6 | base_url = "https://forge-feed.org" |
| 7 | |
| 8 | # Whether to automatically compile all Sass files in the sass directory |
| 9 | - compile_sass = true |
| 10 | + compile_sass = false |
| 11 | |
| 12 | # Whether to build a search index to be used later on by a JavaScript library |
| 13 | build_search_index = false |
| 14 | diff --git a/sass/_base.scss b/sass/_base.scss |
| 15 | deleted file mode 100644 |
| 16 | index 184fa52..0000000 |
| 17 | --- a/sass/_base.scss |
| 18 | +++ /dev/null |
| 19 | @@ -1,114 +0,0 @@ |
| 20 | - @use "variables"; |
| 21 | - |
| 22 | - .wrapper { |
| 23 | - width: 860px; |
| 24 | - margin: 0 auto; |
| 25 | - } |
| 26 | - |
| 27 | - header { |
| 28 | - width: 170px; |
| 29 | - float: left; |
| 30 | - position: fixed; |
| 31 | - -webkit-font-smoothing: subpixel-antialiased; |
| 32 | - } |
| 33 | - |
| 34 | - body { |
| 35 | - background-color: #fff; |
| 36 | - padding: 50px; |
| 37 | - font: |
| 38 | - 14px/1.5 "Noto Sans", |
| 39 | - "Helvetica Neue", |
| 40 | - Helvetica, |
| 41 | - Arial, |
| 42 | - sans-serif; |
| 43 | - color: #222; |
| 44 | - font-weight: 400; |
| 45 | - } |
| 46 | - |
| 47 | - h1, |
| 48 | - h2, |
| 49 | - h3, |
| 50 | - h4, |
| 51 | - h5, |
| 52 | - h6 { |
| 53 | - color: #222; |
| 54 | - margin: 0 0 20px; |
| 55 | - } |
| 56 | - |
| 57 | - p, |
| 58 | - ul, |
| 59 | - ol, |
| 60 | - table, |
| 61 | - pre, |
| 62 | - dl { |
| 63 | - margin: 0 0 20px; |
| 64 | - } |
| 65 | - |
| 66 | - h1, |
| 67 | - h2, |
| 68 | - h3 { |
| 69 | - line-height: 1.1; |
| 70 | - } |
| 71 | - |
| 72 | - h1 { |
| 73 | - font-size: 28px; |
| 74 | - } |
| 75 | - |
| 76 | - a { |
| 77 | - color: #267cb9; |
| 78 | - text-decoration: none; |
| 79 | - } |
| 80 | - |
| 81 | - a:hover, |
| 82 | - a:focus { |
| 83 | - color: salmon; |
| 84 | - } |
| 85 | - |
| 86 | - a small { |
| 87 | - font-size: 11px; |
| 88 | - color: black; |
| 89 | - margin-top: -0.3em; |
| 90 | - display: block; |
| 91 | - } |
| 92 | - |
| 93 | - a:hover small { |
| 94 | - color: #777; |
| 95 | - } |
| 96 | - |
| 97 | - strong { |
| 98 | - color: #222; |
| 99 | - font-weight: 700; |
| 100 | - } |
| 101 | - |
| 102 | - section { |
| 103 | - width: 600px; |
| 104 | - float: right; |
| 105 | - padding-bottom: 50px; |
| 106 | - } |
| 107 | - |
| 108 | - small { |
| 109 | - font-size: 11px; |
| 110 | - } |
| 111 | - |
| 112 | - hr { |
| 113 | - border: 0; |
| 114 | - background: #e5e5e5; |
| 115 | - height: 1px; |
| 116 | - margin: 0 0 20px; |
| 117 | - } |
| 118 | - |
| 119 | - footer { |
| 120 | - width: 270px; |
| 121 | - float: left; |
| 122 | - position: fixed; |
| 123 | - bottom: 50px; |
| 124 | - -webkit-font-smoothing: subpixel-antialiased; |
| 125 | - } |
| 126 | - |
| 127 | - pre { |
| 128 | - padding: 8px 15px; |
| 129 | - // background: #f8f8f8; |
| 130 | - border-radius: 5px; |
| 131 | - border: 1px solid #e5e5e5; |
| 132 | - overflow-x: auto; |
| 133 | - } |
| 134 | \ No newline at end of file |
| 135 | diff --git a/sass/_classes.scss b/sass/_classes.scss |
| 136 | deleted file mode 100644 |
| 137 | index 434325c..0000000 |
| 138 | --- a/sass/_classes.scss |
| 139 | +++ /dev/null |
| 140 | @@ -1,58 +0,0 @@ |
| 141 | - ul.downloads { |
| 142 | - list-style: none; |
| 143 | - height: 40px; |
| 144 | - padding: 0; |
| 145 | - background: #f4f4f4; |
| 146 | - border-radius: 5px; |
| 147 | - border: 1px solid #e0e0e0; |
| 148 | - width: 270px; |
| 149 | - } |
| 150 | - |
| 151 | - .downloads li { |
| 152 | - width: 89px; |
| 153 | - float: left; |
| 154 | - border-right: 1px solid #e0e0e0; |
| 155 | - height: 40px; |
| 156 | - } |
| 157 | - |
| 158 | - .downloads li:first-child a { |
| 159 | - border-radius: 5px 0 0 5px; |
| 160 | - } |
| 161 | - |
| 162 | - .downloads li:last-child a { |
| 163 | - border-radius: 0 5px 5px 0; |
| 164 | - } |
| 165 | - |
| 166 | - .downloads a { |
| 167 | - line-height: 1; |
| 168 | - font-size: 11px; |
| 169 | - display: block; |
| 170 | - text-align: center; |
| 171 | - padding-top: 6px; |
| 172 | - height: 34px; |
| 173 | - } |
| 174 | - |
| 175 | - .downloads a:hover, |
| 176 | - .downloads a:focus { |
| 177 | - font-weight: bold; |
| 178 | - } |
| 179 | - |
| 180 | - .downloads ul a:active { |
| 181 | - background-color: #f0f0f0; |
| 182 | - } |
| 183 | - |
| 184 | - .downloads li+li+li { |
| 185 | - border-right: none; |
| 186 | - width: 89px; |
| 187 | - } |
| 188 | - |
| 189 | - .downloads a strong { |
| 190 | - font-size: 14px; |
| 191 | - display: block; |
| 192 | - color: #222; |
| 193 | - } |
| 194 | - |
| 195 | - .site-logo { |
| 196 | - margin-bottom: 1rem; |
| 197 | - width: 100%; |
| 198 | - } |
| 199 | \ No newline at end of file |
| 200 | diff --git a/sass/_code.scss b/sass/_code.scss |
| 201 | deleted file mode 100644 |
| 202 | index 0dd3c6d..0000000 |
| 203 | --- a/sass/_code.scss |
| 204 | +++ /dev/null |
| 205 | @@ -1,17 +0,0 @@ |
| 206 | - pre, |
| 207 | - code { |
| 208 | - font-family: monospace; |
| 209 | - } |
| 210 | - |
| 211 | - code { |
| 212 | - border-radius: 3px; |
| 213 | - } |
| 214 | - |
| 215 | - pre { |
| 216 | - overflow: auto; |
| 217 | - } |
| 218 | - |
| 219 | - pre code { |
| 220 | - background-color: transparent; |
| 221 | - color: inherit; |
| 222 | - } |
| 223 | diff --git a/sass/_custom.scss b/sass/_custom.scss |
| 224 | deleted file mode 100644 |
| 225 | index bc93021..0000000 |
| 226 | --- a/sass/_custom.scss |
| 227 | +++ /dev/null |
| 228 | @@ -1,56 +0,0 @@ |
| 229 | - // Custom CSS code goes here |
| 230 | - |
| 231 | - @media (prefers-color-scheme: dark) { |
| 232 | - |
| 233 | - .sourcehut { |
| 234 | - filter: invert(100%); |
| 235 | - } |
| 236 | - |
| 237 | - body { |
| 238 | - background-color: #222; |
| 239 | - color: #FFF |
| 240 | - } |
| 241 | - |
| 242 | - strong { |
| 243 | - color: #FFF; |
| 244 | - } |
| 245 | - |
| 246 | - h1, |
| 247 | - h2, |
| 248 | - h3, |
| 249 | - h4, |
| 250 | - h5, |
| 251 | - h6 { |
| 252 | - color: #FFF; |
| 253 | - } |
| 254 | - |
| 255 | - a small { |
| 256 | - color: white; |
| 257 | - } |
| 258 | - } |
| 259 | - |
| 260 | - footer>a>img { |
| 261 | - max-height: 20px; |
| 262 | - } |
| 263 | - |
| 264 | - div#validator > form { |
| 265 | - display: flex; |
| 266 | - flex-direction: column; |
| 267 | - background-color: grey; |
| 268 | - border: solid; |
| 269 | - padding: 10px; |
| 270 | - } |
| 271 | - |
| 272 | - div#validator > form > input { |
| 273 | - margin: 2px; |
| 274 | - } |
| 275 | - |
| 276 | - div#validator > form > button { |
| 277 | - margin-top: 20px; |
| 278 | - } |
| 279 | - |
| 280 | - .computed { |
| 281 | - padding: 8px 15px; |
| 282 | - border-radius: 5px; |
| 283 | - border: 1px solid #e5e5e5; |
| 284 | - } |
| 285 | diff --git a/sass/_layout.scss b/sass/_layout.scss |
| 286 | deleted file mode 100644 |
| 287 | index b29360f..0000000 |
| 288 | --- a/sass/_layout.scss |
| 289 | +++ /dev/null |
| 290 | @@ -1,89 +0,0 @@ |
| 291 | - @media print, |
| 292 | - screen and (max-width: 960px) { |
| 293 | - div.wrapper { |
| 294 | - width: auto; |
| 295 | - margin: 0; |
| 296 | - } |
| 297 | - |
| 298 | - header, |
| 299 | - section, |
| 300 | - footer { |
| 301 | - float: none; |
| 302 | - position: static; |
| 303 | - width: auto; |
| 304 | - } |
| 305 | - |
| 306 | - header { |
| 307 | - padding-right: 320px; |
| 308 | - } |
| 309 | - |
| 310 | - section { |
| 311 | - border: 1px solid #e5e5e5; |
| 312 | - border-width: 1px 0; |
| 313 | - padding: 20px 0; |
| 314 | - margin: 0 0 20px; |
| 315 | - } |
| 316 | - |
| 317 | - header a small { |
| 318 | - display: inline; |
| 319 | - } |
| 320 | - |
| 321 | - header ul { |
| 322 | - position: absolute; |
| 323 | - right: 50px; |
| 324 | - top: 52px; |
| 325 | - } |
| 326 | - } |
| 327 | - |
| 328 | - @media print, |
| 329 | - screen and (max-width: 720px) { |
| 330 | - body { |
| 331 | - word-wrap: break-word; |
| 332 | - } |
| 333 | - |
| 334 | - header { |
| 335 | - padding: 0; |
| 336 | - } |
| 337 | - |
| 338 | - header ul, |
| 339 | - header p.view { |
| 340 | - position: static; |
| 341 | - margin: 1rem auto; |
| 342 | - } |
| 343 | - |
| 344 | - pre, |
| 345 | - code { |
| 346 | - word-wrap: normal; |
| 347 | - text-wrap: wrap; |
| 348 | - } |
| 349 | - } |
| 350 | - |
| 351 | - @media print, |
| 352 | - screen and (max-width: 480px) { |
| 353 | - body { |
| 354 | - padding: 15px; |
| 355 | - } |
| 356 | - |
| 357 | - .downloads { |
| 358 | - width: 100%; |
| 359 | - margin: 1rem auto; |
| 360 | - } |
| 361 | - |
| 362 | - .downloads li, |
| 363 | - .downloads li+li+li { |
| 364 | - width: 33%; |
| 365 | - } |
| 366 | - } |
| 367 | - |
| 368 | - @media print { |
| 369 | - body { |
| 370 | - padding: 0.4in; |
| 371 | - font-size: 12pt; |
| 372 | - color: #444; |
| 373 | - } |
| 374 | - } |
| 375 | - |
| 376 | - ::selection { |
| 377 | - background: rebeccapurple; |
| 378 | - color: white; |
| 379 | - } |
| 380 | \ No newline at end of file |
| 381 | diff --git a/sass/_tables.scss b/sass/_tables.scss |
| 382 | deleted file mode 100644 |
| 383 | index 96350d2..0000000 |
| 384 | --- a/sass/_tables.scss |
| 385 | +++ /dev/null |
| 386 | @@ -1,22 +0,0 @@ |
| 387 | - @use "variables"; |
| 388 | - |
| 389 | - table { |
| 390 | - margin: 1rem auto; |
| 391 | - border-collapse: collapse; |
| 392 | - } |
| 393 | - |
| 394 | - table thead th, |
| 395 | - table tfoot th { |
| 396 | - color: variables.$font-color; |
| 397 | - background: rgba(0, 0, 0, 0.15); |
| 398 | - } |
| 399 | - |
| 400 | - table caption { |
| 401 | - padding: 0.5em; |
| 402 | - } |
| 403 | - |
| 404 | - table th, |
| 405 | - table td { |
| 406 | - padding: 0.5em; |
| 407 | - border: 1px solid variables.$border-color; |
| 408 | - } |
| 409 | diff --git a/sass/_variables.scss b/sass/_variables.scss |
| 410 | deleted file mode 100644 |
| 411 | index 17151b8..0000000 |
| 412 | --- a/sass/_variables.scss |
| 413 | +++ /dev/null |
| 414 | @@ -1,28 +0,0 @@ |
| 415 | - // Variables |
| 416 | - $font-color: #202020; |
| 417 | - $bg-color: #fff; |
| 418 | - $border-color: #e5e5e5; |
| 419 | - $section-width: 500px; |
| 420 | - $header-width: 270px; |
| 421 | - $footer-width: 270px; |
| 422 | - $wrapper-width: 860px; |
| 423 | - $link-color: #267cb9; |
| 424 | - $link-color-hover: #069; |
| 425 | - $font-color-small: #777; |
| 426 | - $font-color-code: #333; |
| 427 | - $font-size-small: 11px; |
| 428 | - $font-family: "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; |
| 429 | - $font-family-code: |
| 430 | - Monaco, |
| 431 | - Bitstream Vera Sans Mono, |
| 432 | - Lucida Console, |
| 433 | - Terminal, |
| 434 | - Consolas, |
| 435 | - Liberation Mono, |
| 436 | - DejaVu Sans Mono, |
| 437 | - Courier New, |
| 438 | - monospace; |
| 439 | - |
| 440 | - $media-max-width: 960px; |
| 441 | - $media-max-width-smaller: 720px; |
| 442 | - $media-max-width-even-smaller: 480px; |
| 443 | diff --git a/sass/styles.scss b/sass/styles.scss |
| 444 | deleted file mode 100644 |
| 445 | index 8fca72c..0000000 |
| 446 | --- a/sass/styles.scss |
| 447 | +++ /dev/null |
| 448 | @@ -1,7 +0,0 @@ |
| 449 | - @use "variables"; |
| 450 | - @use "base"; |
| 451 | - @use "classes"; |
| 452 | - @use "layout"; |
| 453 | - @use "tables"; |
| 454 | - @use "code"; |
| 455 | - @use "custom"; |
| 456 | diff --git a/static/style.css b/static/style.css |
| 457 | new file mode 100644 |
| 458 | index 0000000..1dfb5ab |
| 459 | --- /dev/null |
| 460 | +++ b/static/style.css |
| 461 | @@ -0,0 +1,260 @@ |
| 462 | + .wrapper { |
| 463 | + width: 860px; |
| 464 | + margin: 0 auto; |
| 465 | + } |
| 466 | + |
| 467 | + header { |
| 468 | + width: 170px; |
| 469 | + float: left; |
| 470 | + position: fixed; |
| 471 | + -webkit-font-smoothing: subpixel-antialiased; |
| 472 | + } |
| 473 | + |
| 474 | + body { |
| 475 | + background-color: #fff; |
| 476 | + padding: 50px; |
| 477 | + color: #222; |
| 478 | + font-size: 1.2em; |
| 479 | + font-family: monospace; |
| 480 | + font-weight: 400; |
| 481 | + } |
| 482 | + |
| 483 | + h1, |
| 484 | + h2, |
| 485 | + h3, |
| 486 | + h4, |
| 487 | + h5, |
| 488 | + h6 { |
| 489 | + color: #222; |
| 490 | + margin: 0 0 20px; |
| 491 | + } |
| 492 | + |
| 493 | + p, |
| 494 | + ul, |
| 495 | + ol, |
| 496 | + table, |
| 497 | + pre, |
| 498 | + dl { |
| 499 | + margin: 0 0 20px; |
| 500 | + } |
| 501 | + |
| 502 | + h1, |
| 503 | + h2, |
| 504 | + h3 { |
| 505 | + line-height: 1.1; |
| 506 | + } |
| 507 | + |
| 508 | + h1 { |
| 509 | + font-size: 28px; |
| 510 | + } |
| 511 | + |
| 512 | + a { |
| 513 | + color: #267cb9; |
| 514 | + text-decoration: none; |
| 515 | + } |
| 516 | + |
| 517 | + a:hover, |
| 518 | + a:focus { |
| 519 | + color: salmon; |
| 520 | + } |
| 521 | + |
| 522 | + a small { |
| 523 | + font-size: 11px; |
| 524 | + color: black; |
| 525 | + margin-top: -0.3em; |
| 526 | + display: block; |
| 527 | + } |
| 528 | + |
| 529 | + a:hover small { |
| 530 | + color: #777; |
| 531 | + } |
| 532 | + |
| 533 | + strong { |
| 534 | + color: #222; |
| 535 | + font-weight: 700; |
| 536 | + } |
| 537 | + |
| 538 | + section { |
| 539 | + width: 600px; |
| 540 | + float: right; |
| 541 | + padding-bottom: 50px; |
| 542 | + } |
| 543 | + |
| 544 | + small { |
| 545 | + font-size: 11px; |
| 546 | + } |
| 547 | + |
| 548 | + hr { |
| 549 | + border: 0; |
| 550 | + background: #e5e5e5; |
| 551 | + height: 1px; |
| 552 | + margin: 0 0 20px; |
| 553 | + } |
| 554 | + |
| 555 | + footer { |
| 556 | + width: 270px; |
| 557 | + float: left; |
| 558 | + position: fixed; |
| 559 | + bottom: 50px; |
| 560 | + -webkit-font-smoothing: subpixel-antialiased; |
| 561 | + } |
| 562 | + |
| 563 | + pre { |
| 564 | + padding: 8px 15px; |
| 565 | + // background: #f8f8f8; |
| 566 | + border-radius: 5px; |
| 567 | + border: 1px solid #e5e5e5; |
| 568 | + overflow-x: auto; |
| 569 | + } |
| 570 | + |
| 571 | + .site-logo { |
| 572 | + margin-bottom: 1rem; |
| 573 | + width: 100%; |
| 574 | + }pre, |
| 575 | + code { |
| 576 | + font-family: monospace; |
| 577 | + } |
| 578 | + |
| 579 | + code { |
| 580 | + border-radius: 3px; |
| 581 | + } |
| 582 | + |
| 583 | + pre { |
| 584 | + overflow: auto; |
| 585 | + } |
| 586 | + |
| 587 | + pre code { |
| 588 | + background-color: transparent; |
| 589 | + color: inherit; |
| 590 | + } |
| 591 | + |
| 592 | + @media (prefers-color-scheme: dark) { |
| 593 | + |
| 594 | + .sourcehut { |
| 595 | + filter: invert(100%); |
| 596 | + } |
| 597 | + |
| 598 | + body { |
| 599 | + background-color: #222; |
| 600 | + color: #FFF |
| 601 | + } |
| 602 | + |
| 603 | + strong { |
| 604 | + color: #FFF; |
| 605 | + } |
| 606 | + |
| 607 | + h1, |
| 608 | + h2, |
| 609 | + h3, |
| 610 | + h4, |
| 611 | + h5, |
| 612 | + h6 { |
| 613 | + color: #FFF; |
| 614 | + } |
| 615 | + |
| 616 | + a small { |
| 617 | + color: white; |
| 618 | + } |
| 619 | + } |
| 620 | + |
| 621 | + footer>a>img { |
| 622 | + max-height: 20px; |
| 623 | + } |
| 624 | + |
| 625 | + div#validator > form { |
| 626 | + display: flex; |
| 627 | + flex-direction: column; |
| 628 | + background-color: grey; |
| 629 | + border: solid; |
| 630 | + padding: 10px; |
| 631 | + } |
| 632 | + |
| 633 | + div#validator > form > input { |
| 634 | + margin: 2px; |
| 635 | + } |
| 636 | + |
| 637 | + div#validator > form > button { |
| 638 | + margin-top: 20px; |
| 639 | + } |
| 640 | + |
| 641 | + .computed { |
| 642 | + padding: 8px 15px; |
| 643 | + border-radius: 5px; |
| 644 | + border: 1px solid #e5e5e5; |
| 645 | + } |
| 646 | + |
| 647 | + @media print, |
| 648 | + screen and (max-width: 960px) { |
| 649 | + div.wrapper { |
| 650 | + width: auto; |
| 651 | + margin: 0; |
| 652 | + } |
| 653 | + |
| 654 | + header, |
| 655 | + section, |
| 656 | + footer { |
| 657 | + float: none; |
| 658 | + position: static; |
| 659 | + width: auto; |
| 660 | + } |
| 661 | + |
| 662 | + header { |
| 663 | + padding-right: 320px; |
| 664 | + } |
| 665 | + |
| 666 | + section { |
| 667 | + border: 1px solid #e5e5e5; |
| 668 | + border-width: 1px 0; |
| 669 | + padding: 20px 0; |
| 670 | + margin: 0 0 20px; |
| 671 | + } |
| 672 | + |
| 673 | + header a small { |
| 674 | + display: inline; |
| 675 | + } |
| 676 | + |
| 677 | + header ul { |
| 678 | + position: absolute; |
| 679 | + right: 50px; |
| 680 | + top: 52px; |
| 681 | + } |
| 682 | + } |
| 683 | + |
| 684 | + @media print, |
| 685 | + screen and (max-width: 720px) { |
| 686 | + body { |
| 687 | + word-wrap: break-word; |
| 688 | + } |
| 689 | + |
| 690 | + header { |
| 691 | + padding: 0; |
| 692 | + } |
| 693 | + |
| 694 | + header ul, |
| 695 | + header p.view { |
| 696 | + position: static; |
| 697 | + margin: 1rem auto; |
| 698 | + } |
| 699 | + |
| 700 | + pre, |
| 701 | + code { |
| 702 | + word-wrap: normal; |
| 703 | + text-wrap: wrap; |
| 704 | + } |
| 705 | + } |
| 706 | + |
| 707 | + @media print, |
| 708 | + screen and (max-width: 480px) { |
| 709 | + body { |
| 710 | + padding: 15px; |
| 711 | + } |
| 712 | + } |
| 713 | + |
| 714 | + @media print { |
| 715 | + body { |
| 716 | + padding: 0.4in; |
| 717 | + font-size: 12pt; |
| 718 | + color: #444; |
| 719 | + } |
| 720 | + } |
| 721 | + |
| 722 | diff --git a/templates/base.html b/templates/base.html |
| 723 | index c58db66..066db58 100644 |
| 724 | --- a/templates/base.html |
| 725 | +++ b/templates/base.html |
| 726 | @@ -10,7 +10,7 @@ |
| 727 | itemprop="about" |
| 728 | content="{{config.description}}" |
| 729 | /> |
| 730 | - <link rel="stylesheet" href="{{ get_url(path='styles.css') | safe }}" /> |
| 731 | + <link rel="stylesheet" href="{{ get_url(path='style.css') | safe }}" /> |
| 732 | </head> |
| 733 | |
| 734 | <body> |