From 42b491521e59ee5d9ffe90e27ebd8d02a9b6d02e Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 23 Mar 2015 20:53:40 +0000 Subject: style: Replace PT Sans with Fontin{, Sans} --- src/style.css | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/src/style.css b/src/style.css index a45b472..919c63d 100644 --- a/src/style.css +++ b/src/style.css @@ -4,7 +4,7 @@ html { } body { font-size: 1em; - font-family: 'PT Sans'; + font-family: 'Fontin Sans'; font-kerning: normal; font-feature-settings: "kern"; font-variant-ligatures: common-ligatures; @@ -47,6 +47,7 @@ header nav a:hover { color: #000; } header h1 { + font-family: 'Fontin'; margin: 0; } @@ -60,7 +61,8 @@ header h1 { color: #222; } .entry .title { - font-size: 1.4rem; + font-family: 'Fontin'; + font-size: 23px; margin-top: 0.3rem; margin-bottom: 0.3rem; } @@ -212,22 +214,28 @@ footer #emblem img { } @font-face { - font-family: 'PT Sans'; + font-family: 'Fontin'; font-style: normal; - font-weight: 400; - src: local('PT Sans'), local('PTSans-Regular'), url('https://theos.kyriasis.com/fonts/ptsans.ttf') format('truetype'); + font-weight: 700; + src: local('Fontin'), url('https://theos.kyriasis.com/fonts/Fontin-Bold.ttf') format('truetype'); } @font-face { - font-family: 'PT Sans'; + font-family: 'Fontin 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-weight: 400; + src: local('Fontin Sans'), local('FontinSans'), url('https://theos.kyriasis.com/fonts/Fontin_Sans_R_45b.otf') format('opentype'); } @font-face { - font-family: 'PT Sans'; + font-family: 'Fontin 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'); + src: local('Fontin Sans Italic'), local('FontinSans-Italic'), url('https://theos.kyriasis.com/fonts/Fontin_Sans_I_45b.otf') format('opentype'); +} +@font-face { + font-family: 'Fontin Sans'; + font-style: normal; + font-weight: 700; + src: local('Fontin Sans Bold'), local('FontinSans-Bold'), url('https://theos.kyriasis.com/fonts/Fontin_Sans_B_45b.otf') format('opentype'); } @font-face { font-family: 'DejaVu Sans Mono'; -- cgit v1.2.3-70-g09d2