From d546511c560e0b957c663124593a10c0c9dfa5c4 Mon Sep 17 00:00:00 2001 From: Satyam Singh Date: Mon, 14 Oct 2024 11:28:18 +0530 Subject: [PATCH] allinged toogle button for darkmode --- index.html | 48 ++++++++++++++++++++++-------------------------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/index.html b/index.html index 92332b42..59b4d3e5 100644 --- a/index.html +++ b/index.html @@ -141,11 +141,7 @@ /* Position the toggle button to the right */ - .switch-container { - position: absolute; - right: 10rem; /* Adjust this value to move the button more to the right */ - top: 1.5rem; /* Adjust this value to move the button vertically */ - } + /* For responsiveness */ @media (max-width: 99rem) { @@ -1698,12 +1694,7 @@ /* Position the toggle button to the right */ - .switch-container { - position: absolute; - right: 10rem; /* Adjust this value to move the button more to the right */ - top: 1.5rem; /* Adjust this value to move the button vertically */ - } - + /* For responsiveness */ @media (max-width: 99rem) { .switch-container { @@ -2293,9 +2284,7 @@ .vis-h{ opacity: 0; } - .switch-container { - right: 7rem !important; - } + } @media only screen and (max-width:990px){ .header{ @@ -3194,10 +3183,25 @@ - + + +
  • +
  • +
  • +
    + + +
    + +
  • @@ -3205,6 +3209,7 @@
    +