summaryrefslogtreecommitdiffstats
path: root/assets/css/components/_page-header.scss
blob: ee86daf858666b487fabc04d2d7e473e26ffe6db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.c-page-header {
    margin-bottom: $line-height * 2em;
    overflow: hidden;

    &::after {
        content: str-repeat('░', 120);
        display: block;
        position: relative;
        z-index: -10;
        height: $line-height;
        margin-top: px-to-em(2px);
        padding-top: px-to-em(2px);
        border-top: 1px solid var(--fg-hi);
        color: var(--fg-hi);
        line-height: $code-block--line-height;
    }

    > :first-child {
        margin-top: 0;
    }
}