53 lines
1.3 KiB
SCSS
53 lines
1.3 KiB
SCSS
@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: 0.7rem !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: #fdfdfd !default;
|
|
$background-color: #111 !default;
|
|
$brand-color: #b3b3b3 !default;
|
|
|
|
$grey-color: #b3b3b3 !default;
|
|
$grey-color-light: lighten($grey-color, 20%) !default;
|
|
$grey-color-dark: darken($grey-color, 60%) !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
|
|
"theme/base",
|
|
"theme/layout",
|
|
"theme/syntax-highlighting",
|
|
"theme/typography"
|
|
;
|