From: parking_turkeys Date: Wed, 15 Jul 2026 18:14:59 +0000 (-0400) Subject: attempt to fix dark mode X-Git-Url: http://git.p-t.hackclub.app/?a=commitdiff_plain;h=e3b7999169c9d21aa8f604f7f9e1213d449790ee;p=website-v3%2F.git attempt to fix dark mode --- diff --git a/style.css b/style.css index e01ac73..9a577bf 100644 --- a/style.css +++ b/style.css @@ -1,14 +1,31 @@ -BODY { +body { color: #040404; background-color: #fafafa; font-size: 20px; margin-left:10%; margin-right:10%; -}; +} + +details { + border: 1px solid #040404; + margin: 1rem; +} + +details p { + margin-left: 1rem; +} + +summary { + margin: 2px; +} @media (prefers-color-scheme:dark) { - BODY { - color: #fafafa; !important - background-color: #040404; !important - }; -}; + body { + color: #fafafa; + background-color: #040404; + } + + details { + border: solid #fafafa; + } +}