Jake Vanderwerf
7 days ago 46d681c6b825d21b3f698d793c4e630c687d90ad
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
nav#faq {
    height: max-content;
    display: block;
    background-color: var(--base-100);
    border-radius: var(--radius-outer);
    padding: 1.5rem;
    touch-action: auto;
    ol {
        list-style: decimal-leading-zero;
        height: fit-content;
        display: block;
        counter-reset: faq;
        li {
            counter-increment: faq;
            width: max-content;
            &::before {
                content: counter(faq);
                display: block;
                font-family: var(--heading);
                font-weight: var(--fw-h-bold);
            }
        }
    }
    h2 {
        left: 0;
        font-size: var(--txt-large);
        margin: .5rem 0 .5rem;
    }
    a {
        padding: .5rem;
    }
}
 
.faq-block {
    padding-bottom: 3rem;
    max-width: none;
    width: 100%;
    > * {
        max-width: var(--wide);
        margin: 1rem auto;
    }
    h2 {
        margin: 5rem 0 1.5rem;
    }
    h3 {
        margin: 0;
        text-transform: none;
    }
    :target {
        background-color: var(--base);
        outline: none;
 
        h2 {
            background-color: var(--base);
            padding: 1rem 1.5rem;
            border-radius: var(--radius-outer);
        }
    }
    details {
        max-width: var(--content);
        margin: 1rem auto;
        padding: .75rem;
    }
    details + details {
        margin-top: 3rem;
    }
    details .button {
        height: fit-content;
        display: flex;
        margin-left: auto;
    }
}