Skip to content

Instantly share code, notes, and snippets.

@HananoshikaYomaru
Created November 22, 2023 07:13
Show Gist options
  • Save HananoshikaYomaru/e576f3f561e44110ff4f73b1cec8a053 to your computer and use it in GitHub Desktop.
Save HananoshikaYomaru/e576f3f561e44110ff4f73b1cec8a053 to your computer and use it in GitHub Desktop.
I put this code in my obsidian publish
/* section : font */
@font-face {
font-family: "Geist";
src: url(https://cdn.jsdelivr.net/gh/HananoshikaYomaru/geist@main/GeistVF.woff2)
format("woff");
font-weight: normal;
}
@font-face {
font-family: "IA Writer Quattro";
src: url(https://cdn.jsdelivr.net/gh/iaolo/iA-Fonts@master/iA%20Writer%20Mono/Webfonts/iAWriterMonoS-Regular.woff2)
format("woff");
font-weight: normal;
}
@font-face {
font-family: "IA Writer Quattro";
src: url(https://cdn.jsdelivr.net/gh/iaolo/iA-Fonts@master/iA%20Writer%20Mono/Webfonts/iAWriterMonoS-Bold.woff)
format("woff");
font-weight: bold;
}
@font-face {
font-family: "Monaspace Radon Var";
src: url(https://cdn.jsdelivr.net/gh/githubnext/monaspace@main/fonts/webfonts/MonaspaceRadonVarVF%5Bwght%2Cwdth%2Cslnt%5D.woff2)
format("woff");
font-weight: normal;
}
body {
--font-text: "IA Writer Quattro", "Geist", sans-serif;
--font-interface: "IA Writer Quattro", "Geist", sans-serif;
--font-monospace: "IA Writer Quattro", "Geist";
}
body blockquote * {
font-family: "Monaspace Radon Var", "IA Writer Quattro", "Geist", sans-serif;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment