From 0db5a7271177e9792bf8cb24827ba4afa26c7a6d Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 7 Jul 2024 07:53:27 -0400 Subject: Switch to woff2 compressed fonts. --- css/fonts.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'css') diff --git a/css/fonts.css b/css/fonts.css index b622993..cdc41fe 100644 --- a/css/fonts.css +++ b/css/fonts.css @@ -2,21 +2,21 @@ @font-face { font-family: 'Linux Libertine'; - src: url('/fonts/LinLibertine_R.woff'); + src: url('/fonts/LinLibertine_R.woff2'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Linux Libertine'; - src: url('/fonts/LinLibertine_RI.woff'); + src: url('/fonts/LinLibertine_RI.woff2'); font-weight: normal; font-style: italic; } @font-face { font-family: 'Linux Libertine'; - src: url('/fonts/LinLibertine_RB.woff'); + src: url('/fonts/LinLibertine_RB.woff2'); font-weight: bold; font-style: normal; } @@ -25,21 +25,21 @@ @font-face { font-family: 'Linux Biolinum'; - src: url('/fonts/linbio-r-subset.woff'); + src: url('/fonts/LinBiolinum_R.woff2'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Linux Biolinum'; - src: url('/fonts/linbio-ri-subset.woff'); + src: url('/fonts/LinBiolinum_RI.woff2'); font-weight: normal; font-style: italic; } @font-face { font-family: 'Linux Biolinum'; - src: url('/fonts/linbio-rb-subset.woff'); + src: url('/fonts/LinBiolinum_RB.woff2'); font-weight: bold; font-style: normal; } @@ -50,12 +50,12 @@ font-family: 'Inconsolata'; font-style: normal; font-weight: 400; - src: url('/fonts/Inconsolata-Normal.woff'); + src: url('/fonts/Inconsolata-Regular.woff2'); } @font-face { font-family: 'Inconsolata'; font-style: normal; font-weight: 700; - src: local('Inconsolata Bold'), local('Inconsolata-Bold'), url('/fonts/Inconsolata-Bold.woff'); + src: url('/fonts/Inconsolata-Bold.woff2'); } -- cgit v1.2.3