diff --git a/assets/css/reset.css b/assets/css/reset.css index 9640924..5eb1d1e 100644 --- a/assets/css/reset.css +++ b/assets/css/reset.css @@ -5,7 +5,14 @@ } html { - -webkit-tap-highlight-color: transparent + -webkit-tap-highlight-color: transparent; + scroll-behavior: smooth +} + +@media screen and (prefers-reduced-motion: reduce) { + html { + scroll-behavior: auto + } } a, diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6036e19..183d1a7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -12,7 +12,7 @@ {{- if eq $.Site.Params.defaultTheme `dark` -}} {{- print " dark" }} {{- end -}} -" id="top"> +"> {{- partialCached "header.html" . .Page}}
{{- block "main" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 3af7105..76d8e49 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -9,7 +9,7 @@ · Theme PaperMod - +