Skip to content

Commit d7f09e1

Browse files
committed
Fix style
1 parent 732cb84 commit d7f09e1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

assets/css/main.css

+6-5
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,14 @@
6262

6363
html {
6464
font-family: 'Zen Antique Soft', serif;
65-
font-size: 1vw;
65+
/* font-size: 1vw; */
6666
-webkit-font-smoothing: antialiased;
6767
text-align: left;
6868
}
6969

7070
body {
71-
font-size: clamp(16px, calc(16px + (20px - 16px) * ((100vw - 600px) / (1600 - 600))), 20px);
71+
/* min: 16px, max: 20px, viewport: 600-1600px */
72+
font-size: clamp(1rem, 0.85rem + 0.4vw, 1.25rem);
7273
line-height: 1.4;
7374
}
7475

@@ -242,7 +243,7 @@ main {
242243
box-sizing: border-box;
243244
padding: 0.5em 0 0;
244245
text-align: center;
245-
font-size: 15.5vw;
246+
font-size: 14vw;
246247
left: -0.025em;
247248
line-height: 1;
248249
letter-spacing: -0.2em;
@@ -255,7 +256,7 @@ main {
255256
}
256257
@media (min-width: 750px) {
257258
#command-line-interface-guidelines > h1 {
258-
font-size: 16.5vw;
259+
font-size: 14vw;
259260
}
260261
}
261262
@media (min-width: 120vh) {
@@ -265,7 +266,7 @@ main {
265266
}
266267
@media (min-width: 120vh) {
267268
#command-line-interface-guidelines > h1 {
268-
font-size: 20vh;
269+
font-size: 18vh;
269270
max-width: 8em;
270271
margin: 0 auto;
271272
}

0 commit comments

Comments
 (0)