summaryrefslogtreecommitdiffstats
path: root/static/style.css
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-17 22:35:48 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-17 22:35:48 +0530
commit3e6a720154b70a9882af14399548e494b1d0089f (patch)
tree6926af0c380ce3eb303af05d664a78962083d546 /static/style.css
parent5091695e75b2db30b8926d8aa17164c84031bc77 (diff)
downloadlegit-3e6a720154b70a9882af14399548e494b1d0089f.tar.gz
legit-3e6a720154b70a9882af14399548e494b1d0089f.tar.bz2
legit-3e6a720154b70a9882af14399548e494b1d0089f.zip
git, templates: diff view
Diffstat (limited to 'static/style.css')
-rw-r--r--static/style.css38
1 files changed, 38 insertions, 0 deletions
diff --git a/static/style.css b/static/style.css
index df2c81c..0b0664f 100644
--- a/static/style.css
+++ b/static/style.css
@@ -146,6 +146,44 @@ a:hover {
white-space: pre-wrap;
}
+.diff {
+ padding-top: 1rem;
+}
+
+.diff pre {
+ overflow: scroll;
+}
+
+.diff-stat {
+ padding: 1rem 0 1rem 0;
+}
+
+.commit-email {
+ color: var(--gray);
+}
+
+.commit pre {
+ padding-bottom: 1rem;
+ white-space: pre-wrap;
+}
+
+.diff-stat ul li {
+ list-style: none;
+ padding-left: 0.5em;
+}
+
+.diff-add {
+ color: green;
+}
+
+.diff-del {
+ color: red;
+}
+
+.diff-noop {
+ color: var(--gray);
+}
+
@media (max-width: 600px) {
.index {
grid-row-gap: 0.8em;