1
0
Fork 0
mirror of https://github.com/eosswedenorg/apt synced 2026-06-16 04:34:56 +02:00

Adding sass files for overwriting some of the theme (primer) styles.

This commit is contained in:
Henrik Hautakoski 2019-10-11 13:57:04 +02:00
parent 96905a3b1f
commit e32d0bb761
5 changed files with 31 additions and 0 deletions

View file

@ -10,3 +10,6 @@ apt:
collections:
repos:
output: true
sass:
style: compressed

8
_sass/_base.scss Normal file
View file

@ -0,0 +1,8 @@
.markdown-body a {
color: $brand-color !important;
}
figure {
margin: 1em 0 !important;
}

10
_sass/_variables.scss Normal file
View file

@ -0,0 +1,10 @@
@charset "utf-8";
// Colors
// ------------------------------
$green: #00b00b;
$brand-color: $green;
// Typography
// ------------------------------
$body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

3
_sass/main.scss Normal file
View file

@ -0,0 +1,3 @@
@import "variables";
@import "base";

7
assets/css/style.scss Normal file
View file

@ -0,0 +1,7 @@
---
# this ensures Jekyll reads the file to be transformed into CSS later
# only Main files contain this front matter, not partials.
---
@import "main";
@import "{{ site.theme }}";