summaryrefslogtreecommitdiffstats
path: root/assets/css/layouts/_section.scss
blob: a005ecee71b125a0e824fe040c5ebc94b048fbd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@include namespace('section') {
    @include layout(namespace()) {
        box-sizing:      border-box;
        min-height:      100%;
        margin-bottom:   calc(-1 * #{prop(--dims --outer, $global: true)});
        padding-bottom:  prop(--dims --outer, $global: true);

        @include modifier('no-head') {
            padding-top: prop(--dims --outer, $global: true);
        }

        @include element('head') {
            display:        flex;
            position:       sticky;
            z-index:        9000;
            top:            0;
            left:           0;
            flex-direction: row;
            justify-self:   flex-start;
        }
    }
}