this repo has no description

chore: scale font size relatively to the screen width

hauleth.dev 16a62143 084bcb6d

verified
Changed files
+12 -9
sass
+12 -9
sass/_main.scss
···
@import "variables";
+
:root {
+
font-size: calc(1rem + 0.1vw);
+
line-height: 1.54;
+
color: var(--color);
+
+
@media print {
+
color: #000;
+
line-height: 1.2;
+
font-size: 10pt;
+
}
+
}
+
html {
box-sizing: border-box;
}
···
margin: 0;
padding: 0;
font-family: ui-monospace, monospace;
-
font-size: 12pt;
-
line-height: 1.54;
background-color: var(--background);
-
color: var(--color);
// text-shadow: 0 0 3px currentcolor;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-webkit-overflow-scrolling: touch;
-webkit-text-size-adjust: 100%;
-
-
@media print {
-
color: #000;
-
line-height: 1.2;
-
font-size: 10pt;
-
}
}
h1, h2, h3, h4, h5, h6 {