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

    @include component(namespace()) {
        padding-left: 0;
        overflow:     hidden;
        border-left:  0;
        color:        prop(--colors --fg);
        font-size:    1rem;

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