@charset "utf-8";

// Define defaults for each variable.

@font-face {
  font-family: "Fira Code";
  src: url("/assets/fonts/FiraCode-Regular.ttf");
}
@font-face {
  font-family: "Fira Code";
  font-weight: bold;
  src: url("/assets/fonts/FiraCode-Bold.ttf");
}

$text-color: white;
$background-color: #222129;
$brand-color: #fea86a;

:root {
  --font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace;
  --font-size: 16px;
  --font-weight: 400;
  --font-size-small: 14px;
  --line-height: 1.5;

  --spacing-unit: 2.5em;

  --text-color: $text-color;
  --background-color: $background-color;
  --brand-color: $brand-color;
  --border-color: hsla(0, 0%, 100%, 0.1);
}
$base-font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace !default;
$base-font-size: 16px !default;
$base-font-weight: 400 !default;
$small-font-size: $base-font-size * 0.875 !default;
$base-line-height: 1.5 !default;

$spacing-unit: 2.5em !default;

$grey-color: #828282 !default;
$grey-color-light: lighten($grey-color, 40%) !default;
$grey-color-dark: darken($grey-color, 25%) !default;

$table-text-align: left !default;

// Width of the content area
$content-width: 800px !default;

$on-palm: 600px !default;
$on-laptop: 800px !default;

// Use media queries like this:
// @include media-query($on-palm) {
//   .wrapper {
//     padding-right: $spacing-unit / 2;
//     padding-left: $spacing-unit / 2;
//   }
// }
@mixin media-query($device) {
  @media screen and (max-width: $device) {
    @content;
  }
}

@mixin relative-font-size($ratio) {
  font-size: $base-font-size * $ratio;
}

// Import partials.
// @import "base", "layout", "tags", "syntax-highlighting";
@import "base";
@import "layout";
@import "tags";
@import "syntax-highlighting.scss";
@import "header.scss";
@import "post.scss";

