summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-01-04 18:54:55 +0100
committerxengineering <me@xengineering.eu>2022-01-04 18:54:55 +0100
commitfd150f4a77503ad33eb8223e8152de662f725d81 (patch)
treed4423618c3a5e1cf40eabf42600a3cef08332763
parenta80f90ecb8c80db6be077abaef2ed0ce289a4a2a (diff)
downloadlibweb-fd150f4a77503ad33eb8223e8152de662f725d81.tar
libweb-fd150f4a77503ad33eb8223e8152de662f725d81.tar.zst
libweb-fd150f4a77503ad33eb8223e8152de662f725d81.zip
Add Monospace Font for pre Tags
-rw-r--r--libweb.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/libweb.css b/libweb.css
index e833b1c..b2cda7f 100644
--- a/libweb.css
+++ b/libweb.css
@@ -36,6 +36,7 @@ contact via mail: me@xengineering.eu
--background-color-dark2: darkgray;
--font-family-primary: Arial, Helvetica, sans-serif;
+ --font-family-monospace: FreeMono, monospace;
--vertical-space-small: 1vh;
--vertical-space-medium: 2vh;
@@ -173,6 +174,7 @@ li {
}
pre {
+ font-family: var(--font-family-monospace);
margin-top: var(--vertical-space-medium);
margin-bottom: var(--vertical-space-medium);
padding: 1em;