commit 268be89bd242bbea36b8a4b928b715d2759f550c parent fa0ac5440a7d7507584164f64c7019faa2c20089 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Mon, 11 May 2026 22:07:23 +0200 fix: correct navbar styling in HTML Diffstat:
| M | templates/style.css | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/templates/style.css b/templates/style.css @@ -36,7 +36,7 @@ nav { } nav > ul { - text-align: center; + display: inline-block; } nav > ul > li { display: inline-block; @@ -44,6 +44,7 @@ nav > ul > li { } nav > ul > li > a > svg { height: 1em; + border-color: #000000; /* inverted in dark mode */ border-radius: 3px; border-style: solid; border-width: 2px; @@ -52,3 +53,8 @@ nav > ul > li > a > svg { margin-bottom: -0.5em; padding: 0.2em; } +@media (prefers-color-scheme: dark) { + nav > ul > li > a > svg { + filter: invert(100%); + } +}