From f45d321b2879553fb250dbc9866d65a63306b634 Mon Sep 17 00:00:00 2001 From: lemurianmage Date: Thu, 23 Jul 2026 22:51:59 +0200 Subject: dalem.foo button and stylesheet stuff --- src/index.md | 2 +- src/me/donate.md | 3 ++- src/misc/buttons.md | 3 ++- static/buttons/buttondalem.png | Bin 0 -> 5726 bytes static/stylesheet.css | 47 +++++++++++++++++++++++------------------ template.html | 7 +++--- 6 files changed, 35 insertions(+), 27 deletions(-) create mode 100644 static/buttons/buttondalem.png diff --git a/src/index.md b/src/index.md index df7b89e..92cc46e 100644 --- a/src/index.md +++ b/src/index.md @@ -2,5 +2,5 @@ Title: slimegirl.nexus - [about](me/index.html) - [links](links.html) -- [writings](writings/index.html) +- [words](writings/index.html) - [misc](misc/index.html) diff --git a/src/me/donate.md b/src/me/donate.md index 8c21e5a..e032b54 100644 --- a/src/me/donate.md +++ b/src/me/donate.md @@ -1,5 +1,6 @@ Title: money can be exchanged for goods and services +![monero public address QR code](/monero-qr.png) XMR : `83FxBRziyTQWuPKqGTesWGjLfM5Vai8QSbikur5zGHWKFc584cgmbKHjWpQoJzR9Su7NVEX9GVg23iksCKp8doBFCVSsGca` -![monero public address QR code](/monero-qr.png) + diff --git a/src/misc/buttons.md b/src/misc/buttons.md index c0c3a52..847a99f 100644 --- a/src/misc/buttons.md +++ b/src/misc/buttons.md @@ -10,5 +10,6 @@ friends and things and such. [![secondshell](/buttons/secondshell.webp)](https://secondshell.net){ .button } [![twinningl00m](/buttons/murrumurgreen.png)](https://twinningl00m.neocities.org){ .button } [![333voidgirl](/buttons/n1l.gif)](https://magentahardcore.com){ .button } +[![dalem](/buttons/buttondalem.png)](https://dalem.foo){ .button } -mine coming soon(tm). \ No newline at end of file +mine coming soon(tm). diff --git a/static/buttons/buttondalem.png b/static/buttons/buttondalem.png new file mode 100644 index 0000000..6e5c88e Binary files /dev/null and b/static/buttons/buttondalem.png differ diff --git a/static/stylesheet.css b/static/stylesheet.css index 7796c43..814af8b 100644 --- a/static/stylesheet.css +++ b/static/stylesheet.css @@ -1,39 +1,48 @@ -* { color-scheme: light dark; } +:root +{ + --bg: whitesmoke; + --fg: #111; + --link: darkorchid; +} + +@media (prefers-color-scheme: dark) +{ + :root + { + --bg: #111; + --fg: whitesmoke; + --link: orchid; + } +} + body { + background-color: var(--bg); + color: var(--fg); max-width: 80ch; - margin: auto; + margin: 0.5em auto; font-family: serif; - font-size: 1.3em; + font-size: 1.2em; padding: 0 1em; + padding-top: 1em; text-align: justify; + overflow-wrap: break-word; } nav, #title-block-header { text-align: center; } -nav { padding-top: 1em; } +a { color: var(--link); } -blockquote, code +blockquote, pre { - border: 1px solid; + border: 1px solid var(--link); backdrop-filter: invert(10%); margin-inline: auto; -} - -code -{ - overflow: scroll; - display: block; + border-left: 6px solid var(--link); padding: 0.5em; } -blockquote -{ - border-left: 6px solid; - padding-left: 0.5em; -} - article img { display: block; @@ -43,6 +52,4 @@ article img max-width: 100%; } -pre { overflow: scroll; } - .button > img { display: unset; } diff --git a/template.html b/template.html index 4b5a719..54c5787 100644 --- a/template.html +++ b/template.html @@ -10,7 +10,9 @@ $for(css.split)$ $endfor$ - $ifdef(title)$$title.escapehtml$$endif$ + $ifdef(title)$ + $title.escapehtml$ + $endif$ $htmlheader$ @@ -20,8 +22,5 @@ go up
$body$
- $for(javascript.split)$ - - $endfor$ -- cgit v1.2.3