diff --git a/templates/style.css b/templates/style.css index aad679e..67f6177 100644 --- a/templates/style.css +++ b/templates/style.css @@ -63,24 +63,6 @@ details > summary { position: sticky; background-color: var(--pico-background-color); top: 0; - background: yellow; -} - -details details > summary { - position: unset !important; - background: red; -} - -details details details > summary { - background: blue; -} - -details details details details > summary { - background: pink; -} - -details details details details details > summary { - background-color:green; } summary h2, @@ -91,7 +73,8 @@ summary h5 { } summary.js-is-sticky { - padding: 1rem 0; + padding: 1.5rem 0; + background: linear-gradient(0deg, transparent, var(--pico-background-color), var(--pico-background-color), var(--pico-background-color)); } summary.js-is-sticky h2,