summaryrefslogtreecommitdiffstats
path: root/wk.fo/pks/cgi-bin/pgp-hkp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'wk.fo/pks/cgi-bin/pgp-hkp.sh')
-rw-r--r--wk.fo/pks/cgi-bin/pgp-hkp.sh7
1 files changed, 3 insertions, 4 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