summaryrefslogtreecommitdiffstats
path: root/wk.fo
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2026-06-17 17:42:18 +0300
committerAhmed <git@gumx.cc>2026-06-17 17:42:18 +0300
commit6118de95700a6f3824b432f189f1b1ada2993c39 (patch)
tree7b2950f5c46e1d405b8ebed81d910a9eb08373cc /wk.fo
parenta9f342b85e8342c86e32e061bc1afb6669447353 (diff)
fix: style in few inner pages
Diffstat (limited to 'wk.fo')
-rw-r--r--wk.fo/pks/cgi-bin/pgp-hkp.sh7
-rw-r--r--wk.fo/pks/index.html2
-rw-r--r--wk.fo/upload.html2
3 files changed, 5 insertions, 6 deletions
diff --git a/wk.fo/pks/cgi-bin/pgp-hkp.sh b/wk.fo/pks/cgi-bin/pgp-hkp.sh
index 155c820..f0c5467 100644
--- a/wk.fo/pks/cgi-bin/pgp-hkp.sh
+++ b/wk.fo/pks/cgi-bin/pgp-hkp.sh
@@ -22,10 +22,9 @@ code { font-size: 85%; }
hr { border: none; border-top: thin solid; margin: 1.25rem 0; }
header { margin-bottom: 1em; }
footer { margin-top: 3em; }
-a { color: inherit; }
@media (max-width: 600px) { body { font-size: 0.9em; } h1 { font-size: 1.8em; } }
@media (max-width: 400px) { body { font-size: 0.8em; } h1 { font-size: 1.6em; } }
-@media (prefers-color-scheme: dark) { html { filter: invert(1); } }'
+@media (prefers-color-scheme: dark) { html { filter: invert(1); } img { filter: invert(1); } }'
FOOTER='<footer>
<hr>
@@ -35,7 +34,7 @@ FOOTER='<footer>
<a href="https://irc.gumx.cc">irc</a> /
<a href="https://files.gumx.cc">files</a> /
<a href="https://vpn.gumx.cc">vpn</a> /
-<a href="/pgp">pgp</a> /
+<a href="https://pgp.gumx.cc">pgp</a> /
<a href="https://demo.gumx.cc">demo</a> /
<a href="https://wk.fo">wk.fo</a>
</footer>'
@@ -85,7 +84,7 @@ case "$REQUEST_METHOD" in
printf '<title>wk.fo / pgp / keys</title>\n'
printf '<style>\n%s\n</style>\n' "$CSS"
printf '</head>\n<body>\n'
- printf '<header>\n<h1><a href="https://wk.fo">wk.fo</a> / <a href="/pgp">pgp</a> / keys</h1>\n</header>\n'
+ printf '<header>\n<h1><a href="https://wk.fo">wk.fo</a> / <a href="https://pgp.gumx.cc">pgp</a> / keys</h1>\n</header>\n'
printf '<main>\n<table>\n<tr><th>fingerprint</th><th>uid</th></tr>\n'
found=0
for f in "$KEYS_DIR"/*.asc; do
diff --git a/wk.fo/pks/index.html b/wk.fo/pks/index.html
index 6685739..2e67361 100644
--- a/wk.fo/pks/index.html
+++ b/wk.fo/pks/index.html
@@ -56,7 +56,7 @@ button { cursor: pointer; }
<a href="https://irc.gumx.cc">irc</a> /
<a href="https://files.gumx.cc">files</a> /
<a href="https://vpn.gumx.cc">vpn</a> /
-<a href="/pks/">pgp</a> /
+<a href="https://pgp.gumx.cc">pgp</a> /
<a href="https://demo.gumx.cc">demo</a> /
<a href="https://wk.fo">wk.fo</a>
</footer>
diff --git a/wk.fo/upload.html b/wk.fo/upload.html
index ed919da..d4d84be 100644
--- a/wk.fo/upload.html
+++ b/wk.fo/upload.html
@@ -51,7 +51,7 @@ button { cursor: pointer; }
<a href="https://irc.gumx.cc">irc</a> /
<a href="https://files.gumx.cc">files</a> /
<a href="https://vpn.gumx.cc">vpn</a> /
-<a href="/pks/">pgp</a> /
+<a href="https://pgp.gumx.cc">pgp</a> /
<a href="https://demo.gumx.cc">demo</a> /
<a href="https://wk.fo">wk.fo</a>
</footer>