From 94e30b971e93669810d8a4889d60340900ad60f3 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 24 Dec 2020 22:07:49 +0100 Subject: Various improvements: CSS classes, favicon, design --- assets/css/layouts/_container.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 assets/css/layouts/_container.scss (limited to 'assets/css/layouts') diff --git a/assets/css/layouts/_container.scss b/assets/css/layouts/_container.scss new file mode 100644 index 0000000..9159f5a --- /dev/null +++ b/assets/css/layouts/_container.scss @@ -0,0 +1,20 @@ +.l-container { + padding-left: 2rem; + padding-right: 2rem; + + &--narrow { + margin-left: auto; + margin-right: auto; + max-width: $content-width; + } + + &--pad-v { + padding-top: $line-height * 2rem; + padding-bottom: $line-height * 2rem; + } + + @media (max-width: $breakpoint-sm) { + padding-left: 1rem; + padding-right: 1rem; + } +} -- cgit v1.2.3-70-g09d2