summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarKrytarik Raido <krytarik@gmail.com>2021-05-12 21:23:04 +0200
committerLibravatarKrytarik Raido <krytarik@gmail.com>2021-05-12 21:23:04 +0200
commit5d199aabe9f806dc5a136357a52431ab55ebe82c (patch)
tree0ff8938ef627131af72bafd201e9b5e545735117
parent8736b9106aad22eee247501ce5d90b1ef2a7fb59 (diff)
downloadcgit-assets-5d199aabe9f806dc5a136357a52431ab55ebe82c.tar.bz2
cgit-assets-5d199aabe9f806dc5a136357a52431ab55ebe82c.tar.xz
cgit-assets-5d199aabe9f806dc5a136357a52431ab55ebe82c.tar.zst
Add side-by-side diff theming to dark variant.
-rw-r--r--dark.css16
1 files changed, 15 insertions, 1 deletions
diff --git a/dark.css b/dark.css
index 24cebf2..836c972 100644
--- a/dark.css
+++ b/dark.css
@@ -71,7 +71,8 @@ div#cgit span.age-days {
/*** Diffs ***/
-div#cgit table.diff td div.head {
+div#cgit table.diff td div.head,
+div#cgit table.ssdiff td.head div.head {
color: rgb(230, 230, 230);
}
@@ -84,6 +85,19 @@ div#cgit table.diffstat {
border-color: rgb(37, 37, 37);
}
+div#cgit table.ssdiff td.head,
+div#cgit table.ssdiff td {
+ border-color: rgb(37, 37, 37);
+}
+
+div#cgit table.ssdiff td.foot {
+ border-color: rgb(52, 52, 52);
+}
+
+div#cgit table.ssdiff td.lineno {
+ background-color: rgb(52, 52, 52);
+}
+
/*** Stats ***/
div#cgit table.stats th {