diff options
| author | Paul Buetow <paul@buetow.org> | 2022-05-28 21:06:53 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-05-28 21:06:53 +0100 |
| commit | 7bff22ebcb7c5039b9165f6a79482bd23cf000ce (patch) | |
| tree | 1fe768a147ba30089f52825e4af49d8034786b9a | |
| parent | 1ac38160eb083d00052bb0c1c5edb6ed2a8ff7dc (diff) | |
canary using webfonts
| -rw-r--r-- | code.ttf | bin | 0 -> 367144 bytes | |||
| -rw-r--r-- | style.css | 14 | ||||
| -rw-r--r-- | text.ttf | bin | 0 -> 176716 bytes |
3 files changed, 12 insertions, 2 deletions
diff --git a/code.ttf b/code.ttf Binary files differnew file mode 100644 index 00000000..7c8e65b8 --- /dev/null +++ b/code.ttf @@ -1,3 +1,13 @@ +@font-face { + font-family: 'text'; + src: url("./text.ttf") format("truetype"); +} + +@font-face { + font-family: 'code'; + src: url("./code.ttf") format("truetype"); +} + * { line-height: 1.5em; margin: 0; @@ -7,7 +17,7 @@ } body { - font: normal 14px monospace; + font-family: text, monospace; width: 99%; max-width: 800px; margin: 2em auto 0; @@ -102,7 +112,7 @@ img { } pre { - font-family: monospace; + font-family: courier, code, monospace; padding: 0; overflow-x: scroll; scrollbar-width: none; diff --git a/text.ttf b/text.ttf Binary files differnew file mode 100644 index 00000000..8df41bd5 --- /dev/null +++ b/text.ttf |
