mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-29 03:32:44 +01:00
Merge pull request #106 from dillonzq/feature/more_custom_style
feat(style): add some custom styles
This commit is contained in:
commit
169fc31a68
6 changed files with 18 additions and 7 deletions
|
@ -1,6 +1,8 @@
|
||||||
html {
|
html {
|
||||||
font-family: $global-font-family;
|
font-family: $global-font-family;
|
||||||
font-size: 16px;
|
font-size: $global-font-size;
|
||||||
|
font-weight: $global-font-weight;
|
||||||
|
line-height: $global-line-height;
|
||||||
width:100%;
|
width:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,8 +29,6 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-weight: 400;
|
|
||||||
line-height: 1.5rem;
|
|
||||||
background-color: $global-background-color;
|
background-color: $global-background-color;
|
||||||
color: $global-font-color;
|
color: $global-font-color;
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
|
@ -76,6 +76,10 @@ a {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
b, strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
#dynamic-to-top {
|
#dynamic-to-top {
|
||||||
display: none;
|
display: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
@ -6,6 +6,10 @@ header {
|
||||||
.dark-theme & {
|
.dark-theme & {
|
||||||
background-color: $header-background-color-dark;
|
background-color: $header-background-color-dark;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-title {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#header-desktop {
|
#header-desktop {
|
||||||
|
|
|
@ -3,8 +3,11 @@
|
||||||
// ==============================
|
// ==============================
|
||||||
|
|
||||||
// ========== Global ========== //
|
// ========== Global ========== //
|
||||||
// Font family
|
// Font and Line Height
|
||||||
$global-font-family: -apple-system, BlinkMacSystemFont, PingFang SC, Microsoft Yahei, Segoe UI, Helvetica, Arial, sans-serif, Segoe UI Emoji !default;
|
$global-font-family: -apple-system, BlinkMacSystemFont, PingFang SC, Microsoft Yahei, Segoe UI, Helvetica, Arial, sans-serif, Segoe UI Emoji !default;
|
||||||
|
$global-font-size: 16px;
|
||||||
|
$global-font-weight: 300;
|
||||||
|
$global-line-height: 1.5rem;
|
||||||
|
|
||||||
// Color of the background
|
// Color of the background
|
||||||
$global-background-color: #fff !default;
|
$global-background-color: #fff !default;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- /* Posts */ -}}
|
{{- /* Posts */ -}}
|
||||||
{{- if .Site.Params.home.posts.enable -}}
|
{{- if ne .Site.Params.home.posts.enable false -}}
|
||||||
{{- /* Paginate */ -}}
|
{{- /* Paginate */ -}}
|
||||||
{{- $paginator := where .Site.RegularPages "Type" "posts" -}}
|
{{- $paginator := where .Site.RegularPages "Type" "posts" -}}
|
||||||
{{- if ne .Site.Params.home.posts.mode.defaultHiddenFromHomePage false -}}
|
{{- if ne .Site.Params.home.posts.mode.defaultHiddenFromHomePage false -}}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
{"Target":"css/style.min.22797a679118d2eb3f376ecb55adbba6052c813ae165d44e004bbf861d5a1ed1.css","MediaType":"text/css","Data":{"Integrity":"sha256-Inl6Z5EY0us/N27LVa27pgUsgTrhZdROAEu/hh1aHtE="}}
|
{"Target":"css/style.min.8d8ebcf734d4e8e32cab589f8df6e5bad5775d4d25d0cf2b66c6c5476831f18d.css","MediaType":"text/css","Data":{"Integrity":"sha256-jY689zTU6OMsq1ifjfblutV3XU0l0M8rZsbFR2gx8Y0="}}
|
Loading…
Reference in a new issue