-
Notifications
You must be signed in to change notification settings - Fork 1
/
museum.html
74 lines (56 loc) · 944 Bytes
/
museum.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Night</title>
<meta name="description" content="A poem">
<style>
:root {
--bg: white;
--text: oklch(25% 0 0);
--soft: oklch(42% 0 0);
}
@media (prefers-color-scheme: dark) {
:root {
--bg: oklch(31.14% 0.021 285.75);
--text: oklch(90% 0.008 286.75);
--soft: oklch(78.61% 0.021 285.75);
}
}
body {
background-color: var(--bg);
color: var(--text);
line-height: 1.5;
margin: 1em;
}
@media (width > 40em) {
body {
margin: 4em;
}
}
p {
margin-block: 1.5rem;
}
footer {
margin-block: 2.25rem;
color: var(--soft);
font-style: italic;
}
</style>
</head>
<body>
<h2>Night</h2>
<p>
In a dark museum room<br>
Lit by moonlight<br>
The paintings look at each other<br>
</p>
<footer>
<small>
Manav Rathi<br>
Summer, 2019
</small>
</footer>
</body>
</html>