mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 10:56:16 +01:00
44 lines
1 KiB
SCSS
44 lines
1 KiB
SCSS
@charset 'utf-8';
|
|
|
|
$home-profile: {{- if .Site.Params.home.profile.enable -}}true{{ else }}false{{ end }};
|
|
$home-posts: {{- if .Site.Params.home.posts.enable -}}true{{ else }}false{{ end }};
|
|
|
|
{{- if eq .Site.Params.header.desktopMode "normal" -}}
|
|
$header-position-desktop: static;
|
|
$page-padding-top-desktop: 1rem;
|
|
$post-toc-top: 7rem;
|
|
{{- else -}}
|
|
$header-position-desktop: fixed;
|
|
$page-padding-top-desktop: 6rem;
|
|
$post-toc-top: 12rem;
|
|
{{- end -}}
|
|
|
|
{{- if eq .Site.Params.header.mobileMode "normal" -}}
|
|
$header-position-mobile: static;
|
|
$page-padding-top-mobile: 1rem;
|
|
{{- else -}}
|
|
$header-position-mobile: fixed;
|
|
$page-padding-top-mobile: 6rem;
|
|
{{- end -}}
|
|
|
|
@import "_variables";
|
|
|
|
{{- if fileExists "config/css/_custom.scss" -}}
|
|
@import "_custom";
|
|
{{- end -}}
|
|
|
|
@import "_core/normalize";
|
|
@import "_core/base";
|
|
@import "_core/layout";
|
|
|
|
@import "_page/index";
|
|
|
|
@import "_partial/header";
|
|
@import "_partial/footer";
|
|
@import "_partial/pagination";
|
|
|
|
@import "_core/media";
|
|
|
|
{{- if fileExists "config/css/_custom.scss" -}}
|
|
@import "_custom";
|
|
{{- end -}}
|