1- /* 1. Color Variables & Dark- Mode Overrides */
1+ /* 1. Color Variables & Dark‑ Mode Overrides */
22: root {
33 --bg-color : # ffffff ;
44 --text-color : # 000000 ;
@@ -104,7 +104,7 @@ body {
104104 background-color : var (--hover-bg );
105105}
106106
107- /* 5. Fade- In Animation */
107+ /* 5. Fade‑ In Animation */
108108.fade-in {
109109 animation : fadeIn 0.4s ease-in;
110110}
@@ -175,7 +175,7 @@ body {
175175 box-shadow : 0 4px 12px rgba (255 , 255 , 255 , 0.1 );
176176}
177177
178- /* 8. Dark- Mode Toggle & Live- Time Container */
178+ /* 8. Dark‑ Mode Toggle & Live‑ Time Container */
179179# theme-time-container {
180180 position : fixed;
181181 top : 1rem ;
@@ -193,13 +193,11 @@ body {
193193 transition : background-color 0.3s , color 0.3s ;
194194}
195195
196- /* Alignment Fix: Dark Mode Button on Left, Time Elements on Right */
197196# theme-time-container .dark-toggle {
198- position : static; /* Remove fixed positioning to follow flex layout */
199- margin-right : auto; /* Push the dark mode button to the left */
197+ position : static;
198+ margin-right : auto;
200199}
201200
202- /* Optional: Consistent Button Styling in Container */
203201# theme-time-container button {
204202 background : var (--button-bg );
205203 color : var (--button-text );
@@ -214,7 +212,6 @@ body {
214212 background-color : var (--hover-bg );
215213}
216214
217- /* Optional: Style the Time Display */
218215# live-time {
219- padding : 0.5rem ; /* Matches button padding for consistency */
220- }
216+ padding : 0.5rem ;
217+ }
0 commit comments