summaryrefslogtreecommitdiff
path: root/pages/html/style.gohtml
blob: bb15fb9288b4c3dc761aad1e5b98149cb89151d7 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{{ define "style"}}
<style>
    @media (prefers-color-scheme: dark) {
        html {
            background-color: #3e3b37;
            color: rgb(222, 213, 200);
        }
    }

    body {
        max-width: 44em;
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 32px;

        & p {
            padding: 4px 0;
        }
    }
    main {
        min-height: 105vh;
        display: flex;
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }

    label {
        display: flex;
        justify-content: end;
        width: 100%;
        gap: 8px;
    }

    form {
        font-family: system-ui;
        display: flex;
        flex-direction: column;
        gap: 4px;

        width: 100%;

        & input {
            background-color: #fefcf8;
            color: rgb(30, 27, 25);
            border-color: #bad1f9;
            border-style: double;
        }

        & input[type="number"] {
            width: 48px;
        }

        & input[type="text"] {
            width: 20em;
        }

        & input[type="submit"] {
            background-color: #bef8d7;
            border-color: #395143;
        }
    }

    header {
        display: flex;
        align-items: baseline;
        gap: 16px;
        justify-content: space-between;

        & a {
            text-decoration: none;
        }

        & h1 {
            font-family: monospace
        }
    }

    a {
        color: #f2cae2;
    }
</style>
{{end}}