-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlanding.css
68 lines (55 loc) · 1.18 KB
/
landing.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
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
@import url('https://fonts.googleapis.com/css2?family=Rubik+Mono+One&display=swap');
:root {
--letter-expand-duration: 0.5s;
--subscribe-link-slide-duration: 0.5s;
--letter-color: var(--accent-color);
--feed-link-color: var(--letter-color);
}
body#landing {
nav a {
position: fixed;
font-size: clamp(1rem, 5vw, 30vh);
&#about {
bottom: 2vw;
left: 2vw;
}
&#posts {
bottom: 2vw;
right: 2vw;
}
}
div.expansion#landing-expansion {
&>div.components {
color: var(--accent-color);
&>span {
margin: 0;
font-family: 'Rubik Mono One', monospace;
transition-property: width, margin;
font-size: clamp(1rem, 10vw, 20vh);
width: 1ch;
}
}
&>a.link#feed {
font-family: 'Rubik', sans-serif;
font-style: italic;
font-size: clamp(1rem, 5vw, 20vh);
}
&:hover,
&:has(a.link#feed:focus) {
div.components {
span {
margin: 0 0.15ch;
&#watch {
width: 5ch;
}
&#this {
width: 4ch;
}
&#space {
width: 5ch;
}
}
}
}
}
}