1
0

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.
This commit is contained in:
Aaron Lindsay 2014-02-16 16:03:36 -05:00
parent 463271a2a2
commit 93d23c225f
2 changed files with 4 additions and 4 deletions

View File

@ -5,5 +5,5 @@
font-family: 'Cardo'; font-family: 'Cardo';
font-style: normal; font-style: normal;
font-weight: 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');
} }

View File

@ -5,19 +5,19 @@
font-family: 'Tangerine'; font-family: 'Tangerine';
font-style: normal; font-style: normal;
font-weight: bold; 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-face {
font-family: 'Tangerine'; font-family: 'Tangerine';
font-style: normal; font-style: normal;
font-weight: 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-face {
font-family: 'Cardo'; font-family: 'Cardo';
font-style: normal; font-style: normal;
font-weight: 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 { body {