From f568d75539a92474ef480cd8a5a98b3a38a61a57 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 1 Jan 2025 14:00:18 -0800 Subject: [PATCH] ui: Update section header style to increase size, remove underline - Currently, there is a bug with section header with Bootstrap 5 migration in stable. It causes the section headers not to have underline in Debian stable but only in Debian testing. This is due to the variable --bs-secondar-border-subtle being defined only in Bootstrap 5.3 (testing) but not in Bootstrap 5.2 (stable). - The removal of the border is actually reducing visual noise. So, commit to it by removing the border even on testing. To Increase contrast to the section headers, increase their font size (but reduce font weight). Tests: - In testing and stable VMs, the style is same and as expected. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- static/themes/default/css/main.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/static/themes/default/css/main.css b/static/themes/default/css/main.css index 3c6ccfa6a..ddedfa723 100644 --- a/static/themes/default/css/main.css +++ b/static/themes/default/css/main.css @@ -586,10 +586,9 @@ footer { .card-section-title, .system-section-title { display: flex; - font-weight: 800; - font-size: 1.25rem; + font-weight: 600; + font-size: 1.5rem; margin: 1.25rem 0; - border-bottom: var(--bs-secondary-border-subtle) solid 2px; } .card {