aboutsummaryrefslogtreecommitdiffstats
path: root/src/layouts/Layout.astro
blob: 8ebd2f2b2804b7f98b8dc501e99b1f0550789d40 (plain) (blame)
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
interface Props {
    title: string;
}

const { title } = Astro.props;
---

<!doctype html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta
            name="description"
            content="providing only the most moe of web services"
        />
        <meta name="viewport" content="width=device-width" />
        <link
            rel="apple-touch-icon"
            sizes="180x180"
            href="/apple-touch-icon.png"
        />
        <link
            rel="icon"
            type="image/png"
            sizes="32x32"
            href="/favicon-32x32.png"
        />
        <link
            rel="icon"
            type="image/png"
            sizes="16x16"
            href="/favicon-16x16.png"
        />
        <link rel="manifest" href="/site.webmanifest" />
        <link
            href="https://api.fontshare.com/v2/css?f[]=satoshi@400&display=swap"
            rel="stylesheet"
        />
        <meta name="generator" content={Astro.generator} />
        <title>{title}</title>
    </head>
    <body>
        <slot />
    </body>
</html>
<style is:global>
    :root {
        --pink-pastel: #ffd7f1;
        --pink-lighter: #ffeaf8;
        --pink-darker: #f5a9ce;
        --zinc-50: #fff5fb;
        --zinc-400: #f5c2e7;
        --zinc-800: #e1a4c9;
        --zinc-900: #d990b4;
        --zinc-950: #ffedf6;
    }

    *,
    *::before,
    *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        font-family: "Satoshi", system-ui, sans-serif;
        color: var(--zinc-950);
    }

    body {
        background: #fff4e6;
        padding: 20px;
    }

    a {
        color: var(--zinc-800);
        text-decoration: none;
        transition: color 0.2s ease-in-out;
    }

    a:hover {
        color: var(--pink-darker);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: "Satoshi", sans-serif;
        color: var(--zinc-800);
    }
    button {
        background: var(--zinc-50);
        color: var(--zinc-900);
        border: 2px solid var(--zinc-400);
        border-radius: 12px;
        padding: 10px 20px;
        transition:
            background 0.3s ease,
            color 0.3s ease;
        cursor: pointer;
    }

    button:hover {
        background: var(--pink-darker);
        color: var(--zinc-50);
    }

    .container {
        padding: 20px;
        overflow: visible;
    }
</style>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage