- made font available on all elements with body and pre
- added an example for later better accessibility with pre
This commit is contained in:
11
styles/pre.css
Normal file
11
styles/pre.css
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user