From 17ef168550052c341a3a2ebe0b230469494402f1 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 18 Feb 2025 00:32:46 +0800 Subject: [PATCH] Revert "style.css: Fix .chunk-addition" This reverts commit 9f19bcb50de2ced13a22bbe44078d8a47bf9ce41. --- static/style.css | 8 +++----- diff --git a/static/style.css b/static/style.css index f4ec6ad1b24a848437eafce1e226635178597d9a..3dbe22ebb745a2e8a7aa6c64e13f620fbd238f98 100644 --- a/static/style.css +++ b/static/style.css @@ -145,13 +145,11 @@ /* Diff/chunk styles */ .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; -- 2.48.1