diff --git a/sass/style.scss b/sass/style.scss index a4affc0..2cfedd6 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -13,7 +13,6 @@ body { background: var(--bg-0); color: var(--fg-1); - font-size: 16px; line-height: 1.6em; diff --git a/sass/theme-button.scss b/sass/theme-button.scss index 5fc5faf..eeb4c99 100644 --- a/sass/theme-button.scss +++ b/sass/theme-button.scss @@ -56,4 +56,11 @@ :root[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); +} + +@media (prefers-reduced-motion: reduce) { + .theme-toggle, + .theme-toggle .icon { + transition: none !important; + } } \ No newline at end of file diff --git a/sass/theme.scss b/sass/theme.scss index e6e55c5..ea49a15 100644 --- a/sass/theme.scss +++ b/sass/theme.scss @@ -28,6 +28,7 @@ background-color: var(--bg-1) !important; overflow: auto; border-radius: 5px; + padding: 5px; } .giallo-l {