Skip to content

Instantly share code, notes, and snippets.

@joaobispo2077
Created February 28, 2022 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joaobispo2077/68b348b1584d06df4cd8569cc4c4b8e7 to your computer and use it in GitHub Desktop.
Save joaobispo2077/68b348b1584d06df4cd8569cc4c4b8e7 to your computer and use it in GitHub Desktop.
CSS for using JetBrains Mono on my site
@font-face {
font-family: "JetBrains Mono Regular";
src: url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/eot/JetBrainsMono-Regular.eot")
format("embedded-opentype"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff2/JetBrainsMono-Regular.woff2")
format("woff2"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff/JetBrainsMono-Regular.woff")
format("woff"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/ttf/JetBrainsMono-Regular.ttf")
format("truetype");
}
@font-face {
font-family: "JetBrains Mono Medium";
src: url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/eot/JetBrainsMono-Medium.eot")
format("embedded-opentype"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff2/JetBrainsMono-Medium.woff2")
format("woff2"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff/JetBrainsMono-Medium.woff")
format("woff"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/ttf/JetBrainsMono-Medium.ttf")
format("truetype");
}
@font-face {
font-family: "JetBrains Mono Bold";
src: url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/eot/JetBrainsMono-Bold.eot")
format("embedded-opentype"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff2/JetBrainsMono-Bold.woff2")
format("woff2"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff/JetBrainsMono-Bold.woff")
format("woff"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/ttf/JetBrainsMono-Bold.ttf")
format("truetype");
}
@font-face {
font-family: "JetBrains Mono ExtraBold";
src: url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/eot/JetBrainsMono-ExtraBold.eot")
format("embedded-opentype"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff2/JetBrainsMono-ExtraBold.woff2")
format("woff2"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/web/woff/JetBrainsMono-ExtraBold.woff")
format("woff"),
url("https://raw.githubusercontent.com/JetBrains/JetBrainsMono/master/ttf/JetBrainsMono-ExtraBold.ttf")
format("truetype");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment