Skip to content

Commit

Permalink
Fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Melchizedek6809 committed Jun 14, 2024
1 parent b68348d commit 04fc506
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ const { title } = Astro.props;
font-family: 'Berolina';
font-style: normal;
font-weight: normal;
src: local('Berolina'), url('Berolina.woff') format('woff');
src: url('Berolina.woff') format('woff'), url('../Berolina.woff') format('woff');
}


@font-face {
font-family: 'Berolina Light Italic';
font-style: normal;
font-weight: normal;
src: local('Berolina Light Italic'), url('Berolina-Oblique.woff') format('woff');
src: url('Berolina-Oblique.woff') format('woff'), url('../Berolina-Oblique.woff') format('woff');
}

@font-face {
Expand Down Expand Up @@ -94,7 +94,9 @@ const { title } = Astro.props;
@font-face {
font-family: 'Bellota Text';
src: url('BellotaText-Regular.woff2') format('woff2'),
url('BellotaText-Regular.woff') format('woff');
url('BellotaText-Regular.woff') format('woff'),
url('../BellotaText-Regular.woff2') format('woff2'),
url('../BellotaText-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
Expand All @@ -113,7 +115,7 @@ const { title } = Astro.props;
font-family: 'Bhavuka';
font-style: normal;
font-weight: normal;
src: local('Bhavuka'), url('Bhavuka-Regular.woff') format('woff');
src: url('Bhavuka-Regular.woff') format('woff'), url('../Bhavuka-Regular.woff') format('woff');
}


Expand Down

0 comments on commit 04fc506

Please sign in to comment.