From 17ef168550052c341a3a2ebe0b230469494402f1 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 18 Feb 2025 00:32:46 +0800 Subject: Revert "style.css: Fix .chunk-addition" This reverts commit 9f19bcb50de2ced13a22bbe44078d8a47bf9ce41. --- static/style.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index f4ec6ad..3dbe22e 100644 --- a/static/style.css +++ b/static/style.css @@ -145,13 +145,11 @@ td > pre { .chunk-unchanged { color: grey; } -.chunk-addition { +.chunk-addition, @media (prefers-color-scheme: dark) .chunk-addition { background-color: green; } -@media (prefers-color-scheme: dark) { - .chunk-addition { - background-color: lime; - } +.chunk-addition@media (prefers-color-scheme: dark) { + background-color: lime; } .chunk-deletion { background-color: red; -- cgit v1.2.3