/* wiki.qazaqnovel.kz -- the main site's fonts and colours
   (static_src/styles/app.css): Montserrat headings, Open Sans text,
   the teal brand; lighter teal for text in the dark theme. */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-italic-variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-variable.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-italic-variable.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --md-text-font: "Open Sans";
}

/* brand: the header is the teal fill in both themes (white text, 5.9:1) */
:root > * {
  --md-primary-fg-color: rgb(3, 102, 114);
  --md-primary-fg-color--light: rgb(86, 190, 203);
  --md-primary-fg-color--dark: rgb(5, 80, 92);
  --md-primary-bg-color: #ffffff;
  --md-accent-fg-color: rgb(5, 80, 92);
  --md-typeset-a-color: rgb(3, 102, 114);
}

[data-md-color-scheme="slate"] {
  --md-accent-fg-color: rgb(140, 214, 224);
  --md-typeset-a-color: rgb(86, 190, 203);
}

/* headings and the site name in Montserrat, as on the site */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-header__title,
.md-nav__title {
  font-family: "Montserrat", var(--md-text-font-family);
}
.md-typeset h1 {
  font-weight: 700;
}
.md-typeset h2 {
  font-weight: 700;
}

/* reading: a little larger, like the chapter page */
.md-typeset {
  font-size: 0.85rem;
  line-height: 1.7;
}

/* examples («Бұрын / Кейін») */
.md-typeset blockquote {
  border-left-color: var(--md-primary-fg-color--light);
  color: var(--md-typeset-color);
}
