aboutsummaryrefslogtreecommitdiffstats
path: root/gitolite-cgit/cgit.css
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-05-24 23:01:25 -0500
committerJesús <heckyel@hyperbola.info>2021-05-24 23:01:25 -0500
commit754dbca64cc94e9e70520e7b9f0fbaabd6c2cd3d (patch)
tree41642ac5b5c9fd9f41019763e219bcf14b900d6e /gitolite-cgit/cgit.css
parent764a1cbb69d7319f361ee49b6f6a2bf297daff14 (diff)
downloadgitolite-cgit-docker-754dbca64cc94e9e70520e7b9f0fbaabd6c2cd3d.tar.lz
gitolite-cgit-docker-754dbca64cc94e9e70520e7b9f0fbaabd6c2cd3d.tar.xz
gitolite-cgit-docker-754dbca64cc94e9e70520e7b9f0fbaabd6c2cd3d.zip
improve dark-theme
Diffstat (limited to 'gitolite-cgit/cgit.css')
-rw-r--r--gitolite-cgit/cgit.css18
1 files changed, 14 insertions, 4 deletions
diff --git a/gitolite-cgit/cgit.css b/gitolite-cgit/cgit.css
index a67abd6..848970f 100644
--- a/gitolite-cgit/cgit.css
+++ b/gitolite-cgit/cgit.css
@@ -1,5 +1,6 @@
:root {
- --background: #333;
+ --background: #212529;
+ --bg-strong: #131618;
--text: #FFF;
--text-hover: #60b0ff;
--text-secundary: #333;
@@ -383,9 +384,12 @@ padding-top: 1.5em;
}
table.diffstat {
-border-collapse: collapse;
-border: solid 1px var(--text);
-background-color: var(--background);
+border-collapse: unset;
+background-color: var(--bg-strong);
+text-overflow: ellipsis;
+overflow: hidden;
+padding: .5rem;
+margin: .5rem 0;
}
table.diffstat th {
@@ -453,6 +457,12 @@ padding-top: 0.5em;
table.diff {
width: 100%;
+border-collapse: unset;
+background-color: var(--bg-strong);
+padding: 0.5rem;
+margin: .5rem 0;
+text-overflow: ellipsis;
+overflow: hidden;
}
table.diff td {