summaryrefslogtreecommitdiffstats
path: root/assets/css/components/_footer.scss
blob: fcea457037ed42331e74d0bf8c7500f0cd753893 (plain) (blame)
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
@include namespace('footer') {
    @include store((
        --colors: (
            --fg:     prop(--colors --obj, $global: true),
            --border: prop(--colors --obj-hi, $global: true),
        )
    ));

    @include component(namespace()) {
        display:         flex;
        align-items:     center;
        justify-content: space-between;
        height:          prop(--dims --outer, $global: true);
        padding-right:   prop(--dims --outer, $global: true);
        font-size:       1 / 16 * 15em;

        @include element('content') {
            width:        100%;
            height:       100%;
            margin-top:   -1px;
            margin-right: prop(--container --dims --pad-x, $global: true);
            margin-left:  prop(--container --dims --pad-x, $global: true);
            border-top:   1px solid prop(--colors --border);
            color:        prop(--colors --fg);
            line-height:  prop(--dims --outer, $global: true);
        }
    }
}