From 9eac212a3aa64a712caf8dbf5a5bcfaacf8a4021 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 1 Mar 2024 09:47:14 +0100 Subject: add base.css --- public/base.css | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 public/base.css (limited to 'public/base.css') diff --git a/public/base.css b/public/base.css new file mode 100644 index 0000000..890893e --- /dev/null +++ b/public/base.css @@ -0,0 +1,37 @@ +/* fonts */ +@font-face { + font-family: 'CMU Typewriter Text Variable Width'; + src: url('cmunvt.otf'); } + +/* layout */ +* { + box-sizing: border-box; } +html { + width: 100%; + max-width: 600px; } +body { + margin: 10px; } + +/* typography */ +html { + font: 16px 'CMU Typewriter Text Variable Width', serif; + color: black; + hyphens: auto; } +h1, h2, h3 { + font-size: 1rem; + font-weight: normal; } +h1 { + font-weight: bold; + font-style: italic; } +h1, h2, h3, p { + margin-top: 10px; + margin-bottom: 10px; + white-space: pre-wrap; } + +/* links */ +a:link, a:hover { + color: coral; } +a:visited { + color: chocolate; } +a:focus { + outline: dashed darkorange; } -- cgit v1.2.3