From 7f182391213fe3024d7eafd7963ef3ad35ecfdfe Mon Sep 17 00:00:00 2001 From: Marie Birner Date: Mon, 19 Feb 2024 21:40:16 +0100 Subject: [PATCH] [TASK] change position unset sticky header --- templates/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/style.css b/templates/style.css index 06b9dc4..aad679e 100644 --- a/templates/style.css +++ b/templates/style.css @@ -67,11 +67,11 @@ details > summary { } details details > summary { + position: unset !important; background: red; } details details details > summary { - position: unset !important; background: blue; } @@ -90,6 +90,10 @@ summary h5 { flex-grow: 1; } +summary.js-is-sticky { + padding: 1rem 0; +} + summary.js-is-sticky h2, summary.js-is-sticky h3, summary.js-is-sticky h4, @@ -99,6 +103,8 @@ summary.js-is-sticky h5 { text-overflow: ellipsis; white-space: nowrap; margin-bottom: 0; + font-size: 1rem; + font-weight: 700; } .par {