summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/assets/scss/_main-container.scss
diff options
context:
space:
mode:
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 000000000..2dc54eaef
--- /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;
+ }
+}