summaryrefslogtreecommitdiff
path: root/site/style.css
blob: 08f22a6e239d40f2a80c0d08c96211c8f9515e80 (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
48
49
50
51
52
53
54
55
56
57
58
h1 {
    font-size: 30 pt;
}

html {
    background-color: white;
}

body {
    background-color: white;
    max-width: 30em;
    margin: auto;
    padding: 2em;
    box-shadow: 0 0 3em lightgray;
}

li {
    list-style-type: none;
}

.error {
    color: red;
}

textarea {
    width: 100%;
    height: 6em;
    resize: vertical;
    min-height: 2em;
}


@media screen and (prefers-color-scheme: dark) {

    html {
        background-color: black;
        color: white;
    }

    body {
        background-color: black;
        box-shadow: none;
        border: 2px solid white;
        border-radius: 1em;
    }

    .error {
        color: red;
    }

    textarea {
        color: white;
        background-color: black;
    }

}