-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnothing.html
45 lines (45 loc) · 849 Bytes
/
nothing.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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Under Construction</title>
<style>
body {
height: 100%;
width: 100%;
}
.light {
background-color: #f8f9fa;
color: #212529;
}
.dark {
background-color: #333333;
color: #337ab7;
}
.container {
align-items: center;
display: flex;
justify-content: center;
min-height: 24em;
}
.inner-container {
flex: 1;
font: normal 32px helvetica,sans-serif;
text-align: center;
}
</style>
</head>
<body>
<div class="container">
<div class="inner-container">Under Construction</div>
</div>
<script>
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.body.classList.add('dark');
} else {
document.body.classList.add('light');
}
</script>
</body>
</html>