From b4410a449f7fda06b33738433303a35034283034 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 11 Nov 2014 10:57:06 +0100 Subject: Serve local ptsans --- src/style.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src') 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 { -- cgit v1.2.3-70-g09d2