-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
56 lines (47 loc) · 812 Bytes
/
styles.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
:root {
--unit: clamp(0.5rem, 1vw, 1rem);
--minBaseFontSize: 1.5rem;
--maxBaseFontSize: 3rem;
--baseFontSize: clamp(var(--minBaseFontSize), 2.5vw, var(--maxBaseFontSize));
--baseFontFamily: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
"Segoe UI", sans-serif;
--pagePadding: calc(var(--unit) * 2);
}
*,
*:before,
*:after {
box-sizing: border-box;
}
html {
font-size: 100%;
}
body {
font-family: var(--baseFontFamily);
font-size: var(--baseFontSize);
margin: unset;
padding: var(--pagePadding);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
color: inherit;
}
a:hover {
color: blue;
}
p {
margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
margin: 0;
}
header {
display: grid;
grid-template-columns: 1fr auto;
}