adjust theme
This commit is contained in:
parent
a23ea45e1e
commit
1cb24092e6
|
@ -21,8 +21,14 @@ h6 {
|
||||||
color: var(--primary);
|
color: var(--primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Space Mono';
|
||||||
|
src: url(/fonts/SpaceMono-Regular.ttf);
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
/*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;*/
|
||||||
|
font-family: 'Space Mono', sans-serif;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
|
|
||||||
{{- $user_preferred := or site.Params.disableSpecial1stPost site.Params.homeInfoParams }}
|
{{- $user_preferred := or site.Params.disableSpecial1stPost site.Params.homeInfoParams }}
|
||||||
{{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0) (not $user_preferred)) }}
|
{{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0) (not $user_preferred)) }}
|
||||||
{{- $class = "first-entry" }}
|
{{- $class = "first-entry home-info" }}
|
||||||
{{- else if $term }}
|
{{- else if $term }}
|
||||||
{{- $class = "post-entry tag-entry" }}
|
{{- $class = "post-entry tag-entry" }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -69,7 +69,6 @@
|
||||||
{{- else if hasPrefix site.Params.label.iconSVG "<svg" }}
|
{{- else if hasPrefix site.Params.label.iconSVG "<svg" }}
|
||||||
{{ site.Params.label.iconSVG | safeHTML }}
|
{{ site.Params.label.iconSVG | safeHTML }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $label_text -}}
|
|
||||||
</a>
|
</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<div class="logo-switches">
|
<div class="logo-switches">
|
||||||
|
|
BIN
themes/PaperMod/static/fonts/SpaceMono-Regular.ttf
Normal file
BIN
themes/PaperMod/static/fonts/SpaceMono-Regular.ttf
Normal file
Binary file not shown.
Loading…
Reference in a new issue