From 93d23c225f53fe468a4815d46e753545578f586c Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Sun, 16 Feb 2014 16:03:36 -0500 Subject: [PATCH] Make font paths relative If they are absolute paths, you have to pick one of http or https, which causes issues if youre website is accessible on both. --- css/fonts.css | 2 +- wedding/stylesheet.css | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/css/fonts.css b/css/fonts.css index a196ced..f708240 100644 --- a/css/fonts.css +++ b/css/fonts.css @@ -5,5 +5,5 @@ font-family: 'Cardo'; font-style: normal; font-weight: normal; - src: local('Cardo'), url('https://aclindsay.com/fonts/Cardo99s.ttf') format('truetype'); + src: local('Cardo'), url('../fonts/Cardo99s.ttf') format('truetype'); } diff --git a/wedding/stylesheet.css b/wedding/stylesheet.css index 99f4f8f..a2c650a 100644 --- a/wedding/stylesheet.css +++ b/wedding/stylesheet.css @@ -5,19 +5,19 @@ font-family: 'Tangerine'; font-style: normal; font-weight: bold; - src: local('Tangerine Bold'), local('Tangerine-Bold'), url('https://wedding.aclindsay.com/fonts/Tangerine_Bold.ttf') format('truetype'); + src: local('Tangerine Bold'), local('Tangerine-Bold'), url('fonts/Tangerine_Bold.ttf') format('truetype'); } @font-face { font-family: 'Tangerine'; font-style: normal; font-weight: normal; - src: local('Tangerine'), url('https://wedding.aclindsay.com/fonts/Tangerine_Regular.ttf') format('truetype'); + src: local('Tangerine'), url('fonts/Tangerine_Regular.ttf') format('truetype'); } @font-face { font-family: 'Cardo'; font-style: normal; font-weight: normal; - src: local('Cardo'), url('https://wedding.aclindsay.com/fonts/Cardo99s.ttf') format('truetype'); + src: local('Cardo'), url('fonts/Cardo99s.ttf') format('truetype'); } body {