summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2020-12-31 16:56:53 +0100
committerVolpeon <git@volpeon.ink>2020-12-31 16:56:53 +0100
commit2f5602ee5db9678b224def7ba125dbf07d866ee0 (patch)
tree5791aa56dcc410699eb5b0b91a78d45b98a6ab39 /assets
parentBuild script: More efficient way to find subpages (diff)
downloadvolpeon.ink-2f5602ee5db9678b224def7ba125dbf07d866ee0.tar.gz
volpeon.ink-2f5602ee5db9678b224def7ba125dbf07d866ee0.tar.bz2
volpeon.ink-2f5602ee5db9678b224def7ba125dbf07d866ee0.zip
Design: Less vertical padding for containers on mobile
Diffstat (limited to 'assets')
-rw-r--r--assets/css/_vars.scss1
-rw-r--r--assets/css/layouts/_container.scss5
2 files changed, 6 insertions, 0 deletions
diff --git a/assets/css/_vars.scss b/assets/css/_vars.scss
index 24a94fa..b023ffe 100644
--- a/assets/css/_vars.scss
+++ b/assets/css/_vars.scss
@@ -12,6 +12,7 @@ $subcontent--indent: 4ch;
12$container--pad-h: 2rem; 12$container--pad-h: 2rem;
13$container--pad-h-sm: 1rem; 13$container--pad-h-sm: 1rem;
14$container--pad-v: $line-height * 2rem; 14$container--pad-v: $line-height * 2rem;
15$container--pad-v-sm: $line-height * 1rem;
15 16
16$nav--font-size: $font-size - 1; 17$nav--font-size: $font-size - 1;
17$nav--item--spacing: 4ch; 18$nav--item--spacing: 4ch;
diff --git a/assets/css/layouts/_container.scss b/assets/css/layouts/_container.scss
index ec061c6..f0544f7 100644
--- a/assets/css/layouts/_container.scss
+++ b/assets/css/layouts/_container.scss
@@ -16,5 +16,10 @@
16 @media (max-width: map-get($breakpoints, 'sm')) { 16 @media (max-width: map-get($breakpoints, 'sm')) {
17 padding-right: $container--pad-h-sm; 17 padding-right: $container--pad-h-sm;
18 padding-left: $container--pad-h-sm; 18 padding-left: $container--pad-h-sm;
19
20 &--pad-v {
21 padding-top: $container--pad-v-sm;
22 padding-bottom: $container--pad-v-sm;
23 }
19 } 24 }
20} 25}