-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (92 loc) · 1.61 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
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
:root {
--light: #f7f7f7;
--dark: #1a1a1a;
--med: #808080;
--interactive: rgb(0, 150, 255);
--interactive-alpha: rgb(0, 150, 255, 0.25);
--focus: #f3bf4e;
--foreground: var(--dark);
--background: var(--light);
--fontStack: "Inter", -apple-system, system-ui, BlinkMacSystemFont, sans-serif;
}
* {
box-sizing: border-box;
font: inherit;
margin: 0;
padding: 0;
position: relative;
}
html {
background-color: var(--background);
color: var(--foreground);
display: flex;
font-size: 150%;
font-family: var(--fontStack);
min-height: 100%;
line-height: 1.5;
transition-property: background-color, color;
transition: 0.1s ease;
overflow: hidden;
}
@media (max-width: 400px) {
html {
font-size: 100%;
}
}
h1 {
font-size: 2rem;
font-weight: 700;
letter-spacing: -0.04em;
line-height: 1;
margin-bottom: 1.5rem;
}
p,
dl,
h1,
footer {
margin-bottom: 1.5rem;
}
a {
color: inherit;
text-decoration: underline;
text-decoration-color: var(--med);
}
.icon {
font-size: 1.25rem;
line-height: 1;
margin-right: 0.25em;
}
a:hover,
a:focus {
color: var(--interactive);
text-decoration-color: var(--interactive-alpha);
}
*:focus {
outline: 4px solid var(--focus);
}
dl {
font-size: 0.875rem;
}
dt {
font-weight: 700;
display: flex;
}
footer {
color: var(--med);
}
@media (prefers-color-scheme: dark) {
:root {
--foreground: var(--light);
--background: var(--dark);
}
}
body {
--column-width: 50ch;
display: flex;
flex-direction: column;
flex: 0 1 var(--column-width);
height: 100%;
margin: auto;
padding: 1rem;
padding-bottom: 0;
}