diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-17 01:33:06 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-17 01:39:59 +0100 |
commit | c67ec962dc5d5e9e42eb72032ed4f039cf20629b (patch) | |
tree | b5ad3d54f475fdd0f12f4f623e75c351bfc2fc38 /src | |
parent | 7cb0cdb41158463d575686de11df9a535bd57d31 (diff) | |
download | theos-website-c67ec962dc5d5e9e42eb72032ed4f039cf20629b.tar.xz |
Add dejavusans mono webfont
Diffstat (limited to 'src')
-rw-r--r-- | src/fonts/DejaVuSansMono.woff | bin | 0 -> 282532 bytes | |||
-rw-r--r-- | src/style.css | 30 |
2 files changed, 18 insertions, 12 deletions
diff --git a/src/fonts/DejaVuSansMono.woff b/src/fonts/DejaVuSansMono.woff Binary files differnew file mode 100644 index 0000000..0112043 --- /dev/null +++ b/src/fonts/DejaVuSansMono.woff diff --git a/src/style.css b/src/style.css index fcdab81..4018a27 100644 --- a/src/style.css +++ b/src/style.css @@ -1,20 +1,26 @@ @font-face { - font-family: 'PT Sans'; - font-style: normal; - font-weight: 400; - src: local('PT Sans'), local('PTSans-Regular'), url(https://theos.kyriasis.com/fonts/ptsans.ttf) format('truetype'); + font-family: 'PT Sans'; + font-style: normal; + font-weight: 400; + src: local('PT Sans'), local('PTSans-Regular'), url(https://theos.kyriasis.com/fonts/ptsans.ttf) format('truetype'); +} +@font-face { + font-family: 'PT Sans'; + font-style: normal; + font-weight: 700; + src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://theos.kyriasis.com/fonts/ptsans-bold.ttf) format('truetype'); } @font-face { - font-family: 'PT Sans'; - font-style: normal; - font-weight: 700; - src: local('PT Sans Bold'), local('PTSans-Bold'), url(https://theos.kyriasis.com/fonts/ptsans-bold.ttf) format('truetype'); + font-family: 'PT Sans'; + font-style: italic; + font-weight: 400; + src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://theos.kyriasis.com/fonts/ptsans-italic.ttf) format('truetype'); } @font-face { - font-family: 'PT Sans'; - font-style: italic; - font-weight: 400; - src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://theos.kyriasis.com/fonts/ptsans-italic.ttf) format('truetype'); + font-family: 'DejaVu Sans Mono'; + src: url('https://theos.kyriasis.com/fonts/DejaVuSansMono.woff') format('woff'); + font-weight: normal; + font-style: normal; } *, *:before, *:after { box-sizing: border-box; } |