-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
145 lines (132 loc) · 3.58 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="description"
content="Akvaplan-niva's color palette, developed in coop with Reibo"
/>
<meta
name="viewport"
content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=5"
/>
<meta name="theme-color" content="red" />
<title>@akvaplan/reibo-palette</title>
<style>
:root {
--apn-primary: rgb(var(--apn-green));
--apn-on-primary: rgb(var(--apn-white));
--apn-secondary: rgb(var(--apn-blue));
--apn-on-secondary: rgb(var(--apn-white));
--apn-background: rgb(var(--apn-white));
}
* {
margin: 0;
padding: 0;
font-family: sans-serif;
}
a {
color: var(--apn-secondary);
}
header {
display: grid;
grid-template-columns: 64px 1fr 64px;
grid-template-rows: 64px;
grid-column-gap: 0;
margin-top: 0;
padding: 0;
background: var(--apn-secondary);
color: var(--apn-on-secondary);
white-space: nowrap;
}
header > * {
display: grid;
justify-content: center;
align-content: center;
}
main {
display: grid;
grid-template-columns: 1fr;
grid-row-gap: 12px;
grid-column-gap: 8px;
font-size: 2rem;
}
li {
cursor: pointer;
margin: 0;
padding: 0.5rem;
}
footer {
background: var(--apn-on-primary);
color: var(--apn-primary);
font-size: 2rem;
}
</style>
<script type="module" src="demo.js"></script>
</head>
<body>
<header>
<span></span>
<h2>
@akvaplan/reibo-palette
</h2>
<div></div>
</header>
<div>
<div>
<label for="font-size">Font size: <span>32</span> px</label>
<input
type="range"
id="font-size"
min="9"
max="128"
value="32"
step="1"
/>
<label for="min-contrast">Minimum contrast: <span>4.5</span></label>
<input
type="range"
id="min-contrast"
min="1"
max="7"
value="4.5"
step="0.5"
/>
</div>
<main><ul></ul></main>
<footer class="kafka">
<header>
<div></div>
<h2>
Nothing more wonderfully beautiful can exist than the Arctic night
</h2>
<div></div>
</header>
<figure>
<blockquote
cite="https://www.gutenberg.org/files/30197/30197-h/30197-h.htm"
>
<p>
It is dreamland, painted in the imagination’s most delicate tints;
it is color etherealized. One shade melts into the other, so that
you cannot tell where one ends and the other begins, and yet they
are all there. No forms—it is all faint, dreamy color music, a
far-away, long-drawn-out melody on muted strings. Is not all
life’s beauty high, and delicate, and pure like this night? Give
it brighter colors, and it is no longer so beautiful.
</p>
</blockquote>
<figcaption>
– Fridtjof Nansen,
<cite
><a
href="https://www.gutenberg.org/files/30197/30197-h/30197-h.htm#pb252"
>Farthest North</a
></cite
>
</figcaption>
</figure>
</footer>
</div>
</body>
</html>