diff --git a/assets/css/header.css b/assets/css/header.css index 910e98ce..beaf5bd6 100644 --- a/assets/css/header.css +++ b/assets/css/header.css @@ -40,11 +40,9 @@ height: 18px; } -a#theme-toggle { - font-size: 24px; - user-select: none; - margin: auto 4px; - cursor: pointer +button#theme-toggle { + font-size: 26px; + margin: auto 4px } body.dark #moon { diff --git a/assets/css/reset.css b/assets/css/reset.css index 4b8e09f8..ee8e77bd 100644 --- a/assets/css/reset.css +++ b/assets/css/reset.css @@ -10,6 +10,7 @@ html { } a, +button, body, h1, h2, diff --git a/layouts/partials/header.html b/layouts/partials/header.html index d91cc6fe..301367c4 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -61,7 +61,7 @@ {{- end }} {{- if (not .Site.Params.disableThemeToggle) }} - + {{- end}} {{ $lang := .Lang}} {{ $separator := or .Title (not .Site.Params.disableThemeToggle)}}