summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/assets/scss/_main-container.scss
blob: 2dc54eaefc02ba43d7f46202fa5268637f2b5656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
    }
}