summaryrefslogtreecommitdiffstats
path: root/public/base.css
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2025-07-18 19:30:42 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2025-07-18 19:30:42 +0200
commitf51259f351861a78824fb940986e4f084cd74be0 (patch)
treec314ffe6925cd4ec188a862dd19bb6eea16ac607 /public/base.css
parent9eac212a3aa64a712caf8dbf5a5bcfaacf8a4021 (diff)
add code styling to base cssmain
Diffstat (limited to 'public/base.css')
-rw-r--r--public/base.css13
1 files changed, 10 insertions, 3 deletions
diff --git a/public/base.css b/public/base.css
index 890893e..716dceb 100644
--- a/public/base.css
+++ b/public/base.css
@@ -1,7 +1,10 @@
/* fonts */
@font-face {
font-family: 'CMU Typewriter Text Variable Width';
- src: url('cmunvt.otf'); }
+ src: url('https://static.nomath.org/cmunvt.otf'); }
+@font-face {
+ font-family: 'CMU Typewriter Text Regular';
+ src: url('https://static.nomath.org/cmuntt.otf'); }
/* layout */
* {
@@ -25,8 +28,7 @@ h1 {
font-style: italic; }
h1, h2, h3, p {
margin-top: 10px;
- margin-bottom: 10px;
- white-space: pre-wrap; }
+ margin-bottom: 10px; }
/* links */
a:link, a:hover {
@@ -35,3 +37,8 @@ a:visited {
color: chocolate; }
a:focus {
outline: dashed darkorange; }
+
+/* code */
+pre, code {
+ font: 16px 'CMU Typewriter Text Regular', serif;
+ }