Skip to content

Instantly share code, notes, and snippets.

@evantkchong
Forked from bartzalewski/JetBrains-Mono.css
Last active December 9, 2020 14:48
Show Gist options
  • Select an option

  • Save evantkchong/eec7b26f30ced56b28ba35e2775b477f to your computer and use it in GitHub Desktop.

Select an option

Save evantkchong/eec7b26f30ced56b28ba35e2775b477f to your computer and use it in GitHub Desktop.
JetBrains Mono WebFont CSS adapted from the JetBrains Mono website
/* Adapted from the css of the JetBrainsMono site at https://www.jetbrains.com/lp/mono */
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-ExtraLight.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-ExtraLight.ttf?raw=true") format("truetype");
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-ExtraLightItalic.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-ExtraLightItalic.ttf?raw=true") format("truetype");
font-weight: 100;
font-style: italic;
}
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-Light.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-Light.ttf?raw=true") format("truetype");
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-LightItalic.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-LightItalic.ttf?raw=true") format("truetype");
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-Regular.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-Regular.ttf?raw=true") format("truetype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: JetBrainsMonoItalic;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-Italic.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-Italic.ttf?raw=true") format("truetype");
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-Medium.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-Medium.ttf?raw=true") format("truetype");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-MediumItalic.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-MediumItalic.ttf?raw=true") format("truetype");
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-Bold.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-Bold.ttf?raw=true") format("truetype");
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-BoldItalic.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-BoldItalic.ttf?raw=true") format("truetype");
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-ExtraBold.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-ExtraBold.ttf?raw=true") format("truetype");
font-weight: 900;
font-style: normal;
}
@font-face {
font-family: JetBrainsMono;
src: url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/webfonts/JetBrainsMono-ExtraBoldItalic.woff2?raw=true") format("woff2"),
url("https://github.com/JetBrains/JetBrainsMono/raw/master/fonts/ttf/JetBrainsMono-ExtraBoldItalic.ttf?raw=true") format("truetype");
font-weight: 900;
font-style: italic;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment