diff options
| author | Paul Buetow <paul@buetow.org> | 2025-01-04 15:48:34 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-01-04 15:48:34 +0200 |
| commit | bf60fc37b93d2e85276de359b556e00e5f70b979 (patch) | |
| tree | 244b5880419eba3f829d95b238f73c1254d2af9f /extras/html/themes/default/style.css | |
| parent | f5e2d2edc4ab9f2842ef5cdca0ce1a130ce6f0a7 (diff) | |
add new theme
Diffstat (limited to 'extras/html/themes/default/style.css')
| -rw-r--r-- | extras/html/themes/default/style.css | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/extras/html/themes/default/style.css b/extras/html/themes/default/style.css new file mode 100644 index 0000000..f2cf40b --- /dev/null +++ b/extras/html/themes/default/style.css @@ -0,0 +1,91 @@ +@font-face { + font-family: 'text'; + src: url("./text.ttf") format("truetype"); +} + +@font-face { + font-family: 'heading'; + src: url("./heading.ttf") format("truetype"); +} + +@font-face { + font-family: 'code'; + src: url("./code.ttf") format("truetype"); +} + +@font-face { + font-family: 'handnotes'; + src: url("./handnotes.ttf") format("truetype"); +} + +body { + font-family: text, sans-serif; + max-width: 1200px; + padding: 20px; + margin: 20px auto; + border: 1px solid #eeeeee; + border-radius: 15px; +} + +a { + font-family: code, monospace; + text-decoration: none; + color: #0e0e0e; +} + +h1, h2, h3 { + font-family: heading, serif; +} + +a { + color: #666666; + padding: 0 0 0 0; +} + +a:hover { + text-decoration: underline; +} + +a.textlink:before { + content: "⇒ "; +} + +.quote { + font-style: italic; +} + +.quote:before { + content: "« "; + padding-left: 2px; +} + +.quote:after { + content: " »"; + padding-right: 2px; +} + +ul { + list-style: none; + margin: 0 0 0 0; + padding: 0 0 0 0; +} + +li:before { + content: "★"; + padding-right: 5px; +} + +img { + max-width: 90%; +} + +pre { + font-family: code, monospace; + padding: 20px; + border: 1px solid #cccccc; +} + +span.inlinecode { + font-family: code, monospace; + border: 1px solid #999999; +} |
