TEW-0x00/css/fira_code.css
surtur 50b6f553e6
All checks were successful
continuous-integration/drone/push Build is passing
feat: FiraCode woff support for "pretty modern" browsers
closes #1
2020-06-05 04:31:49 +02:00

50 lines
1.4 KiB
CSS

@font-face {
font-family: 'Fira Code';
font-weight: 300;
font-style: normal;
src: url('/fonts/woff2/FiraCode-Light.woff2') format('woff2'),
url('/fonts/woff/FiraCode-Light.woff') format('woff');
}
@font-face {
font-family: 'Fira Code';
font-weight: 400;
font-style: normal;
src: url('/fonts/woff2/FiraCode-Regular.woff2') format('woff2'),
url('/fonts/woff/FiraCode-Regular.woff') format('woff');
}
@font-face {
font-family: 'Fira Code';
font-weight: 500;
font-style: normal;
src: url('/fonts/woff2/FiraCode-Medium.woff2') format('woff2'),
url('/fonts/woff/FiraCode-Medium.woff') format('woff');
}
@font-face {
font-family: 'Fira Code';
font-weight: 600;
font-style: normal;
src: url('/fonts/woff2/FiraCode-SemiBold.woff2') format('woff2'),
url('/fonts/woff/FiraCode-SemiBold.woff') format('woff');
}
@font-face {
font-family: 'Fira Code';
font-weight: 700;
font-style: normal;
src: url('/fonts/woff2/FiraCode-Bold.woff2') format('woff2'),
url('/fonts/woff/FiraCode-Bold.woff') format('woff');
}
@font-face {
font-family: 'Fira Code VF';
/* [> font-weight requires a range: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide#Using_a_variable_font_font-face_changes <] */
font-weight: 300 700;
font-style: normal;
src: url('/fonts/woff2/FiraCode-VF.woff2') format('woff2-variations'),
url('/fonts/woff/FiraCode-VF.woff') format('woff-variations');
}