/* IMPORTS ================================================================= */
/* ============================================================================
FONT SOURCES
============================================================================ */
/* Linux Libertine ------------------------------------------------------------

Licensed under GPL and OFL 1.1

Full license texts:
- https://gils.nexus/font/GPL.txt
- https://gils.nexus/font/OFL-1.1.txt

---------------------------------------------------------------------------- */
@font-face {
  font-family: "Linux Libertine";
  font-style: normal;
  src: local("Linux Libertine"), url("../font/LinLibertine_Rah.ttf");
}
@font-face {
  font-family: "Linux Libertine";
  font-style: normal;
  font-weight: 600;
  src: local("Linux Libertine Semibold"), url("../font/LinLibertine_RZah.ttf");
}
@font-face {
  font-family: "Linux Libertine";
  font-style: normal;
  font-weight: 700;
  src: local("Linux Libertine Bold"), url("../font/LinLibertine_RBah.ttf");
}
@font-face {
  font-family: "Linux Libertine";
  font-style: italic;
  src: local("Linux Libertine Italic"), url("../font/LinLibertine_RIah.ttf");
}
@font-face {
  font-family: "Linux Libertine";
  font-style: italic;
  font-weight: 600;
  src: local("Linux Libertine Semibold Italic"), url("../font/LinLibertine_RZIah.ttf");
}
@font-face {
  font-family: "Linux Libertine";
  font-style: italic;
  font-weight: 700;
  src: local("Linux Libertine Bold Italic"), url("../font/LinLibertine_RBIah.ttf");
}
/* ============================================================================
COMPONENTS
-------------------------------------------------------------------------------
Reusable components for use across my site
============================================================================ */
.markup, .page-article {
  word-wrap: break-word;
  line-height: 1.7;
  padding: 0;
}
.markup > :first-child, .page-article > :first-child {
  margin-top: 0;
}
.markup > :last-child, .page-article > :last-child {
  margin-bottom: 0;
}
.markup p, .page-article p,
.markup blockquote,
.page-article blockquote,
.markup ul,
.page-article ul,
.markup ol,
.page-article ol,
.markup dl,
.page-article dl,
.markup table,
.page-article table,
.markup pre,
.page-article pre {
  margin: 1em 0;
}
.markup ul, .page-article ul,
.markup ol,
.page-article ol {
  list-style-type: revert;
  padding-left: 30px;
}
.markup h1, .page-article h1 {
  font-size: 2.5em;
}
.markup h2, .page-article h2 {
  font-size: 2em;
}
.markup h3, .page-article h3 {
  font-size: 1.5em;
}
.markup h4, .page-article h4 {
  font-size: 1.2em;
}
.markup h5, .page-article h5 {
  font-size: 1em;
}
.markup h6, .page-article h6 {
  font-size: 1em;
}
.markup h1, .page-article h1,
.markup h2,
.page-article h2,
.markup h3,
.page-article h3,
.markup h4,
.page-article h4,
.markup h5,
.page-article h5,
.markup h6,
.page-article h6 {
  margin: 0.5em 0 0.25em 0;
}
.markup h1 + p, .page-article h1 + p,
.markup h2 + p,
.page-article h2 + p,
.markup h3 + p,
.page-article h3 + p {
  margin-top: 0.5em;
}
.markup img, .page-article img {
  max-width: 100%;
}
.markup code, .page-article code,
.markup pre,
.page-article pre {
  background-color: #f8f8f8;
  border-radius: 3px;
  border: 1px solid #ddd;
  font-family: monospace;
  font-size: 12px;
  margin: 0 2px;
  padding: 0 5px;
  white-space: pre;
}
.markup pre code, .page-article pre code {
  border: none;
  margin: 0;
  padding: 0;
  white-space: pre;
}

/* ============================================================================
DEFAULT THEME
-------------------------------------------------------------------------------
This is the default theme for my website, which uses the prefer-color-scheme
query to provide the appropriate styles for light mode or dark mode. The other
themes can be selected with a dropdown which is only shown when JavaScript is
enabled.
============================================================================ */
:root {
  color-scheme: light dark;
}

@media (prefers-color-scheme: light) {
  .theme-default body {
    background: url("/img/background2.png");
  }
  .theme-default .site-header {
    border: solid black 2px;
    background: white;
  }
  .theme-default .site-main {
    border: solid black 2px;
    background: white;
  }
  .theme-default .site-navigation {
    background: white;
    border: solid black 2px;
    border-top: none;
  }
}
@media (prefers-color-scheme: light) and (min-width: 641px) {
  .theme-default .site-navigation {
    border-top: solid black 2px;
  }
}
@media (prefers-color-scheme: light) {
  .theme-default .site-footer {
    border: solid black 2px;
    background: white;
  }
}
@media (prefers-color-scheme: dark) {
  .theme-default body {
    background: black;
  }
  .theme-default .site-header {
    border: solid white 2px;
    background: black;
  }
  .theme-default .site-main {
    border: solid white 2px;
    background: black;
  }
  .theme-default .site-navigation {
    border: solid white 2px;
    background: black;
    border-top: none;
  }
}
@media (prefers-color-scheme: dark) and (min-width: 641px) {
  .theme-default .site-navigation {
    border-top: solid white 2px;
  }
}
@media (prefers-color-scheme: dark) {
  .theme-default .site-footer {
    border: solid white 2px;
    background: black;
  }
}

/* ============================================================================
GLOBAL VARIABLES
============================================================================ */
/* Sizing ------------------------------------------------------------------ */
/* Spacing ----------------------------------------------------------------- */
/* Typography -------------------------------------------------------------- */
/* -- Font ----------------------------------------------------------------- */
:root {
  font-size: 12pt;
  font-family: "Linux Libertine", "Times New Roman", Times, serif;
}

.site {
  display: flex;
  flex-wrap: wrap;
  max-width: 60em;
  margin: 1em auto 1em;
}

.site-header {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 1em;
}
@media (min-width: 641px) {
  .site-header {
    margin-bottom: 1em;
  }
}

.site-main {
  flex: 1 0 50%;
  box-sizing: border-box;
  padding: 1em;
  height: min-content;
}

.site-navigation {
  flex: 0 0 100%;
  box-sizing: border-box;
  margin-bottom: 1em;
  padding: 1em;
  height: min-content;
}
@media (min-width: 641px) {
  .site-navigation {
    flex: 0 1 10em;
    margin-right: 1em;
    margin-bottom: 0;
  }
}
.site-navigation li {
  display: inline-block;
}
@media (min-width: 641px) {
  .site-navigation li {
    display: block;
  }
}

.site-footer {
  flex: 0 0 100%;
  box-sizing: border-box;
  margin-top: 1em;
  padding: 1em;
}

/*# sourceMappingURL=global.css.map */
