commit 4d310623409b0750d5e591c02ca61ab05f658c95 parent 0222729d08f834b2e999bf2f6531db4bcb3525dd Author: Yohanes Bandung <bandungpenting@gmail.com> Date: Wed, 29 Apr 2020 05:43:25 +0700 hotfix: use absolute path font Diffstat:
| M | assets/fonts.scss | | | 11 | +++++------ |
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/assets/fonts.scss b/assets/fonts.scss @@ -1,6 +1,6 @@ @font-face { font-family: 'iA Writer Quattro S'; - src: url('../../fonts/iAWriterQuattroS-Regular.woff') format('woff'); + src: url('/fonts/iAWriterQuattroS-Regular.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; @@ -10,7 +10,7 @@ } @font-face { font-family: 'iA Writer Quattro S'; - src: url('../../fonts/iAWriterQuattroS-Bold.woff') format('woff'); + src: url('/fonts/iAWriterQuattroS-Bold.woff') format('woff'); font-weight: bold; font-style: normal; font-display: swap; @@ -21,7 +21,7 @@ @font-face { font-family: 'iA Writer Duospace'; - src: url('../../fonts/iAWriterDuospace-Regular.woff') format('woff'); + src: url('/fonts/iAWriterDuospace-Regular.woff') format('woff'); font-weight: normal; font-style: normal; font-display: swap; @@ -31,11 +31,11 @@ } @font-face { font-family: 'iA Writer Duospace'; - src: url('../../fonts/iAWriterDuospace-Bold.woff') format('woff'); + src: url('/fonts/iAWriterDuospace-Bold.woff') format('woff'); font-weight: bold; font-style: normal; font-display: swap; 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; - }- \ No newline at end of file + }