aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 21:47:20 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 21:47:20 +0800
commit0a03187a44ba46ba669e62c63fc544ec9f790ef6 (patch)
tree621e81b1f442d9091788e75b40cde5b6f0b08b53 /static
parentrepo_commit: Properly format patchsets (diff)
downloadforge-0a03187a44ba46ba669e62c63fc544ec9f790ef6.tar.gz
forge-0a03187a44ba46ba669e62c63fc544ec9f790ef6.tar.zst
forge-0a03187a44ba46ba669e62c63fc544ec9f790ef6.zip
style.css: Better colors in dark mode, and add padding
Diffstat (limited to '')
-rw-r--r--static/style.css8
1 files changed, 8 insertions, 0 deletions
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;
}