- added test banner svg

- need to figure out a better deal with font size and screen size
This commit is contained in:
asus
2023-12-22 18:16:13 +01:00
parent 7484bd8697
commit 553c93a7d1
9 changed files with 114 additions and 18 deletions

View File

@@ -6,17 +6,31 @@
font-weight: normal;
font-style: normal;
}
body, pre {
html {
font-size: 62.5%;
}
body * {
font-family: "notomono", monospace;
font-size: 1.5rem;
font-size: 1.8rem;
font-weight: normal;
font-style: normal;
}
.pre, pre {
display: flex;
white-space: pre;
line-height: 0.8;
font-size: min(2.1vw, 1.0rem);
}
.pre_small {
font-size: min(1.5vw, 0.7rem);
}
/*
for screen larger than 500px
*/
@media screen and (min-width: 500px) {
html {
font-size: calc(var(--base_font_size) * 1.2);
body {
font-size: 1.5rem;
}
}
ul {
@@ -57,13 +71,3 @@ h4 { margin: 20px 0px; font-size: 1.5rem; }
h5 { margin: 10px 0px; font-size: 1.25rem; }
h6 { margin: 10px 0px; font-size: 1.0rem; }
.pre, pre {
display: flex;
white-space: pre;
line-height: 0.8;
font-size: min(2.1vw, 1.0rem);
}
.pre_small {
font-size: min(1.5vw, 0.7rem);
}