diff options
-rw-r--r-- | assets/css/_vars.scss | 1 | ||||
-rw-r--r-- | assets/css/layouts/_container.scss | 5 |
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 | } |