-
Notifications
You must be signed in to change notification settings - Fork 2
/
glytter.scss
90 lines (76 loc) · 1.78 KB
/
glytter.scss
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
@font-face {
src: url('./fonts/Firava.woff2') format('woff2-variations');
font-display: swap;
font-family: 'Firava';
font-weight: 100 900;
}
@font-face {
src: url('./fonts/FiravaItalic.woff2') format('woff2-variations');
font-display: swap;
font-family: 'Firava';
font-style: italic;
font-weight: 100 900;
}
@font-face {
src: url('./fonts/AdobeBlank.ttf') format('truetype');
font-display: swap;
font-family: 'AdobeBlank';
}
@media (min-width: 700px) {
body {
--font-size: 1.5rem;
}
}
:root {
--font-family: "Firava";
}
*, *::before, *::after {
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
}
body {
font-family: "Firava", "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Verdana, sans-serif;
font-size: var(--font-size, 1rem);
line-height: 1.75;
margin: 0 auto;
max-width: 72ch;
width: 96vw;
}
footer {
margin-bottom: 1rem;
}
h1 {
line-height: 1.25;
margin: .5rem 0 1rem 0;
}
h2 {
font-size: 1.5rem;
text-transform: uppercase;
}
h2,
p {
margin: .5rem 0;
}
ul {
padding: 0;
margin: 0 0 0 1.2rem;
}
input,
button,
textarea,
select {
font: inherit;
}
#fontfam {
background: #fffae3;
padding: 0 .25rem;
}
p#charmap {
background: #fffae3;
border-radius: .5rem;
font-family: var(--font-family, sans-serif);
/* letter-spacing: .02ch; */
margin: 1rem 0;
overflow-wrap: break-word;
padding: 1rem;
}