summaryrefslogtreecommitdiff
path: root/site/style.css
blob: 9c4f668e9ddcc264a71477b7604dc65b10968dd2 (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
59
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;
    margin-top: 0.5em;
}

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;
    }

}