/* ATAS adjustments of the DocFX "modern" template: the fonts and sizes of the previous (doxygen-awesome) site. */

:root {
  --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  --bs-font-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --bs-body-font-size: 15.6px;
  --bs-link-color: #1779c4;
  --bs-link-color-rgb: 23, 121, 196;
  --bs-link-hover-color: #125f9a;
  --bs-link-hover-color-rgb: 18, 95, 154;
}

[data-bs-theme="dark"] {
  --bs-link-color: #1982d2;
  --bs-link-color-rgb: 25, 130, 210;
  --bs-link-hover-color: #4ea1e0;
  --bs-link-hover-color-rgb: 78, 161, 224;
}

body {
  font-size: 15.6px;
}

/* Header: a gap between the logo and the title, the title in the regular weight */
#logo {
  height: 32px;
  margin-right: 14px;
}

.navbar-brand {
  font-size: 1.1rem;
  font-weight: 400;
}

/* Headings: the compact sizes of the previous site */
article h1, article h2, article h3, article h4, article h5 {
  font-weight: 600;
  line-height: 1.25;
}

article h1 {
  font-size: 1.75em;
}

article h2 {
  font-size: 1.4em;
  margin-top: 1.4em;
}

article h3 {
  font-size: 1.2em;
}

article h4 {
  font-size: 1.05em;
}

/* Sidebar (the article tree) and the "in this article" column */
.toc, #affix, .affix {
  font-size: 14.4px;
}

/* Code */
code, pre {
  font-size: 14px;
}
