website/css/main.scss
2021-02-02 21:24:42 +01:00

68 lines
1.7 KiB
SCSS

---
# Only the main Sass file needs front matter (the dashes are enough)
---
@charset "utf-8";
@import "vendor/fontawesome";
@import "vendor/fonts";
@import "vendor/bootstrap.min";
@import "vendor/animate";
@import "vendor/morphext";
@import "vendor/overhang";
// Font variables
$font-name: libretto-icons;
@font-face {
font-family: $font-name;
src: asset_url($font-name+"/"+$font-name+'.eot'); /* IE9 Compat Modes */
src: asset_url($font-name+"/"+$font-name+'.woff') format('woff'), /* Pretty Modern Browsers */
asset_url($font-name+"/"+$font-name+'.ttf') format('truetype'), /* Safari, Android, iOS */
asset_url($font-name+"/"+$font-name+'.svg#font_name') format('svg'); /* Legacy iOS */
}
// Our variables
$base-font-family: "Raleway", sans-serif, Baskerville, "Book Antiqua", Georgia, Times, serif;
$base-font-size: 17px;
$base-font-weight: 400;
$base-line-height: 2;
$small-font-size: $base-font-size * 0.875;
$spacing-unit: 30px;
$brand-color: #f39200;
$brand-color-hover:#f37700;
$brand-color-secondary: #009fe3;
$brand-color-secondary-hover: #007aae;
$background-color: #f1f1f1;
$text-color: #363431;
$title-color: #009fe3;
$grey-color: #a09a92;
$grey-color-light: lighten($grey-color, 30%);
$grey-color-dark: darken($grey-color, 25%);
// Width of the content area
$content-width: 800px;
$on-palm: 600px;
$on-laptop: 800px;
$shadow: -0.1rem 0.2rem 0 rgba(0, 0, 0, 0.05);
@mixin media-query($device) {
@media screen and (max-width: $device) {
@content;
}
}
// Import partials from `sass_dir` (defaults to `_sass`)
@import
"base",
"layout",
"sidebar",
"syntax-highlighting",
"font"
;