diff options
| -rw-r--r-- | content/assets/site.css | 35 | ||||
| -rw-r--r-- | licenses/README.org | 4 | ||||
| -rw-r--r-- | src/operationnull/theme.scm | 39 |
3 files changed, 56 insertions, 22 deletions
diff --git a/content/assets/site.css b/content/assets/site.css index 2638f11..de86b92 100644 --- a/content/assets/site.css +++ b/content/assets/site.css @@ -153,7 +153,6 @@ body li { } body img { - border: 1px solid #ccc; height: auto; width: auto; flex: 0 0 auto; @@ -399,3 +398,37 @@ iframe { .syntax-open, .syntax-close { color: #ccc; } + +/* Image Board */ +.grid { + column-count: 2; + column-gap: 6px; +} + +.grid figure { + padding: 0; + margin: 0; + width: 100%; + height: auto; + display: inline-block; + margin-bottom: 10px; + break-inside: avoid; + page-break-inside: avoid; +} + +.grid img { + width: 100%; + height: auto; + object-fit: contain; + display: block; +} + +.grid figcaption { + text-align: right; + font-size: 70%; + font-style: italic; +} + +@media (max-width: 800px) { + .grid { column-count: 1; } +} diff --git a/licenses/README.org b/licenses/README.org index e365893..66dcbb3 100644 --- a/licenses/README.org +++ b/licenses/README.org @@ -1,9 +1,9 @@ * Copying and license information -Pages under this site are distributed under the terms of the CC BY 4.0 License; you can copy and redistribute the material in any medium or format for any purpose, even commercially as long as you give appropriate credit. +Pages under this site are distributed under the terms of the CC BY-SA 4.0 License; you can copy and redistribute the material in any medium or format under the same terms, as long as you give appropriate credit. The following supporting files are distributed under separate terms: ~/content/assets/bg/*~ are distributed under the CC0 1.0 License. -d + ~/content/assets/roskva.png~ artwork is copyright © rottngutt (https://rottngutt.rf.gd/tos.php). diff --git a/src/operationnull/theme.scm b/src/operationnull/theme.scm index 7eded32..ba215a7 100644 --- a/src/operationnull/theme.scm +++ b/src/operationnull/theme.scm @@ -12,7 +12,7 @@ (define %cc-by-sa-link '(a (@ (href "https://creativecommons.org/licenses/by-sa/4.0/")) - "CC-BY-SA 4.0")) + "CC BY-SA 4.0")) (define %intro `(intro @@ -22,15 +22,15 @@ (div (@ (class "intro-left")) (nav (div (ul (li (a (@ (href "/contact.html")) - "contact")) + "contact")) (li (a (@ (href "/posts/")) "blog")) - (li (a (@ (href "https://git.operationnull.com/")) - "git")) + (li (a (@ (href "https://git.operationnull.com/")) + "git")) (li (a (@ (href "https://codeberg.org/bdunahu")) - "codeberg")) + "codeberg")) (li (a (@ (href "gemini://porphyrion.operationnull.com/")) - "porphyrion")))))) + "porphyrion")))))) (div (@ (class "intro-right")) (nav (@ (id "umaring-id"))) (script (@ (id "umaring_js") @@ -38,24 +38,24 @@ (define %footer `(footer (@ (class "footer")) - ,(date->string (current-date) "Copyright © 2024-~Y bdunahu") - "." - (br) - "Header art © " + ,(date->string (current-date) "Content © 2024-~Y bdunahu") + ", art © " (a (@ (href "https://rottngutt.rf.gd/about.php")) "rottngutt") - ", other content available under the " ,%cc-by-sa-link " license " - (a (@ (href "https://git.operationnull.com/operationnull.git/")) + "." + (br) + "Much of this site licensed under the " ,%cc-by-sa-link ", see " + (a (@ (href "https://git.operationnull.com/operationnull.git/tree/licenses/README.org")) "here") "." (br) - "Last updated on " - ,(date->string (current-date) "~b ~d, ~Y") - ". Generated with " - (a (@ (href "https://dthompson.us/projects/haunt.html")) + "Last updated on " + ,(date->string (current-date) "~b ~d, ~Y") + ". Generated with " + (a (@ (href "https://dthompson.us/projects/haunt.html")) "Haunt") - " and " - (a (@ (href "https://gnu.org/software/guile")) + " and " + (a (@ (href "https://gnu.org/software/guile")) "Guile Scheme") ".")) @@ -89,7 +89,8 @@ ;; (type "image/x-icon") ;; (href "/assets/favicon.ico"))) (title ,(string-append title " — " (site-title site))) - ,(stylesheet "site")) + ,(stylesheet "site") + ,(stylesheet "xtra")) ,%intro (body (div (@ (class "container")) |
