blog/_sass/yat.scss

70 lines
1.7 KiB
SCSS
Raw Normal View History

2019-09-11 06:19:34 +02:00
@charset "utf-8";
// Define defaults for each variable.
2021-05-26 15:50:13 +02:00
$base-font-family: Helvetica, Arial, Oswald, sans-serif, !default;
2020-07-12 10:23:23 +02:00
$base-font-size: 14px !default;
2019-09-11 06:19:34 +02:00
$base-font-weight: 400 !default;
$small-font-size: $base-font-size * 0.875 !default;
2020-07-12 10:23:23 +02:00
$base-line-height: 1.6 !default;
2019-09-11 06:19:34 +02:00
$spacing-unit: 30px !default;
$text-color: #454545 !default;
2020-07-12 10:23:23 +02:00
$background-color: #fff !default;
2019-09-11 06:19:34 +02:00
$grey-color: #828282 !default;
$grey-color-light: lighten($grey-color, 40%) !default;
$grey-color-dark: darken($grey-color, 25%) !default;
$white-color: #fdfdfd !default;
$table-text-align: left !default;
$header-height: $base-line-height * $base-font-size * 2.85 !default;
2020-07-12 10:23:23 +02:00
$header-text-color: invert($theme-color) !default;
2019-09-11 06:19:34 +02:00
$header-background-color: $theme-color !default;
$footer-height: $header-height * 1.05 !default;
2020-07-12 10:23:23 +02:00
$footer-text-color: lighten(invert($theme-color), 25%) !default;
2019-09-11 06:19:34 +02:00
$footer-background-color: darken($theme-color, 5%) !default;
2020-07-12 10:23:23 +02:00
$banner-height: 640px !default;
2019-09-11 06:19:34 +02:00
$banner-text-color: lighten($white-color, 0%) !default;
2020-07-12 10:23:23 +02:00
$banner-background: rgba(0,0,0,0.8) !default;
2019-09-11 06:19:34 +02:00
// Width of the content area
$content-width: 920px !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
"yat/base",
"yat/layout",
2020-10-03 05:31:43 +02:00
"yat/dark",
"misc/theme-toggle",
2019-09-11 06:19:34 +02:00
"misc/article-menu",
"misc/common-list",
2020-12-31 03:18:40 +01:00
"misc/google-translate",
"misc/gitment"
2019-09-11 06:19:34 +02:00
;