minima.scss 1.42 KB
Newer Older
1 2 3 4
@charset "utf-8";

// Define defaults for each variable.

5
$base-font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
6 7 8 9 10 11 12 13 14
$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;
Jacek Lebioda's avatar
Jacek Lebioda committed
15 16
// $brand-color:      #2a7ae2 !default;
$brand-color:      #4085e4 !default;
17

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

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

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

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