diff --git a/groups/home/bootstrap5/home1.css b/groups/home/bootstrap5/home1.css index 47cf2cd..94e4db7 100644 --- a/groups/home/bootstrap5/home1.css +++ b/groups/home/bootstrap5/home1.css @@ -128,6 +128,10 @@ margin-left: 5px; } + [data-bs-theme="dark"] #login-div { + color: white; + } + /* Accessible focus indicators for primary navigation elements */ #hamburger:focus, #hamburger:focus-visible, @@ -532,20 +536,23 @@ /* dark mode toggle button */ #theme-toggle { - float: right; + position: fixed; + bottom: 20px; + right: 20px; + z-index: 9999; background: none; border: 2px solid var(--kbccblue); color: var(--kbccblue); border-radius: 50%; - width: 40px; - height: 40px; + width: 44px; + height: 44px; font-size: 1.2em; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; - margin-top: 5px; + background-color: var(--bg); } #theme-toggle:hover { background-color: var(--kbccblue); diff --git a/groups/home/bootstrap5/home1.html b/groups/home/bootstrap5/home1.html index 0bca15c..e3f072b 100644 --- a/groups/home/bootstrap5/home1.html +++ b/groups/home/bootstrap5/home1.html @@ -76,14 +76,6 @@
Login
- +