aboutsummaryrefslogtreecommitdiff
path: root/themes/docsy/assets/scss/_main-container.scss
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2019-10-06 21:10:46 +0200
committerDimitri Staessens <[email protected]>2019-10-06 21:10:46 +0200
commit568553394d0a8b34668a75c9839a0f1f426469b2 (patch)
tree175c08844f05611b059ba6900fb6519dbbc735d2 /themes/docsy/assets/scss/_main-container.scss
parentd5d6f70371958eec0679831abd283498ff2731e5 (diff)
downloadwebsite-568553394d0a8b34668a75c9839a0f1f426469b2.tar.gz
website-568553394d0a8b34668a75c9839a0f1f426469b2.zip
theme: Switch to docsy theme
Diffstat (limited to 'themes/docsy/assets/scss/_main-container.scss')
-rw-r--r--themes/docsy/assets/scss/_main-container.scss34
1 files changed, 34 insertions, 0 deletions
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;
+ }
+}