From 8fc42a390b737c8115db3e3f043a8ca06f420c69 Mon Sep 17 00:00:00 2001 From: Pierre de Lacroix Date: Sun, 25 Jan 2026 13:59:58 +0100 Subject: [PATCH] add background to titles for better contrast --- css/base.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/css/base.css b/css/base.css index 8683964..d4bd66f 100644 --- a/css/base.css +++ b/css/base.css @@ -47,6 +47,10 @@ main h1, main h2, main h3 { z-index: 20; } +main h1 span, main h2 span, main h3 { + background-color: #000000b8; +} + main h1 { position: relative; text-align: center; @@ -183,14 +187,12 @@ figcaption { font-family: segoesc; float: left; margin-left: 10%; - line-height: 0.8em; } #interhack { text-shadow: -5px 5px 0px var(--accent-orange), -10px 10px 0px var(--accent-violet); color: var(--accent-yellow); margin-right: 10%; - line-height: 0.5em; } code { -- 2.30.2