commit 06fe09d98f4732799d095df5d9e82723e6424057 parent aa561a57a12eb31e5d31dd90bf7ed209282d1cad Author: Samdal <samdal@protonmail.com> Date: Thu, 20 Feb 2025 22:49:10 +0100 add dark theme Diffstat:
M | _sass/_main.scss | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/_sass/_main.scss b/_sass/_main.scss @@ -282,3 +282,20 @@ section { display: none !important; } } + +@media (prefers-color-scheme: dark) { + a { + color: #fff; + } + body { + background-color: #181a1b; + color: #fff + } + + code,pre { + background: #222; + } + .footer-image { + filter: invert(0.6); + } +}