summaryrefslogtreecommitdiffstats
path: root/static/style.css
diff options
context:
space:
mode:
authorLibravatar Derek Stevens <nilix@nilfm.cc>2023-02-01 23:01:36 -0700
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2023-02-08 00:30:57 +0530
commitb78354aee2f0fef8552896d75e106c915365d3ef (patch)
tree5e772c82807d226dd4bc69c72f170849402941ae /static/style.css
parentee800624f58b26204c1f846a524ccef5a1b4e386 (diff)
downloadlegit-b78354aee2f0fef8552896d75e106c915365d3ef.tar.gz
legit-b78354aee2f0fef8552896d75e106c915365d3ef.tar.bz2
legit-b78354aee2f0fef8552896d75e106c915365d3ef.zip
tree: directories first, add size column, fix ..
Signed-off-by: Derek Stevens <nilix@nilfm.cc>
Diffstat (limited to '')
-rw-r--r--static/style.css7
1 files changed, 5 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css
index 23e2f75..e012306 100644
--- a/static/style.css
+++ b/static/style.css
@@ -125,7 +125,7 @@ a:hover {
.tree {
display: grid;
- grid-template-columns: 8em minmax(0, 1fr);
+ grid-template-columns: 10ch auto 1fr;
grid-row-gap: 0.5em;
grid-column-gap: 1em;
min-width: 0;
@@ -145,9 +145,12 @@ a:hover {
white-space: pre-wrap;
}
-.mode {
+.mode, .size {
font-family: var(--mono-font);
}
+.size {
+ text-align: right;
+}
.readme pre {
white-space: pre-wrap;