diff options
author | dataCobra <datacobra@mailbox.org> | 2020-08-27 14:22:10 +0300 |
---|---|---|
committer | dataCobra <datacobra@mailbox.org> | 2020-08-27 14:22:10 +0300 |
commit | 7dc9f5d3b7fd64f0f2a9df73895804124bc3aae6 (patch) | |
tree | 60f519d705a26c321c3cdb67d513aa601197a1f8 /static | |
parent | fa5de38cd317995bb035b13cc3aa42ee58430916 (diff) |
Add Roboto Mono as new font for code
Diffstat (limited to 'static')
-rw-r--r-- | static/css/main.css | 10 | ||||
-rw-r--r-- | static/webfonts/RobotoMono-Regular.woff | bin | 0 -> 26464 bytes |
2 files changed, 10 insertions, 0 deletions
diff --git a/static/css/main.css b/static/css/main.css index 3dcee9e..9656a72 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -24,11 +24,20 @@ @font-face { font-family: 'Roboto Slab Regular'; + font-display: auto; font-style: normal; font-weight: 400; src: local('Roboto Slab Regular'), url('../webfonts/RobotoSlab-Regular.woff') format('woff'); } +@font-face { + font-family: 'Roboto Mono'; + font-display: auto; + font-style: normal; + font-weight: 400; + src: local('Roboto Mono'), url('../webfonts/RobotoMono-Regular.woff') format('woff'); +} + body { font-family: "Roboto Regular", serif; font-weight: 400; @@ -440,6 +449,7 @@ ul.flat li { } code, kbd, pre, samp { + font-family: "Roboto Mono", monospace; font-size: 0.95em; } diff --git a/static/webfonts/RobotoMono-Regular.woff b/static/webfonts/RobotoMono-Regular.woff Binary files differnew file mode 100644 index 0000000..44b84dd --- /dev/null +++ b/static/webfonts/RobotoMono-Regular.woff |