/* Kubastion dark: Forgejo's dark theme with its steel greys set to Kubastion's
   dark surfaces and neutrals, its orange accent to the brand's dark-mode
   copper, Kubastion's fonts and its dark-mode Button B. Caddy serves the
   fonts, also to its error page. */
@import "./theme-forgejo-dark.css";
@import "/static/fonts/kubastion-fonts.css";

:root {
  --fonts-proportional: "IBM Plex Sans", system-ui, sans-serif;
  --fonts-monospace: "IBM Plex Mono", ui-monospace, monospace, var(--fonts-emoji);
  --steel-100: #f0edf2;
  --steel-150: #d2cdd5;
  --steel-200: #b4aeb8;
  --steel-250: #a59fa9;
  --steel-300: #97919b;
  --steel-350: #88828d;
  --steel-400: #7a747f;
  --steel-450: #6d6771;
  --steel-500: #5f5963;
  --steel-550: #524c56;
  --steel-600: #453f49;
  --steel-650: #39333d;
  --steel-700: #2e2730;
  --steel-750: #1e1820;
  --steel-800: #141016;
  --steel-850: #110e14;
  --steel-900: #0f0c11;
  --color-primary: #c98a5e;
  --color-primary-dark-1: #e3a276;
  --color-primary-dark-2: #e3a276;
  --color-primary-dark-3: #edbc9a;
  --color-primary-dark-4: #edbc9a;
  --color-primary-dark-5: #edd3c2;
  --color-primary-dark-6: #edd3c2;
  --color-primary-dark-7: #eaded7;
  --color-primary-light-1: #b87a4e;
  --color-primary-light-2: #a5693d;
  --color-primary-light-3: #884e21;
  --color-primary-light-4: #6e3602;
  --color-primary-light-5: #6e3602;
  --color-primary-light-6: #572901;
  --color-primary-light-7: #572901;
  --color-primary-alpha-10: #a5693d19;
  --color-primary-alpha-20: #a5693d33;
  --color-primary-alpha-30: #a5693d4b;
  --color-primary-alpha-40: #a5693d66;
  --color-primary-alpha-50: #a5693d80;
  --color-primary-alpha-60: #a5693d99;
  --color-primary-alpha-70: #a5693db3;
  --color-primary-alpha-80: #a5693dcc;
  --color-primary-alpha-90: #a5693de1;
  --color-secondary-alpha-10: #39333d19;
  --color-secondary-alpha-20: #39333d33;
  --color-secondary-alpha-30: #39333d4b;
  --color-secondary-alpha-40: #39333d66;
  --color-secondary-alpha-50: #39333d80;
  --color-secondary-alpha-60: #39333d99;
  --color-secondary-alpha-70: #39333db3;
  --color-secondary-alpha-80: #39333dcc;
  --color-secondary-alpha-90: #39333de1;
  --color-header-wrapper-transparent: #2e273000;
}

/* Filled primary buttons as Kubastion's dark-mode Button B: the unlightened
   aubergine with white text, a light top edge and a shadow; links and
   outlined buttons keep the copper accent. */
.button.primary,
.ui.primary.button:not(.basic),
.ui.primary.buttons:not(.basic) .button {
  --color-primary: #3e2233;
  --color-primary-contrast: #ffffff;
  --color-primary-hover: #4c2b40;
  --color-primary-active: #2a1723;
  box-shadow: inset 0 1px 0 #6a4159, 0 2px 5px rgba(0, 0, 0, 0.55);
}

/* Headings in Kubastion's display face, as in its web adapter. */
h1,
h2,
h3,
h4 {
  font-family: "Archivo", var(--fonts-regular);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* IBM Plex Sans runs smaller than the system fonts Forgejo sizes for; one
   pixel more keeps Forgejo's 14/20 ratio of size to line height. */
html,
body {
  font-size: 15px;
}

body {
  line-height: 21px;
}
