mirror of
https://github.com/KevinMidboe/schleppe-lab.git
synced 2025-12-29 05:11:17 +00:00
Homepage setup for schleppe lab blog
This commit is contained in:
77
_sass/main.scss
Normal file
77
_sass/main.scss
Normal file
@@ -0,0 +1,77 @@
|
||||
@charset "utf-8";
|
||||
|
||||
// Define defaults for each variable.
|
||||
|
||||
@font-face {
|
||||
font-family: "Fira Code";
|
||||
src: url("/assets/fonts/FiraCode-Regular.ttf");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Fira Code";
|
||||
font-weight: bold;
|
||||
src: url("/assets/fonts/FiraCode-Bold.ttf");
|
||||
}
|
||||
|
||||
:root {
|
||||
--font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace;
|
||||
--font-size: 16px;
|
||||
--font-weight: 400;
|
||||
--font-size-small: 14px;
|
||||
--line-height: 1.5;
|
||||
|
||||
--spacing-unit: 2.5em;
|
||||
|
||||
--text-color: white;
|
||||
--background-color: #222129;
|
||||
--brand-color: #fea86a;
|
||||
--border-color: hsla(0, 0%, 100%, 0.1);
|
||||
}
|
||||
$base-font-family: "Fira Code", Monaco, Consolas, "Ubuntu Mono", monospace !default;
|
||||
$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: 2.5em !default;
|
||||
|
||||
$text-color: white !default;
|
||||
$background-color: #222129 !default;
|
||||
$brand-color: #fea86a !default;
|
||||
|
||||
$grey-color: #828282 !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: 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 "base", "layout", "tags", "syntax-highlighting";
|
||||
@import "base";
|
||||
@import "layout";
|
||||
@import "tags";
|
||||
@import "syntax-highlighting.scss";
|
||||
@import "header.scss";
|
||||
|
||||
Reference in New Issue
Block a user