diff --git a/themes/PaperMod/assets/css/core/reset.css b/themes/PaperMod/assets/css/core/reset.css index f509cf6..f77f6d2 100644 --- a/themes/PaperMod/assets/css/core/reset.css +++ b/themes/PaperMod/assets/css/core/reset.css @@ -21,8 +21,14 @@ h6 { color: var(--primary); } +@font-face { + font-family: 'Space Mono'; + src: url(/fonts/SpaceMono-Regular.ttf); +} + 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; line-height: 1.6; word-break: break-word; diff --git a/themes/PaperMod/layouts/_default/list.html b/themes/PaperMod/layouts/_default/list.html index 9c5bc54..e18f379 100644 --- a/themes/PaperMod/layouts/_default/list.html +++ b/themes/PaperMod/layouts/_default/list.html @@ -58,7 +58,7 @@ {{- $user_preferred := or site.Params.disableSpecial1stPost site.Params.homeInfoParams }} {{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0) (not $user_preferred)) }} -{{- $class = "first-entry" }} +{{- $class = "first-entry home-info" }} {{- else if $term }} {{- $class = "post-entry tag-entry" }} {{- end }} diff --git a/themes/PaperMod/layouts/partials/header.html b/themes/PaperMod/layouts/partials/header.html index 4a7291e..7f5bb7c 100644 --- a/themes/PaperMod/layouts/partials/header.html +++ b/themes/PaperMod/layouts/partials/header.html @@ -69,7 +69,6 @@ {{- else if hasPrefix site.Params.label.iconSVG " {{- end }}
diff --git a/themes/PaperMod/static/fonts/SpaceMono-Regular.ttf b/themes/PaperMod/static/fonts/SpaceMono-Regular.ttf new file mode 100644 index 0000000..28d7ff7 Binary files /dev/null and b/themes/PaperMod/static/fonts/SpaceMono-Regular.ttf differ