generated from webmural/0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hum.css
39 lines (35 loc) · 828 Bytes
/
hum.css
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
html {
font-family: sans-serif;
font-size: max(2em, 2vmax + 2vmin);
line-height: 1.618;
}
body {
margin: auto;
overflow-wrap: anywhere;
}
a {
border-radius: 100%;
font-size: max(2rem, var(--vol) * 1.618rem);
display: inline-flex;
text-decoration-line: line-through;
}
nav {
align-items: center;
box-sizing: border-box;
contain: layout;
display: flex;
flex-flow: row wrap;
justify-content: flex-end;
margin: auto;
margin-right: 10vw;
min-height: 100vh;
padding: 20vh 10vw;
}
:nth-child(1n) { --vol: 1 }
:nth-child(2n) { --vol: 1.618 }
:nth-child(3n) { --vol: 2.618 }
:nth-child(odd) { text-decoration-style: double }
:nth-child(even) { text-decoration-style: dotted }
:focus { text-decoration-style: solid }
:hover { text-decoration-style: wavy }
:target a { transform: rotate(99deg) }