aboutsummaryrefslogtreecommitdiff
path: root/src/pages/_template.php
blob: 67174d94e7679d56de3d347dbd5b8fc040ebba0e (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
<!DOCTYPE html>

<html>

    <head>

        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <title><?php print $page_title ?> | autumn's forest</title>
        <link rel="icon" type="image/x-icon" href="/public/logo.png">

        <style>

            * {
                font-family: sans-serif;
            }

            html {
                display: flex;
                justify-content: center;
                background-color: #e1e2e7;
                color: #1a1b26;

                @media (prefers-color-scheme: dark) {
                    background-color: #1a1b26;
                    color: #c0caf5;
                }
            }

            body {
                max-width: 1024px;
                width: 100%;
            }

            a {
                color: #587539;

                &:hover {
                    color: #8c6c3e;
                }

                @media (prefers-color-scheme: dark) {
                    color: #9ece6a;

                    &:hover {
                        color: #e0af68;
                    }
                }
            }

        </style>

    </head>

    <body>

        <?php print $page_content ?>

    </body>
</html>