diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-11 10:57:06 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-11 10:57:06 +0100 |
commit | b4410a449f7fda06b33738433303a35034283034 (patch) | |
tree | 8cabd74a3f9305489f090ba55a2f1af62b481d38 | |
parent | 98cd5a598611642a9cb5c3c0fd378cb803f7ec0f (diff) | |
download | theos-website-b4410a449f7fda06b33738433303a35034283034.tar.xz |
Serve local ptsans
-rw-r--r-- | src/style.css | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/style.css b/src/style.css index 07d8ad2..fcdab81 100644 --- a/src/style.css +++ b/src/style.css @@ -1,4 +1,21 @@ -@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700); +@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-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: italic; + font-weight: 400; + src: local('PT Sans Italic'), local('PTSans-Italic'), url(https://theos.kyriasis.com/fonts/ptsans-italic.ttf) format('truetype'); +} *, *:before, *:after { box-sizing: border-box; } html { |