adjust theme

This commit is contained in:
Thomas Lindner 2023-07-12 21:28:29 +02:00
parent a23ea45e1e
commit 1cb24092e6
4 changed files with 8 additions and 3 deletions

View file

@ -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;

View file

@ -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 }}

View file

@ -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">

Binary file not shown.