summaryrefslogtreecommitdiffstats
path: root/assets/css/components/_footer.scss
blob: 3705b79a0d522f25814acf27f29952eebb164aee (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
29
30
31
32
33
34
35
36
37
@include namespace('footer') {
    @include store((
        --colors: (
            --fg:     prop(--colors --obj, $global: true),
            --bg:     prop(--colors --bg, $global: true),
            --ground: prop(--colors --obj, $global: true),
        )
    ));

    @include component(namespace()) {
        position:         relative;
        min-height:       prop(--dims --outer, $global: true);
        overflow:         hidden;
        background-color: prop(--colors --bg);
        color:            prop(--colors --fg);
        font-family:      $font-fam--mono;
        line-height:      1.4;

        &::after {
            content:     str-repeat('░', 400);
            display:     block;
            margin-top:  1 / 16 * 2em;
            padding-top: 1 / 16 * 2em;
            overflow:    hidden;
            border-top:  1px solid prop(--colors --ground);
            color:       prop(--colors --ground);
        }

        @include element('ascii') {
            display:   inline-block;
            position:  relative;
            left:      50%;
            overflow:  visible;
            transform: translateX(-50%);
        }
    }
}