diff --git a/assets/scss/_logo.scss b/assets/scss/_logo.scss index 126006b..af2d192 100644 --- a/assets/scss/_logo.scss +++ b/assets/scss/_logo.scss @@ -25,6 +25,13 @@ border-radius: 1px; animation: cursor 1s infinite; } + + @media (prefers-reduced-motion: reduce) { + &__cursor { + animation: none; + } + } + } @keyframes cursor { diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6f41e1b..2636acb 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -25,7 +25,7 @@ {{ $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true) }} {{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Minify | resources.Fingerprint }} - + {{ range $val := $.Site.Params.customCSS }} {{ if gt (len $val) 0 }} diff --git a/layouts/partials/javascript.html b/layouts/partials/javascript.html index 540b633..7cff6d1 100644 --- a/layouts/partials/javascript.html +++ b/layouts/partials/javascript.html @@ -3,7 +3,7 @@ {{ $prism := resources.Get "js/prism.js" }} {{ $theme := resources.Get "js/theme.js" }} {{ $secureJS := slice $main $menu $prism $theme | resources.Concat "bundle.js" | resources.Minify | resources.Fingerprint "sha512" }} - + {{- if .Site.GoogleAnalytics }}