From 77cf5ed4345ed921f1b7104be8b8ff2e077c5596 Mon Sep 17 00:00:00 2001 From: chfour Date: Sat, 13 Sep 2025 19:51:32 +0200 Subject: [PATCH] turn colors into css vars, rearrange links --- src/index.html | 52 +++++++++++++++++++++++++++----------------------- src/style.css | 33 +++++++++++++++++++------------- 2 files changed, 48 insertions(+), 37 deletions(-) diff --git a/src/index.html b/src/index.html index 13883fa..f911d4e 100644 --- a/src/index.html +++ b/src/index.html @@ -45,16 +45,20 @@ gap: 1em; max-width: 30rem; } - #links > * > div { + #links > li > a { display: inline-flex; flex-direction: column; + text-decoration: none; + color: inherit; } - #links > * > div > * { width: max-content; } - #links a { + #links > li > a > * { width: max-content; } + #links > li > a > :first-child { font-weight: bold; - text-decoration: none; + color: var(--color-link); + } + #links > li > a > :nth-child(2) { + font-size: 0.8em; } - #links > * > div > :nth-child(2) { font-size: 0.8em; } @@ -83,30 +87,30 @@

known as chfour