-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
80 lines (64 loc) · 1.13 KB
/
style.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
69
70
71
72
73
74
75
76
77
78
79
80
/* Fluid typography */
html {
/* Interpolate 16–32px font-size for 320–3840px device-width */
font-size: calc(16px + (32 - 16) * ((100vw - 320px) / (3840 - 320)));
line-height: 1.5;
}
/* gruvbox color scheme */
body {
background-color: #fbf1c7;
color: #3c3836;
}
@media (hover: hover) {
a:hover {
background-color: #7c6f64;
}
}
@media (prefers-color-scheme: dark) {
body {
background-color: #282828;
color: #ebdbb2;
}
@media (hover: hover) {
a:hover {
background-color: #a89984;
}
}
}
/* Center contents */
* {
margin: 0;
}
body {
display: flex;
flex-direction: column;
height: 100vh;
justify-content: center;
padding: 0 8.75vw;
row-gap: 12.5vh;
text-align: center;
}
/* Fonts */
h1 {
font-family: ui-sans-serif, system-ui, sans-serif;
font-weight: normal;
}
p {
font-family: ui-monospace, 'Roboto Mono', Menlo, Consolas, monospace;
font-weight: 300;
}
/* List as row of icon links */
ul {
display: flex;
flex-wrap: wrap;
font-size: 2em;
gap: 1.25em;
justify-content: center;
padding-left: 0;
}
li {
display: inline-block;
}
a {
text-decoration: none;
}