diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2023-11-23 23:42:22 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2023-11-23 23:42:22 +0300 |
commit | bc0389208b62a74c1c7b1067ebeb0f3532d0cdaa (patch) | |
tree | 83c42f8b7cef3ee20f5b02deb5d6436ebea9e1f7 /layouts/partials | |
parent | 945246c56093b022cfcbd1f5897c5671adab391f (diff) |
Edit fonts
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head/style.html | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/layouts/partials/head/style.html b/layouts/partials/head/style.html index 99499b1..b1af278 100644 --- a/layouts/partials/head/style.html +++ b/layouts/partials/head/style.html @@ -1,6 +1,35 @@ <style type="text/css"> + @font-face { + font-family: 'Computer Modern Serif'; + src: url('/font/cmunrm.woff') format('woff'),; + font-weight: normal; + font-style: normal; + } + + @font-face { + font-family: 'Computer Modern Serif'; + src: url('/font/cmunbx.woff') format('woff'); + font-weight: bold; + font-style: normal; + } + + @font-face { + font-family: 'Computer Modern Serif'; + src: url('cmunti.woff') format('woff'); + font-weight: normal; + font-style: italic; + } + + + @font-face { + font-family: 'Computer Modern Serif'; + src: url('cmunbi.woff') format('woff'); + font-weight: bold; + font-style: italic; + } + body { - font-family: 'CMUSerifRoman', serif; + font-family: 'Computer Modern Serif', serif; font-size: 13pt; line-height: 120%; background: white; |