minima.scss 1.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
@charset "utf-8";

// Define defaults for each variable.

$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !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:     30px !default;

$text-color:       #111 !default;
$background-color: #fdfdfd !default;
$brand-color:      #2a7ae2 !default;

Yohan Jarosz's avatar
Yohan Jarosz committed
17
$grey-color:       #5c5c5c !default;
18 19 20 21 22 23
$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
Yohan Jarosz's avatar
Yohan Jarosz committed
24
$content-width:    1080px !default;
25

Jacek Lebioda's avatar
Jacek Lebioda committed
26
$on-palm:          640px !default;
Yohan Jarosz's avatar
Yohan Jarosz committed
27
$on-laptop:        1080px !default;
28

Yohan Jarosz's avatar
Yohan Jarosz committed
29 30
// height of the banner
$banner-height: 100px;
Yohan Jarosz's avatar
Yohan Jarosz committed
31
$footer-height: 50px;
Yohan Jarosz's avatar
Yohan Jarosz committed
32

33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
// 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
  "minima/base",
  "minima/layout",
Yohan Jarosz's avatar
Yohan Jarosz committed
54
  "minima/frozen",
Jacek Lebioda's avatar
Jacek Lebioda committed
55
  "minima/syntax-highlighting",
56
  "minima/lcsb",
57 58
  "minima/boxes",
  "minima/search"
59
;