/* Libron, served from this site.

   The theme would otherwise pull its fonts from Google on every page load, which
   is a third-party request we do not need and, for a German university, one with
   paperwork attached. `font = false` in the Zensical configuration turns that
   off, which also drops the --md-text-font the theme would have set, so it is
   set here instead.

   Libron is licensed under the SIL Open Font License 1.1. The licence travels
   with the files, in fonts/OFL.txt.

   Libron ships as four static files, regular and bold at weights 400 and 700,
   each upright and italic. The theme asks for weights 300 and 500 to 600 in a
   few places. A browser picks the nearest of the two that exist. */

@font-face {
  font-family: "Libron";
  src: url("../fonts/Libron-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libron";
  src: url("../fonts/Libron-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Libron";
  src: url("../fonts/Libron-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libron";
  src: url("../fonts/Libron-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* The theme appends its own fallback stack to this. */
  --md-text-font: "Libron";
}

/* Libron's small capitals (the smcp feature): capitals stay full size, lower
   case letters become small capitals. Used on the first mention of the name on
   the home page. */
.small-caps {
  font-variant-caps: small-caps;
}
