From 9f19bcb50de2ced13a22bbe44078d8a47bf9ce41 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 18 Feb 2025 00:31:31 +0800 Subject: [PATCH] style.css: Fix .chunk-addition --- static/style.css | 8 +++++--- diff --git a/static/style.css b/static/style.css index 3dbe22ebb745a2e8a7aa6c64e13f620fbd238f98..f4ec6ad1b24a848437eafce1e226635178597d9a 100644 --- a/static/style.css +++ b/static/style.css @@ -145,11 +145,13 @@ /* Diff/chunk styles */ .chunk-unchanged { color: grey; } -.chunk-addition, @media (prefers-color-scheme: dark) .chunk-addition { +.chunk-addition { background-color: green; } -.chunk-addition@media (prefers-color-scheme: dark) { - background-color: lime; +@media (prefers-color-scheme: dark) { + .chunk-addition { + background-color: lime; + } } .chunk-deletion { background-color: red; -- 2.48.1