-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (110 loc) · 3.1 KB
/
index.html
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
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script
src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/p5.min.js"
integrity="sha512-3RlxD1bW34eFKPwj9gUXEWtdSMC59QqIqHnD8O/NoTwSJhgxRizdcFVQhUMFyTp5RwLTDL0Lbcqtl8b7bFAzog=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script src="./algorithms.js"></script>
<script src="./sketch.js" defer></script>
<link rel="icon" type="image/x-icon" href="./ferd.png" />
<meta content="MentaalAchtergesteld" property="og:title" />
<meta content="wauw" property="og:description" />
<meta content="https://mentaalachtergesteld.nl" property="og:url" />
<meta
content="https://mentaalachtergesteld.nl/ferd.png"
property="og:image"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta content="#995FA3" data-react-helmet="true" name="theme-color" />
<title>MentaalAchtergesteld</title>
</head>
<body>
<style>
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap");
:root {
--foreground: #202020;
--background: #f7f0f0;
}
.darkmode {
--foreground: #f7f0f0;
--background: #202020;
}
body {
margin: 0;
box-sizing: border-box;
overflow: hidden;
width: 100vw;
height: 100vh;
user-select: none;
font-family: "Poppins", sans-serif;
color: var(--foreground);
transition: 0.5s color;
background-color: var(--background);
}
.centered-fixed {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
h1 {
font-size: 3rem;
font-weight: 400;
margin: 0;
}
h2 {
font-weight: 300;
}
#darkmodeToggle {
position: absolute;
top: 0;
right: 0;
margin: 0.5vw;
aspect-ratio: 1/1;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.75rem;
background: none;
outline: none;
border: none;
cursor: pointer;
transition: 0.5s all;
}
#darkmodeToggle.on {
transform: rotate(180deg);
}
svg {
transition: 0.5s all;
fill: var(--foreground);
}
</style>
<div class="centered-fixed">
<h1>mentaal achtergesteld</h1>
<h2>wauw</h2>
</div>
<button id="darkmodeToggle">
<svg
xmlns="http://www.w3.org/2000/svg"
height="1em"
viewBox="0 0 512 512"
>
<path
d="M448 256c0-106-86-192-192-192V448c106 0 192-86 192-192zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"
/>
</svg>
</button>
</body>
</html>