summaryrefslogtreecommitdiff
path: root/assets/css/deco.css
blob: 0646be20bad7c994950895cc15940d1113c17557 (plain)
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
38
39
40
41
42
43
44
45
46
47
nav .tab::before,
nav .tab::after {
    background-color: var(--color);
    z-index: 1;
}

nav .tab::before,
nav .tab::after,
nav .tab > a::before,
nav .tab > a::after {
    --size: var(--border-radius);
    content: "";
    width: var(--size);
    height: var(--size);
    position: absolute;
    bottom: 0;
}

nav .tab::before,
nav .tab > a::before {
    right: 100%;
}

nav .tab::after,
nav .tab > a::after {
    left: 100%;
}

nav .tab > a::before,
nav .tab > a::after {
    background-color: var(--prismite-bg-lowest);
    transition: background-color 0.2s var(--easing);
    z-index: 2;
}

nav .tab > a:focus-visible::before,
nav .tab > a:focus-visible::after {
    background-color: transparent;
}

nav .tab > a::after {
    border-bottom-left-radius: var(--size);
}

nav .tab > a::before {
    border-bottom-right-radius: var(--size);
}