made font size continuous

This commit is contained in:
asus
2023-11-19 12:58:49 +01:00
parent 035c75ea45
commit 41ba9a3e52
4 changed files with 5 additions and 12 deletions

View File

@@ -11,7 +11,6 @@
<link href="./styles/reset.css" type="text/css" rel="stylesheet"> <link href="./styles/reset.css" type="text/css" rel="stylesheet">
<link href="./styles/global.css" type="text/css" rel="stylesheet"> <link href="./styles/global.css" type="text/css" rel="stylesheet">
<link href="./styles/text.css" type="text/css" rel="stylesheet"> <link href="./styles/text.css" type="text/css" rel="stylesheet">
<link href="./styles/pre.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/mouses.css" type="text/css" rel="stylesheet"> <link href="./styles/elements/mouses.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/banners.css" type="text/css" rel="stylesheet"> <link href="./styles/elements/banners.css" type="text/css" rel="stylesheet">
<link href="./styles/elements/title.css" type="text/css" rel="stylesheet"> <link href="./styles/elements/title.css" type="text/css" rel="stylesheet">

View File

@@ -1,11 +0,0 @@
pre {
line-height: 0.8;
font-size: 1.2rem;
}
@media screen and (max-width: 530px) {
pre {
font-size: 2.2vw;
}
}

View File

@@ -40,6 +40,7 @@ pre {
body { body {
/* /*
*/ */
margin: 0px;
display: grid; display: grid;
grid: grid:
' title ' auto ' title ' auto

View File

@@ -32,3 +32,7 @@ a::after {
h1 { h1 {
margin: 30px 0px; margin: 30px 0px;
} }
pre {
line-height: 0.8;
font-size: min(2.2vw, 1.0rem);
}