mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Use relative URL for fonts
Makes it work when the website isn't on root (such as demo)
This commit is contained in:
parent
b854ae48e6
commit
23f86d5982
@ -122,12 +122,12 @@
|
|||||||
font-family: "Open Sans";
|
font-family: "Open Sans";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
src: url("/font/opensans/OpenSans-VariableFont_wdth,wght-9f637b868d10819aa0085e6cf7f70953411c8905c4055c069adbe8acc708feef.woff2") format("woff2");
|
src: url("../font/opensans/OpenSans-VariableFont_wdth,wght-9f637b868d10819aa0085e6cf7f70953411c8905c4055c069adbe8acc708feef.woff2") format("woff2");
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: JetBrainsMono;
|
font-family: JetBrainsMono;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url("/font/jetbrainsmono/JetBrainsMono_wght-e190ee6595a3b9bd25278613a6f5d3766ee1a708f300ed44fa63dbe84051498f.woff2") format("woff2");
|
src: url("../font/jetbrainsmono/JetBrainsMono_wght-e190ee6595a3b9bd25278613a6f5d3766ee1a708f300ed44fa63dbe84051498f.woff2") format("woff2");
|
||||||
}
|
}
|
||||||
:root {
|
:root {
|
||||||
--font-sans: "Open Sans", "Noto Sans", sans-serif;
|
--font-sans: "Open Sans", "Noto Sans", sans-serif;
|
||||||
|
Loading…
Reference in New Issue
Block a user