public-html/res/css/fira.css

49 lines
1.4 KiB
CSS
Raw Permalink Normal View History

2024-11-17 12:11:47 +00:00
@font-face {
font-family: "Fira Code";
2024-11-17 13:18:43 +00:00
src: url("../fonts/FiraCode-Light.woff2") format("woff2"),
url("../fonts/FiraCode-Light.woff") format("woff");
2024-11-17 12:11:47 +00:00
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: "Fira Code";
2024-11-17 13:18:43 +00:00
src: url("../fonts/FiraCode-Regular.woff2") format("woff2"),
url("../fonts/FiraCode-Regular.woff") format("woff");
2024-11-17 12:11:47 +00:00
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "Fira Code";
2024-11-17 13:18:43 +00:00
src: url("../fonts/FiraCode-Medium.woff2") format("woff2"),
url("../fonts/FiraCode-Medium.woff") format("woff");
2024-11-17 12:11:47 +00:00
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "Fira Code";
2024-11-17 13:18:43 +00:00
src: url("../fonts/FiraCode-SemiBold.woff2") format("woff2"),
url("../fonts/FiraCode-SemiBold.woff") format("woff");
2024-11-17 12:11:47 +00:00
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: "Fira Code";
2024-11-17 13:18:43 +00:00
src: url("../fonts/FiraCode-Bold.woff2") format("woff2"),
url("../fonts/FiraCode-Bold.woff") format("woff");
2024-11-17 12:11:47 +00:00
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: "Fira Code VF";
2024-11-17 13:18:43 +00:00
src: url("../fonts/FiraCode-VF.woff2") format("woff2-variations"),
url("../fonts/FiraCode-VF.woff") format("woff-variations");
2024-11-17 12:11:47 +00:00
/* 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;
}