diff options
| author | Morgana <Morgana@icolotl.com> | 2026-09-30 16:11:07 -0500 |
|---|---|---|
| committer | Morgana <Morgana@icolotl.com> | 2026-09-30 16:11:07 -0500 |
| commit | 3a61d75fb5a3163d5c9b272b298b7597b5d13ff9 (patch) | |
| tree | 8322f8653bc2794a27230887f26599515a21c067 /static/style | |
| parent | 1adb51acf77f7bcf17371808a13b7b026e88e631 (diff) | |
Make site more mobile friendly
Diffstat (limited to 'static/style')
| -rw-r--r-- | static/style/index.css | 5 | ||||
| -rw-r--r-- | static/style/style.css | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/static/style/index.css b/static/style/index.css index bee815d..ada19e9 100644 --- a/static/style/index.css +++ b/static/style/index.css @@ -95,7 +95,6 @@ section { flex-shrink: 0; flex-basis: 8em; padding: 1em; - height: 15em; text-align: left; text-decoration: none; background-color: var(--light-color); @@ -138,5 +137,9 @@ section { section { flex-direction: column; flex-wrap: inherit; + + >div { + flex-basis: auto; + } } }
\ No newline at end of file diff --git a/static/style/style.css b/static/style/style.css index 46b1379..3e7e850 100644 --- a/static/style/style.css +++ b/static/style/style.css @@ -126,4 +126,11 @@ main.centered { padding: 0.25em; list-style: none; } +} + +@media (max-width: 750px) { + main.centered { + width: auto; + padding: 1em; + } }
\ No newline at end of file |