summaryrefslogtreecommitdiffstats
path: root/static/style.css
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-18 20:07:27 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-18 20:07:27 +0530
commit0e6eaa211357cd5b9de1762b1cb49e47d35580dc (patch)
tree31baa8bafaa80872758207b8c95ee2d1b2972ad5 /static/style.css
parentd0d636aa89bf194185abf01e05b190386d0e8b23 (diff)
downloadlegit-0e6eaa211357cd5b9de1762b1cb49e47d35580dc.tar.gz
legit-0e6eaa211357cd5b9de1762b1cb49e47d35580dc.tar.bz2
legit-0e6eaa211357cd5b9de1762b1cb49e47d35580dc.zip
css: single column index on small screens
Diffstat (limited to '')
-rw-r--r--static/style.css21
1 files changed, 12 insertions, 9 deletions
diff --git a/static/style.css b/static/style.css
index fc9d723..71e9b22 100644
--- a/static/style.css
+++ b/static/style.css
@@ -41,7 +41,7 @@ main, footer {
line-height: 160%;
}
-main h1, h2, h3, .small-heading {
+main h1, h2, h3, strong {
font-family: var(--display-font);
font-weight: 500;
}
@@ -97,26 +97,20 @@ 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-headings {
- display: grid;
- grid-template-columns: 6em 1fr minmax(0, 7em);
- padding-bottom: 1.2em;
- padding-top: 1.2em;
- min-width: 0;
-}
-
.clone-url {
padding-top: 2rem;
}
.clone-url pre {
color: var(--dark);
+ white-space: pre-wrap;
}
.desc {
@@ -252,6 +246,15 @@ a:hover {
grid-row-gap: 0em;
}
+ .index {
+ grid-template-columns: 1fr;
+ grid-row-gap: 0em;
+ }
+
+ .index-name:not(:first-child) {
+ padding-top: 1.5rem;
+ }
+
.commit-info:not(:last-child) {
padding-bottom: 1.5rem;
}