// Based on Cosmo 5.3.2, by Bootswatch

/*-- scss:defaults --*/

$theme: "openstatsware" !default;

//
// Color system
//

$white:    #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #868e96 !default;
$gray-700: #495057 !default;
$gray-800: #373a3c !default;
$gray-900: #212529 !default;
$black:    #000 !default;

$blue:    #2780e3 !default;
$indigo:  #6610f2 !default;
$purple:  #613d7c !default;
$pink:    #e83e8c !default;
$red:     #ff0039 !default;
$orange:  #f0ad4e !default;
$yellow:  #ff7518 !default;
$green:   #3fb618 !default;
$teal:    #20c997 !default;
$cyan:    #9954bb !default;

$osw-black: #000814;
$osw-dblue: #001D3D;
$osw-lblue: #003566;
$osw-gold: #FFC300;
$osw-yellow: #FFD60A;

$primary:       $osw-lblue !default;
$secondary:     $osw-gold !default;
$success:       $green !default;
$info:          $cyan !default;
$warning:       $yellow !default;
$danger:        $red !default;
$light:         $gray-100 !default;
$dark:          $gray-800 !default;

$min-contrast-ratio:   2.6 !default;

// Options

$enable-rounded: false !default;

// Body

$body-color: $osw-black !default;
$body-bg: $gray-100 !default;

// Fonts

//// Main font
$font-family-sans-serif: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
$font-size-base: 1rem !default;

//// Headings
$headings-font-family: "Inter Tight", "Inter", sans-serif !default;

//// Code
$font-family-monospace: "Fira Code", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
$code-font-size: $font-size-base !default;

/*-- scss:rules --*/

// Variables

$web-font-path: "https://fonts.googleapis.com/css2?family=Inter&family=Inter+Tight&family=Fira+Code:wght@400;700&display=swap";
@if $web-font-path {
  @import url($web-font-path);
}

// Typography

body {
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: common-ligatures;
  -moz-osx-font-smoothing: grayscale;
}

// Table
.table>thead, .table tbody {
  border-bottom-color: $osw-dblue;
}

.table>:not(caption)>*:not(:last-child)>* {
  border-bottom-color: $osw-lblue;
}

// Hyperlinks
a {
  text-decoration-color: $osw-gold;
}
a:hover {
  color: $osw-gold;
  text-decoration: none;
}

// Titles
.quarto-title {
  text-align: center;
}

// Hex
.sticker {
  min-width: 256px;
  max-width: 95%;
}

// Code in titles
.quarto-title, .quarto-post {
  code {
    background: none;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
  }
}
