diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-03-23 20:53:40 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-03-23 20:54:59 +0000 |
commit | 42b491521e59ee5d9ffe90e27ebd8d02a9b6d02e (patch) | |
tree | bbf189ac7d85ab979caf135bae0d04946cd8073f /src | |
parent | 2fa40398b0d4f201f567afb5b4c7312b7ce5c472 (diff) | |
download | website-42b491521e59ee5d9ffe90e27ebd8d02a9b6d02e.tar.xz |
style: Replace PT Sans with Fontin{, Sans}
Diffstat (limited to 'src')
-rw-r--r-- | src/style.css | 28 |
1 files 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'; |