Skip to content

Commit

Permalink
fix webfont relative url
Browse files Browse the repository at this point in the history
  • Loading branch information
pfdt committed Jan 9, 2021
1 parent a133e17 commit 80c710e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
font-weight: 400;
font-display: swap;
src: local('Abril Fatface'), local('AbrilFatface-Regular'),
url(../assets/webfonts/Abril-Fatface.woff2) format('woff2'),
url(../assets/webfonts/Abril-Fatface.woff) format('woff');
url(/assets/webfonts/Abril-Fatface.woff2) format('woff2'),
url(/assets/webfonts/Abril-Fatface.woff) format('woff');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
Expand All @@ -18,8 +18,8 @@
font-weight: 300;
font-display: swap;
src: local('Barlow Condensed Light'), local('BarlowCondensed-Light'),
url(../assets/webfonts/Barlow-Condensed.woff2) format('woff2'),
url(../assets/webfonts/Barlow-Condensed.woff) format('woff');
url(/assets/webfonts/Barlow-Condensed.woff2) format('woff2'),
url(/assets/webfonts/Barlow-Condensed.woff) format('woff');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

Expand Down

0 comments on commit 80c710e

Please sign in to comment.