From 083a0b51be7aef08b0157c8c4ff9d026724a82c2 Mon Sep 17 00:00:00 2001 From: Heiko August Date: Tue, 27 Jan 2026 18:47:02 +0100 Subject: [PATCH 1/5] Change: set the font size to 75% of the browser default size This should result in a size of 12px in the most browsers as before. But unlike before, everything adapts to the sizes specified in the visitor's browser. Signed-off-by: Heiko August --- static/css/base.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/css/base.css b/static/css/base.css index 15c532bd..ae565441 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -123,6 +123,7 @@ body > header { } body > nav { + font-size: 1rem; background: #555555; border-radius: 0px 0px 10px 10px; box-shadow: 0px 0px 5px #000000; @@ -132,12 +133,12 @@ body > nav { overflow: hidden; } #navigation-bar { + font-size: 0.75em; display: flex; margin: 0px; padding: 0px; } #navigation-bar li { - font-size: 12px; flex-grow: 1; line-height: 32px; list-style-type: none; From a310a8416568d5091fc98e484cf319bba20a6e50 Mon Sep 17 00:00:00 2001 From: Heiko August Date: Tue, 27 Jan 2026 18:56:13 +0100 Subject: [PATCH 2/5] Change: replace the fixed height of the navigation with a proper line height definition Signed-off-by: Heiko August --- static/css/base.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/css/base.css b/static/css/base.css index ae565441..c6ad1772 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -127,9 +127,7 @@ body > nav { background: #555555; border-radius: 0px 0px 10px 10px; box-shadow: 0px 0px 5px #000000; - height: 32px; margin: 0px auto; - min-height: 32px; overflow: hidden; } #navigation-bar { @@ -140,7 +138,7 @@ body > nav { } #navigation-bar li { flex-grow: 1; - line-height: 32px; + line-height: 2.75em; list-style-type: none; } #navigation-bar li a { From 1b6fdf1d4a4e6bc5109847f001e00e6c059794ca Mon Sep 17 00:00:00 2001 From: Heiko August Date: Tue, 27 Jan 2026 19:01:09 +0100 Subject: [PATCH 3/5] Change: replace the left and right padding of navigation links with padding-inline Changed it thereby from 3px on each side to 0.25em. Signed-off-by: Heiko August --- static/css/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/base.css b/static/css/base.css index c6ad1772..456213df 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -144,7 +144,7 @@ body > nav { #navigation-bar li a { color: #DDDDDD; display: block; - padding: 0px 3px 0px 3px; + padding-inline: 0.25em; text-decoration: none; text-align: center; } From 0bfa88348f11d21f06e8485fdec270063cd92ab9 Mon Sep 17 00:00:00 2001 From: Heiko August Date: Tue, 27 Jan 2026 19:04:34 +0100 Subject: [PATCH 4/5] Change: remove the not necessary unit from 0-values Signed-off-by: Heiko August --- static/css/base.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/css/base.css b/static/css/base.css index 456213df..9f0b8ed0 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -127,14 +127,14 @@ body > nav { background: #555555; border-radius: 0px 0px 10px 10px; box-shadow: 0px 0px 5px #000000; - margin: 0px auto; + margin: 0 auto; overflow: hidden; } #navigation-bar { font-size: 0.75em; display: flex; - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; } #navigation-bar li { flex-grow: 1; From 7203853dc271fe583daa32a657b4d8a288bf43d8 Mon Sep 17 00:00:00 2001 From: Heiko August Date: Tue, 27 Jan 2026 19:06:06 +0100 Subject: [PATCH 5/5] Change: replace the pixel-based radii sizes of 10px with relative unit 0.5em Signed-off-by: Heiko August --- static/css/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/css/base.css b/static/css/base.css index 9f0b8ed0..11e26af7 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -125,7 +125,7 @@ body > header { body > nav { font-size: 1rem; background: #555555; - border-radius: 0px 0px 10px 10px; + border-radius: 0px 0px 0.5em 0.5em; box-shadow: 0px 0px 5px #000000; margin: 0 auto; overflow: hidden;