- made font available on all elements with body and pre

- added an example for later better accessibility with pre
This commit is contained in:
asus
2023-11-17 18:10:01 +01:00
parent 7e0cb01352
commit 0dfafb81d2
3 changed files with 35 additions and 13 deletions

11
styles/pre.css Normal file
View File

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

View File

@@ -5,18 +5,14 @@
font-weight: normal;
font-style: normal;
}
h1, h2, h3, h4, h5, h6, p, pre, li {
/*
*/
body, pre {
font-family: "notomono", monospace;
font-size: 1.5rem;
font-weight: normal;
font-style: normal;
}
p, li {
}
pre {
line-height: 0.8;
font-size: 1.2rem;
}
ul {
/*
*/
@@ -29,9 +25,3 @@ li {
li::marker {
font-size: 1.2rem;
}
@media screen and (max-width: 530px) {
pre {
font-size: 2.2vw;
}
}