diff --git a/Css-files/mode-toggler.css b/Css-files/mode-toggler.css index 81d42208..9d9e5303 100644 --- a/Css-files/mode-toggler.css +++ b/Css-files/mode-toggler.css @@ -26,7 +26,7 @@ .theme-switch { position: relative; - width: 45px; + width: 50px; height: 30px; background-color: #ccc; border-radius: 20px; @@ -44,7 +44,7 @@ font-size: 19px; position: absolute; cursor: pointer; - top: 50%; + /* top: 50%; */ transform: translateY(-50%); transition: opacity 0.5s ease, color 0.5s ease; } @@ -84,6 +84,6 @@ } .switch-checkbox:checked + .theme-switch .toggle-button { - transform: translateX(13px); + transform: translateX(18px); /* background-color: #34495e; */ } diff --git a/index.html b/index.html index 0ae58ff6..4f89579f 100644 --- a/index.html +++ b/index.html @@ -358,9 +358,7 @@ - - - + @@ -439,6 +437,7 @@ +