hugo-geekdoc/src/sass/_fonts.scss

85 lines
2.0 KiB
SCSS
Raw Normal View History

2020-01-12 14:33:02 +00:00
@font-face {
font-family: "Liberation Sans";
2020-09-10 20:23:24 +00:00
src: url("fonts/LiberationSans-Bold.woff2") format("woff2"),
url("fonts/LiberationSans-Bold.woff") format("woff");
2020-01-12 14:33:02 +00:00
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";
2020-09-10 20:23:24 +00:00
src: url("fonts/LiberationSans-Italic.woff2") format("woff2"),
url("fonts/LiberationSans-Italic.woff") format("woff");
2020-01-12 14:33:02 +00:00
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";
2020-09-10 20:23:24 +00:00
src: url("fonts/LiberationSans.woff2") format("woff2"),
url("fonts/LiberationSans.woff") format("woff");
2020-01-12 14:33:02 +00:00
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 {
2020-02-05 22:07:36 +00:00
font-family: "Liberation Mono";
2020-09-10 20:23:24 +00:00
src: url("fonts/LiberationMono.woff2") format("woff2"),
url("fonts/LiberationMono.woff") format("woff");
2020-01-12 14:33:02 +00:00
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 {
2020-02-05 22:07:36 +00:00
font-family: "Droid Sans";
2020-09-10 20:23:24 +00:00
src: url("fonts/DroidSans.woff2") format("woff2"),
url("fonts/DroidSans.woff") format("woff");
2020-02-05 22:07:36 +00:00
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Metropolis";
2020-09-10 20:23:24 +00:00
src: url("fonts/Metropolis.woff2") format("woff2"),
url("fonts/Metropolis.woff") format("woff");
2020-01-12 14:33:02 +00:00
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
}
2020-03-15 17:38:10 +00:00
@font-face {
font-family: "GeekdocIcons";
2020-09-10 20:23:24 +00:00
src: url("fonts/GeekdocIcons.woff2") format("woff2"),
url("fonts/GeekdocIcons.woff") format("woff");
2020-03-15 17:38:10 +00:00
font-weight: normal;
font-style: normal;
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 {
2020-02-05 22:07:36 +00:00
font-family: "Metropolis", sans-serif;
2020-01-12 14:33:02 +00:00
}