From 0a03187a44ba46ba669e62c63fc544ec9f790ef6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 21:47:20 +0800 Subject: [PATCH] style.css: Better colors in dark mode, and add padding --- static/style.css | 8 ++++++++ diff --git a/static/style.css b/static/style.css index c5d79ece6457c3d768329e20a648e4b63e918e5c..20177275c29884df54665dc32795b7bfc1821879 100644 --- a/static/style.css +++ b/static/style.css @@ -118,6 +118,11 @@ } .chunk-addition { color: green; } +@media (prefers-color-scheme: dark) { + .chunk-addition { + color: lime; + } +} .chunk-deletion { color: red; } @@ -149,6 +154,9 @@ display: block; } .file-patch + .file-patch { margin-top: 0.5rem; +} +.file-content, .file-header { + padding: 3px 5px; } .file-header { font-family: monospace; -- 2.48.1