commit 9cfaae2a47f797a2ac4e7ec9ec87bc1ffdcd283b
parent 53fe5c5b6292ba454fdf8172699275dc61e4e385
author: nathanael <nathanael@dalliard.ch>
date: Fri, 17 Oct 2025 22:26:55 +0000
s1: simpler s1.dalliard.ch
diffstat:
4 files changed, 5 insertions(+), 34 deletions(-)
diff --git a/s1/scripts/sysfiles.sh b/s1/scripts/sysfiles.sh
@@ -19,9 +19,7 @@ doas install -o root -g wheel -m 644 "$src/sysclean" "/etc/sysclean.ignore"
doas install -o root -g wheel -m 644 "$src/weekly.local" "/etc/weekly.local"
doas install -o root -g www -m 640 "$HOME/prv/lnusers" "/var/www/ln/lnusers.txt"
doas install -o root -g www -m 640 "$HOME/prv/redirs" "/var/www/go/redirects.txt"
-doas install -o root -g www -m 644 "$src/favicon.ico" "/var/www/htdocs/favicon.ico"
doas install -o root -g www -m 644 "$src/index.html" "/var/www/htdocs/index.html"
doas install -o root -g www -m 644 "$src/mta-sts.txt" "/var/www/mail/mta-sts.txt"
-doas install -o root -g www -m 644 "$src/style.css" "/var/www/htdocs/style.css"
doas install -o root -g www -m 755 "$src/lnaddr.sh" "/var/www/ln/lnaddr.sh"
doas install -o root -g www -m 755 "$src/redirect.sh" "/var/www/go/redirect.sh"
diff --git a/s1/sysfiles/favicon.ico b/s1/sysfiles/favicon.ico
Binary files differ.
diff --git a/s1/sysfiles/index.html b/s1/sysfiles/index.html
@@ -1,9 +1,10 @@
-<!DOCTYPE html>
+<!doctype html>
+<html lang="en">
+<link rel="icon" href="data:,">
<meta charset="utf-8">
-<meta name="viewport" content="width=device-with, initial-scale=1">
-<link rel="stylesheet" href="style.css" />
+<meta name="color-scheme" content="dark light">
+<meta name="viewport" content="width=device-width,initial-scale=1">
<title>s1.dalliard.ch</title>
-<main>
<pre>
____
_____/_ |
@@ -13,4 +14,3 @@
\/
<a href="https://dalliard.ch">dalliard.ch</a>
</pre>
-</main>
diff --git a/s1/sysfiles/style.css b/s1/sysfiles/style.css
@@ -1,27 +0,0 @@
-:root {
- --bg: #fff;
- --fg: #000;
-}
-body {
- background-color: var(--bg);
- color: var(--fg);
- margin: 0;
-}
-main {
- font-family: monospace;
- height: 100vh;
- display: flex;
- flex-direction: column;
- margin-top: -2rem;
- justify-content: center;
- align-items: center;
-}
-a {
- color: var(--fg);
-}
-@media (prefers-color-scheme: dark) {
- :root {
- --bg: #000;
- --fg: #fff;
- }
-}