Sha256: 66a1d4eb30431633a993233a1c2bcd41f7878b777198d0219530c276e6e9fc7d

Contents?: true

Size: 1.04 KB

Versions: 2

Compression:

Stored size: 1.04 KB

Contents

@charset "utf-8";
// 
// This is adapted from the "minima" theme  
// to allow the user to easily override 
// theme styels likes color and spacing

// Define defaults for each variable.

// bootstrap screen sizes
$sm: 576px;
$md: 768px;
$lg: 992px;
$xl: 1200px;
$xxl: 1400px;

// Use media queries like this:
// @include media-query($on-palm) {
//   .wrapper {
//     padding-right: $spacing-unit / 2;
//     padding-left: $spacing-unit / 2;
//   }
// }
// Notice the following mixin uses max-width, in a deprecated, desktop-first
// approach, whereas media queries used elsewhere now use min-width.
@mixin media-query($device) {
  @media screen and (max-width: $device) {
    @content;
  }
}

@mixin relative-font-size($ratio) {
  font-size: #{$ratio}rem;
}

// Import pre-styling-overrides hook and style-partials.
@import
  "cadre/variables",        // Default settings
  "cadre/custom-variables", // Hook to override predefined variables.
  "cadre/main",             // Loads specific styles
  "cadre/custom-styles"     // Hook to override predefined styles.
;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-cadre-0.1.20 _sass/cadre/initialize.scss
jekyll-theme-cadre-0.1.19 _sass/cadre/initialize.scss