Sha256: 8c74a33396f5b6a85f2e15a620791fcc08133c493b321090951056d0e3729563

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 KB

Contents

@charset "utf-8";

// Define defaults for each variable.

$base-font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !default;
$base-font-size:   17px !default;
$base-font-weight: 400 !default;
$small-font-size:  $base-font-size * 0.8 !default;
$base-line-height: 1.5 !default;

$spacing-unit:     4em !default;

$text-color:       #333 !default;
$background-color: #fdfdfd !default;
$brand-color:      #1756a9 !default;
$text-color-darkmode:  #fff !default;
$background-color-darkmode: #000 !default;
$brand-color-darkmode: #36a4fe !default;

// Regular
$grey-color:       #828282 !default;
$grey-color-light: lighten($grey-color, 40%) !default;
$grey-color-lightest: #eee;
$grey-color-medium: darken($grey-color, 15%) !default;
$grey-color-dark:  darken($grey-color, 25%) !default;
$grey-color-link:  lighten($grey-color, 20%) !default;

// Dark mode
$grey-color-darkmode:          #aaa !default;
$grey-color-light-darkmode:    lighten($grey-color-darkmode, 40%) !default;
$grey-color-lightest-darkmode: #eee;
$grey-color-medium-darkmode:   darken($grey-color-darkmode, 15%) !default;
$grey-color-dark-darkmode:     darken($grey-color-darkmode, 25%) !default;
$grey-color-darkest-darkmode:  darken($grey-color-darkmode, 60%) !default;
$grey-color-link-darkmode:     lighten($grey-color-darkmode, 20%) !default;

// Width of the content area
$content-width:    860px !default;
$desktop:          1100px !default;
$tablet:           900px !default;
$tablet-width:     700px !default;
$phone:            720px !default;
$phone-width:      300px !default;

@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",
  "syntax-highlighting",
  "dark-mode"
;

// Fixes for syntax highlighting
code {
    background-color: inherit;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-niveus-1.1.1 _sass/niveus.scss
jekyll-theme-niveus-1.1.0 _sass/niveus.scss