From 568553394d0a8b34668a75c9839a0f1f426469b2 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sun, 6 Oct 2019 21:10:46 +0200 Subject: theme: Switch to docsy theme --- themes/docsy/assets/scss/_main-container.scss | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 themes/docsy/assets/scss/_main-container.scss (limited to 'themes/docsy/assets/scss/_main-container.scss') diff --git a/themes/docsy/assets/scss/_main-container.scss b/themes/docsy/assets/scss/_main-container.scss new file mode 100644 index 0000000..2dc54ea --- /dev/null +++ b/themes/docsy/assets/scss/_main-container.scss @@ -0,0 +1,34 @@ +// The outer page container i.e. common styles for any page. +.td-outer { + display: flex; + flex-direction: column; + height: 100vh; +} + +// The outer page container for the default base template. +.td-default { + main { + section:first-of-type { + @include media-breakpoint-up(md) { + padding-top: 8rem; + } + } + + section { + @extend .td-block-padding; + } + } +} + +.td-main { + flex-grow: 1; + + main { + @include media-breakpoint-up(md) { + padding-top: 5.5rem; + } + + + padding-bottom: 2rem; + } +} -- cgit v1.2.3