website/_sass/minima.scss
2018-10-24 17:51:53 +08:00

79 lines
1.9 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: 16px !default;
$base-font-weight: 400 !default;
$small-font-size: $base-font-size * 0.875 !default;
$base-line-height: 1.75 !default;
$spacing-unit: 30px !default;
$text-color: #111 !default;
$background-color: #fdfdfd !default;
$brand-color: #b3411d !default;
$brand-color_l: lighten($brand-color, 10%) !default;
$brand-color_d: darken($brand-color, 20%) !default;
$grey-color: #504f4f !default;
$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
$content-width: 850px !default;
$on-palm: 600px !default;
$on-laptop: 800px !default;
$on-small-phone: 400px !default;
$platinum: #e8ebe4;
$super-platinum: lighten($platinum, 15%) !default;
$footer-link: #2ff1d4;
$blockquote-clr: rgb(214, 245, 143);
// Syntax Highlighting Properties
$code-background-color: #18314f;
$code-generic: #edebd7;
$code-keywords: #c678dd;
$code-namespace: #edebd7;
$code-string: #98c379;
$code-flags: #16e2e9;
// 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",
"minima/syntax-highlighting",
"custom_layout/index",
"custom_elems/index",
"pages/index",
"pagination/index",
"post_content/index",
"custom"
;