summaryrefslogtreecommitdiffstats
path: root/static/style.css
diff options
context:
space:
mode:
authorLibravatar Derek Stevens <nilix@nilfm.cc>2023-01-31 21:28:42 -0700
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2023-02-05 15:10:25 +0530
commite782f36f196006f4fad6747811a5c883151e5102 (patch)
treeb63cdd5ab51d99229babc8dbec0b4efae85c4486 /static/style.css
parent7a512b1da60ca92203ec93ecce8b0debfe6da913 (diff)
downloadlegit-e782f36f196006f4fad6747811a5c883151e5102.tar.gz
legit-e782f36f196006f4fad6747811a5c883151e5102.tar.bz2
legit-e782f36f196006f4fad6747811a5c883151e5102.zip
add style tweaks
Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Diffstat (limited to '')
-rw-r--r--static/style.css17
1 files changed, 12 insertions, 5 deletions
diff --git a/static/style.css b/static/style.css
index 19c0891..23e2f75 100644
--- a/static/style.css
+++ b/static/style.css
@@ -180,6 +180,10 @@ a:hover {
padding: 1rem 0 1rem 0;
}
+.commit-hash, .commit-email {
+ font-family: var(--mono-font);
+}
+
.commit-email:before {
content: '<';
}
@@ -238,21 +242,24 @@ a:hover {
-webkit-user-select: none;
-o-user-select: none;
user-select: none;
+ display: flex;
+ float: left;
+ flex-direction: column;
+ margin-right: 1ch;
}
.file-wrapper {
- display: flex;
- flex-direction: row;
- grid-template-columns: 1rem minmax(0, 1fr);
- gap: 1rem;
- padding: 0.5rem;
background: var(--light-gray);
+ display: table;
+ padding: 0.5rem
+ width: 100%;
}
.file-content {
background: var(--light-gray);
overflow-y: hidden;
overflow-x: auto;
+ display: block;
}
.diff-type {