hugo-geekdoc/src/sass/_fonts.scss

75 lines
1.8 KiB
SCSS
Raw Normal View History

2020-01-12 15:33:02 +01:00
@font-face {
font-family: "Liberation Sans";
2020-09-10 22:23:24 +02:00
src: url("fonts/LiberationSans-Bold.woff2") format("woff2"),
url("fonts/LiberationSans-Bold.woff") format("woff");
2020-01-12 15:33:02 +01:00
font-weight: bold;
font-style: normal;
2020-01-12 22:37:45 +01:00
font-display: swap;
2020-01-12 15:33:02 +01: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 22:37:45 +01:00
font-display: swap;
2020-01-12 15:33:02 +01:00
}
@font-face {
font-family: "Liberation Sans";
2020-09-10 22:23:24 +02:00
src: url("fonts/LiberationSans-Italic.woff2") format("woff2"),
url("fonts/LiberationSans-Italic.woff") format("woff");
2020-01-12 15:33:02 +01:00
font-weight: normal;
font-style: italic;
2020-01-12 22:37:45 +01:00
font-display: swap;
2020-01-12 15:33:02 +01:00
}
@font-face {
font-family: "Liberation Sans";
2020-09-10 22:23:24 +02:00
src: url("fonts/LiberationSans.woff2") format("woff2"),
url("fonts/LiberationSans.woff") format("woff");
2020-01-12 15:33:02 +01:00
font-weight: normal;
font-style: normal;
2020-01-12 22:37:45 +01:00
font-display: swap;
2020-01-12 15:33:02 +01:00
}
@font-face {
2020-02-05 23:07:36 +01:00
font-family: "Liberation Mono";
2020-09-10 22:23:24 +02:00
src: url("fonts/LiberationMono.woff2") format("woff2"),
url("fonts/LiberationMono.woff") format("woff");
2020-01-12 15:33:02 +01:00
font-weight: normal;
font-style: normal;
2020-01-12 22:37:45 +01:00
font-display: swap;
2020-01-12 15:33:02 +01:00
}
2020-02-05 23:07:36 +01:00
@font-face {
font-family: "Metropolis";
src: url("fonts/Metropolis.woff2") format("woff2"), url("fonts/Metropolis.woff") format("woff");
2020-01-12 15:33:02 +01:00
font-weight: normal;
font-style: normal;
2020-01-12 22:37:45 +01:00
font-display: swap;
2020-01-12 15:33:02 +01:00
}
2020-03-15 18:38:10 +01:00
@font-face {
font-family: "GeekdocIcons";
2020-09-10 22:23:24 +02:00
src: url("fonts/GeekdocIcons.woff2") format("woff2"),
url("fonts/GeekdocIcons.woff") format("woff");
2020-03-15 18:38:10 +01:00
font-weight: normal;
font-style: normal;
font-display: swap;
}
2020-01-12 15:33:02 +01:00
body {
font-family: "Liberation Sans", sans-serif;
}
code,
.gdoc-error__title {
font-family: "Liberation Mono", monospace;
}
.gdoc-header {
2020-02-05 23:07:36 +01:00
font-family: "Metropolis", sans-serif;
2020-01-12 15:33:02 +01:00
}