From f2d41e51686377df92963aac42b584e1ed8ab607 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 9 Jun 2024 16:46:41 -0300 Subject: css: match custom margin for `dl dt` content headings --- src/static/css/site.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/static/css/site.css b/src/static/css/site.css index 9d574bb5..e297993c 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -1345,6 +1345,9 @@ dl dt { } dl dt { + /* Heads up, this affects the measurement + * for dl dt which are .content-heading! + */ margin-bottom: 2px; } @@ -2170,6 +2173,13 @@ html[data-url-key="localized.home"] .carousel-container { animation-delay: 125ms; } +dl dt.content-heading { + /* Basic margin-bottom for dt is 2px, + * so just subtract 3px from that. + */ + margin-bottom: -1px; +} + h3.content-heading { clear: both; } -- cgit 1.3.0-6-gf8a5