Skip to content

Commit d9d94e3

Browse files
espyjanl
authored andcommitted
fix: make css font asset paths relative
1 parent e15265c commit d9d94e3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/src/less/pouchdb/type.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
@font-face {
44
font-family: 'Lato';
5-
src: url('/static/fonts/LatoLatin-Medium.woff2') format('woff2');
5+
src: url('../fonts/LatoLatin-Medium.woff2') format('woff2');
66
font-weight: 400;
77
font-style: normal;
88
font-display: swap; /* Improves performance */
@@ -14,15 +14,15 @@
1414
font-family: 'Open Sans';
1515
font-style: normal;
1616
font-weight: 400;
17-
src: url('/static/fonts//open-sans-v44-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
17+
src: url('../fonts/open-sans-v44-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
1818
}
1919
/* open-sans-700 - latin_latin-ext */
2020
@font-face {
2121
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
2222
font-family: 'Open Sans';
2323
font-style: normal;
2424
font-weight: 700;
25-
src: url('/static/fonts//open-sans-v44-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
25+
src: url('../fonts/open-sans-v44-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
2626
}
2727

2828
h1, h2, h3, h4, h5, h6,

0 commit comments

Comments
 (0)