Update to jekyll 4 (warnings)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
@use 'sass:color';
|
||||
@use 'settings' as *;
|
||||
|
||||
/**
|
||||
* Reset some basic elements
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
@use 'settings' as *;
|
||||
|
||||
@font-face {
|
||||
font-family: 'Share Tech';
|
||||
font-style: normal;
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
@use 'base';
|
||||
@use 'settings' as *;
|
||||
|
||||
/**
|
||||
* Site header
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
@use 'sass:color';
|
||||
|
||||
// Our variables
|
||||
$base-font-family: 'Share Tech', sans-serif;
|
||||
$base-font-size: 16px;
|
||||
$small-font-size: $base-font-size * 0.875;
|
||||
$base-line-height: 1.5;
|
||||
|
||||
$spacing-unit: 30px;
|
||||
|
||||
$text-color: #111;
|
||||
$background-color: #d2d4bc;
|
||||
$brand-color: #2a7ae2;
|
||||
|
||||
$grey-color: #828282;
|
||||
$grey-color-light: color.adjust($grey-color, $lightness: 40%, $space: hsl);
|
||||
$grey-color-dark: color.adjust($grey-color, $lightness: -25%, $space: hsl);
|
||||
|
||||
$on-palm: 600px;
|
||||
$on-laptop: 800px;
|
||||
|
||||
$nav-link-color: #800032;
|
||||
|
||||
|
||||
// Using media queries with like this:
|
||||
// @include media-query($palm) {
|
||||
// .wrapper {
|
||||
// padding-right: $spacing-unit / 2;
|
||||
// padding-left: $spacing-unit / 2;
|
||||
// }
|
||||
// }
|
||||
@mixin media-query($device) {
|
||||
@media screen and (max-width: $device) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
@use 'base';
|
||||
|
||||
/**
|
||||
* Syntax highlighting styles
|
||||
*/
|
||||
@@ -197,4 +199,4 @@
|
||||
.il {
|
||||
color: #099
|
||||
} // Literal.Number.Integer.Long
|
||||
}
|
||||
}
|
||||
|
||||
+5
-44
@@ -4,47 +4,8 @@
|
||||
|
||||
@charset "utf-8";
|
||||
|
||||
@use 'sass:color';
|
||||
|
||||
// Our variables
|
||||
$base-font-family: 'Share Tech', sans-serif;
|
||||
$base-font-size: 16px;
|
||||
$small-font-size: $base-font-size * 0.875;
|
||||
$base-line-height: 1.5;
|
||||
|
||||
$spacing-unit: 30px;
|
||||
|
||||
$text-color: #111;
|
||||
$background-color: #d2d4bc;
|
||||
$brand-color: #2a7ae2;
|
||||
|
||||
$grey-color: #828282;
|
||||
$grey-color-light: color.adjust($grey-color, $lightness: 40%, $space: hsl);
|
||||
$grey-color-dark: color.adjust($grey-color, $lightness: -25%, $space: hsl);
|
||||
|
||||
$on-palm: 600px;
|
||||
$on-laptop: 800px;
|
||||
|
||||
$nav-link-color: #800032;
|
||||
|
||||
|
||||
// Using media queries with like this:
|
||||
// @include media-query($palm) {
|
||||
// .wrapper {
|
||||
// padding-right: $spacing-unit / 2;
|
||||
// padding-left: $spacing-unit / 2;
|
||||
// }
|
||||
// }
|
||||
@mixin media-query($device) {
|
||||
@media screen and (max-width: $device) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Import partials from `sass_dir` (defaults to `_sass`)
|
||||
@import "base",
|
||||
"layout",
|
||||
"syntax-highlighting",
|
||||
"chaospott",
|
||||
"calendar";
|
||||
@use "base";
|
||||
@use "layout";
|
||||
@use "syntax-highlighting";
|
||||
@use "chaospott";
|
||||
@use "calendar";
|
||||
|
||||
Reference in New Issue
Block a user