From 0a03187a44ba46ba669e62c63fc544ec9f790ef6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 11 Feb 2025 21:47:20 +0800 Subject: style.css: Better colors in dark mode, and add padding --- static/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index c5d79ec..2017727 100644 --- a/static/style.css +++ b/static/style.css @@ -118,6 +118,11 @@ td#readme > *:first-child { .chunk-addition { color: green; } +@media (prefers-color-scheme: dark) { + .chunk-addition { + color: lime; + } +} .chunk-deletion { color: red; } @@ -150,6 +155,9 @@ pre.chunk { .file-patch + .file-patch { margin-top: 0.5rem; } +.file-content, .file-header { + padding: 3px 5px; +} .file-header { font-family: monospace; } -- cgit v1.2.3