remove DroidSerif

uci-hugo-doc
Robert Kaussow 2020-02-05 23:07:36 +01:00
parent 803dc97324
commit 4ccea5670d
8 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,4 @@
- BUGFIX * ENHANCEMENT
- fix typos * remove webfont DroidSerif
- fix sort by weight order * add new webfonts DroidSans and Metropolis
* set Metropolis as new header default

View File

@ -32,16 +32,25 @@
} }
@font-face { @font-face {
font-family: "Droid Serif"; font-family: "Liberation Mono";
src: url("fonts/DroidSerif.woff2") format("woff2"), url("fonts/DroidSerif.woff") format("woff"); src: url("fonts/LiberationMono.woff2") format("woff2"), url("fonts/LiberationMono.woff") format("woff");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
} }
@font-face { @font-face {
font-family: "Liberation Mono"; font-family: "Droid Sans";
src: url("fonts/LiberationMono.woff2") format("woff2"), url("fonts/LiberationMono.woff") format("woff"); src: url("fonts/DroidSans.woff2") format("woff2"), url("fonts/DroidSans.woff") format("woff");
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Metropolis";
src: url("fonts/Metropolis.woff2") format("woff2"), url("fonts/Metropolis.woff") format("woff");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
font-display: swap; font-display: swap;
@ -57,5 +66,5 @@ code,
} }
.gdoc-header { .gdoc-header {
font-family: "Droid Serif", serif; font-family: "Metropolis", sans-serif;
} }

BIN
static/fonts/DroidSans.woff Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.