hugo-geekdoc/src/sass/_fonts.scss

62 lines
1.5 KiB
SCSS
Raw Normal View History

2020-01-12 14:33:02 +00:00
@font-face {
font-family: "Liberation Sans";
src: url("fonts/LiberationSans-Bold.woff2") format("woff2"), url("fonts/LiberationSans-Bold.woff") format("woff");
font-weight: bold;
font-style: normal;
2020-01-12 21:37:45 +00:00
font-display: swap;
2020-01-12 14:33:02 +00:00
}
@font-face {
font-family: "Liberation Sans";
src: url("fonts/LiberationSans-BoldItalic.woff2") format("woff2"),
url("fonts/LiberationSans-BoldItalic.woff") format("woff");
font-weight: bold;
font-style: italic;
2020-01-12 21:37:45 +00:00
font-display: swap;
2020-01-12 14:33:02 +00:00
}
@font-face {
font-family: "Liberation Sans";
src: url("fonts/LiberationSans-Italic.woff2") format("woff2"), url("fonts/LiberationSans-Italic.woff") format("woff");
font-weight: normal;
font-style: italic;
2020-01-12 21:37:45 +00:00
font-display: swap;
2020-01-12 14:33:02 +00:00
}
@font-face {
font-family: "Liberation Sans";
src: url("fonts/LiberationSans.woff2") format("woff2"), url("fonts/LiberationSans.woff") format("woff");
font-weight: normal;
font-style: normal;
2020-01-12 21:37:45 +00:00
font-display: swap;
2020-01-12 14:33:02 +00:00
}
@font-face {
font-family: "Droid Serif";
src: url("fonts/DroidSerif.woff2") format("woff2"), url("fonts/DroidSerif.woff") format("woff");
font-weight: normal;
font-style: normal;
2020-01-12 21:37:45 +00:00
font-display: swap;
2020-01-12 14:33:02 +00:00
}
@font-face {
font-family: "Liberation Mono";
src: url("fonts/LiberationMono.woff2") format("woff2"), url("fonts/LiberationMono.woff") format("woff");
font-weight: normal;
font-style: normal;
2020-01-12 21:37:45 +00:00
font-display: swap;
2020-01-12 14:33:02 +00:00
}
body {
font-family: "Liberation Sans", sans-serif;
}
code,
.gdoc-error__title {
font-family: "Liberation Mono", monospace;
}
.gdoc-header {
font-family: "Droid Serif", serif;
}