summaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2024-02-19 22:23:39 +0000
committerLibravatar cel 🌸 <cel@blos.sm>2024-02-19 22:23:39 +0000
commit3c1b8007b6d5992e6bffc701ad06e0adec717145 (patch)
treeaf2a9a756aa6ad8e8f3f8ac18273c1668c711afe /static
parentbdfc973207a67a3b217c130520d53373d088763c (diff)
downloadlegit-3c1b8007b6d5992e6bffc701ad06e0adec717145.tar.gz
legit-3c1b8007b6d5992e6bffc701ad06e0adec717145.tar.bz2
legit-3c1b8007b6d5992e6bffc701ad06e0adec717145.zip
support categories at index
Diffstat (limited to 'static')
-rw-r--r--static/style.css26
1 files changed, 19 insertions, 7 deletions
diff --git a/static/style.css b/static/style.css
index 67b8e26..5f7087b 100644
--- a/static/style.css
+++ b/static/style.css
@@ -39,13 +39,17 @@ body {
margin: 40px auto;
}
-main, footer {
+main,
+footer {
font-size: 1rem;
padding: 0;
line-height: 160%;
}
-main h1, h2, h3, strong {
+main h1,
+h2,
+h3,
+strong {
font-family: var(--display-font);
font-weight: 500;
}
@@ -63,7 +67,8 @@ main h2 {
font-size: 18px;
}
-main h2, h3 {
+main h2,
+h3 {
padding: 20px 0 15px 0;
}
@@ -101,13 +106,17 @@ a:hover {
}
.index {
- padding-top: 2em;
display: grid;
grid-template-columns: 6em 1fr minmax(0, 7em);
grid-row-gap: 0.5em;
min-width: 0;
}
+.index-category {
+ margin-top: 2em;
+ color: var(--gray);
+}
+
.clone-url {
padding-top: 2rem;
}
@@ -145,9 +154,11 @@ a:hover {
white-space: pre-wrap;
}
-.mode, .size {
+.mode,
+.size {
font-family: var(--mono-font);
}
+
.size {
text-align: right;
}
@@ -183,7 +194,8 @@ a:hover {
padding: 1rem 0 1rem 0;
}
-.commit-hash, .commit-email {
+.commit-hash,
+.commit-email {
font-family: var(--mono-font);
}
@@ -303,4 +315,4 @@ a:hover {
pre {
font-size: 0.8rem;
}
-}
+} \ No newline at end of file