-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathfluidtype.css
executable file
·161 lines (143 loc) · 3.51 KB
/
fluidtype.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
/* Set box-sizing globally to handle padding and border widths */
*,
*:after,
*:before {
box-sizing: border-box;
}
/* Import of the Inter Font*/
@import url("https://rsms.me/inter/inter.css");
@supports (font-variation-settings: normal) {
}
/* Base */
:root {
--font-size: calc(12px + 0.698vw); /* The character count on */
--line-height: calc(var(--font-size) * 1.4);
--letter-spacing: calc(var(--font-size) * 0.0015);
--font-weight: 300;
--red: #eb5757;
--blue: #0004b3;
--light-blue: #b3d7ff; /* The color is the native browser highlight text color, to make the appeal of importance and focus on specific areas of the text.*/
--dark-gray: #282c35;
--light-gray: #f7f7f7;
--font-family: "Inter", sans-serif;
}
html,
body {
font-family: var(--font-family);
word-break: break-word;
font-variant-numeric: slashed-zero;
}
p,
li,
b,
i,
strong,
a,
mark {
font-size: var(--font-size);
line-height: var(--line-height);
letter-spacing: var(--letter-spacing);
font-feature-settings: normal;
font-family: var(--font-family);
}
p,
li,
mark,
a,
blockquote {
font-weight: calc(var(--font-weight) * 1.33);
}
code {
font-size: calc(var(--font-size) * 1.1);
line-height: var(--line-height);
letter-spacing: var(--letter-spacing);
font-weight: calc(var(--font-weight) * 1.33);
color: var(--red);
font-family: var(--font-family);
}
mark {
background: var(--light-blue);
padding: 0.05vw 0.4vw;
border-radius: 2px;
color: var(--dark-gray);
font-size: calc(var(--font-size) * 1.1);
letter-spacing: var(--letter-spacing);
font-weight: calc(var(--font-weight) * 1.33);
word-break: break-word;
font-family: var(--font-family);
}
blockquote {
background-color: var(--light-gray);
font-size: calc(var(--font-size) * 1.1);
letter-spacing: var(--letter-spacing);
border-left: 4px solid var(--dark-gray);
border-radius: 2px;
padding: 2.5vw;
margin: 2%;
font-style: italic;
font-family: var(--font-family);
}
a {
color: var(--dark-gray);
text-decoration-skip-ink: none;
font-family: var(--font-family);
}
a:focus {
outline: 1px dashed var(--blue);
}
a:hover {
color: var(--blue);
}
pre {
background-color: var(--dark-gray);
color: var(--light-gray);
display: block;
margin: 0 0 1.5625em;
border-radius: 4px;
overflow: auto;
padding: 2.5vw;
tab-size: 4;
-moz-tab-size: 4;
-o-tab-size: 4;
white-space: pre-wrap;
word-break: break-all;
font-size: calc(var(--font-size) * 1.1);
letter-spacing: var(--letter-spacing);
font-family: var(--font-family);
}
h1 {
font-size: calc(var(--font-size) * 3);
letter-spacing: var(--letter-spacing);
font-weight: calc(var(--font-weight) * 2.66);
font-family: var(--font-family);
}
h2 {
font-size: calc(var(--font-size) * 2);
letter-spacing: var(--letter-spacing);
font-weight: calc(var(--font-weight) * 2.33);
font-family: var(--font-family);
}
h3 {
font-size: calc(var(--font-size) * 1.75);
letter-spacing: var(--letter-spacing);
font-weight: calc(var(--font-weight) * 2);
font-family: var(--font-family);
}
h4 {
font-size: calc(var(--font-size) * 1.5);
letter-spacing: var(--letter-spacing);
font-weight: calc(var(--font-weight) * 1.667);
font-family: var(--font-family);
}
h5 {
font-size: calc(var(--font-size) * 1.25);
letter-spacing: var(--letter-spacing);
font-weight: calc(var(--font-weight) * 1.5);
font-family: var(--font-family);
}
h6 {
font-size: calc(var(--font-size) * 1);
letter-spacing: var(--letter-spacing);
font-weight: calc(var(--font-weight) * 1);
font-family: var(--font-family);
}