1- /* Reset and Basic Styles */
2- * {
3- margin : 0 ;
4- padding : 0 ;
5- box-sizing : border-box;
6- }
7-
8- body {
9- font-family : Arial, sans-serif;
10- background-color : # f4f4f4 ;
11- color : # 333 ;
12- }
13-
14- /* Sidebar Styles */
15- .sidebar {
16- position : fixed;
17- top : 0 ;
18- left : 0 ;
19- width : 200px ; /* Reduced size for 3 links */
20- height : 100% ;
21- background-color : # 333 ;
22- color : # fff ;
23- padding : 1rem ;
24- transition : transform 0.3s ease;
25- transform : translateX (-100% ); /* Hidden by default */
26- }
27-
28- .sidebar .visible {
29- transform : translateX (0 ); /* Visible state */
30- }
31-
32- .sidebar a {
33- color : # fff ;
34- text-decoration : none;
35- display : block;
36- margin : 1rem 0 ;
37- font-size : 1rem ;
38- }
39-
40- /* Content Styles */
41- .content {
42- padding : 1rem ;
43- }
44-
45- /* Toggle Button */
46- .toggle-btn {
47- position : fixed;
48- top : 1rem ;
49- left : 1rem ;
50- z-index : 1000 ;
51- background-color : # 333 ;
52- color : # fff ;
53- border : none;
54- padding : 0.5rem ;
55- cursor : pointer;
56- border-radius : 3px ;
57- }
58-
59- /* Time Container */
60- # time-container {
61- position : fixed;
62- top : 1rem ;
63- right : 1rem ;
64- display : flex;
65- align-items : center;
66- background-color : # fff ;
67- padding : 0.5rem ;
68- border-radius : 5px ;
69- box-shadow : 0 0 5px rgba (0 , 0 , 0 , 0.1 );
70- }
71-
72- # live-time {
73- margin-right : 0.5rem ;
74- font-size : 0.9rem ;
75- }
76-
77- /* Dark Mode Toggle */
78- .dark-toggle {
79- background : none;
80- border : none;
81- cursor : pointer;
82- font-size : 1.2rem ;
83- }
84-
85- /* Dark Mode Styles */
86- body .dark-mode {
87- background-color : # 222 ;
88- color : # fff ;
89- }
90-
91- body .dark-mode .sidebar {
92- background-color : # 444 ;
93- }
94-
95- body .dark-mode .toggle-btn {
96- background-color : # 444 ;
97- }
98-
99- body .dark-mode # time-container {
100- background-color : # 333 ;
101- color : # fff ;
102- }
103-
104- /* Responsive Design */
105- @media (max-width : 768px ) {
106- .sidebar {
107- width : 150px ; /* Smaller on mobile */
108- }
109- }
110-
111- /* Fade-in Animation for Content */
112- .fade-in {
113- animation : fadeIn 0.5s ease-in;
114- }
115-
116- @keyframes fadeIn {
117- from { opacity : 0 ; }
118- to { opacity : 1 ; }
119- }
120-
121- /* Base Colors and Typography */ /*
122-
1+ /* Base Colors and Typography */
1232: root {
1243 --bg-color : # ffffff ;
1254 --text-color : # 000000 ;
@@ -150,9 +29,7 @@ body {
15029 transition : background-color 0.3s ease, color 0.3s ease;
15130}
15231
153- */
154- /* Sidebar */ /*
155-
32+ /* Sidebar */
15633.sidebar {
15734 background-color : var (--sidebar-bg );
15835 width : 260px ;
@@ -182,9 +59,7 @@ body {
18259 background-color : var (--hover-bg );
18360}
18461
185- */
186- /* Content */ /*
187-
62+ /* Content */
18863.content {
18964 margin-left : 260px ;
19065 padding : 1rem ;
@@ -195,9 +70,7 @@ body {
19570 margin-left : 0 ;
19671}
19772
198- */
199- /* Toggle Buttons */ /*
200-
73+ /* Toggle Buttons */
20174.toggle-btn ,
20275.dark-toggle {
20376 position : fixed;
@@ -219,9 +92,7 @@ body {
21992 right : 1rem ;
22093}
22194
222- */
223- /* Animation */ /*
224-
95+ /* Animation */
22596.fade-in {
22697 animation : fadeIn 0.4s ease-in;
22798}
@@ -234,9 +105,7 @@ body {
234105# time-container {
235106 position : fixed;
236107 top : 1rem ;
237- right: 1rem; */
238- /* Stick to top-right */ /*
239-
108+ right : 1rem ; /* Stick to top-right */
240109 background : rgba (0 , 0 , 0 , 0.6 );
241110 color : # 00ffff ;
242111 border : 1px solid # 00ffff ;
@@ -266,9 +135,7 @@ body.dark-mode #time-container {
266135}
267136
268137
269- */
270- /* Image Row */ /*
271-
138+ /* Image Row */
272139.image-row {
273140 display : flex;
274141 flex-wrap : wrap;
@@ -295,9 +162,7 @@ body.dark-mode #time-container {
295162 }
296163}
297164
298- */
299- /* Responsive Image */ /*
300-
165+ /* Responsive Image */
301166.responsive-img {
302167 width : 100% ;
303168 max-width : 600px ;
@@ -317,9 +182,7 @@ body.dark-mode #time-container {
317182 box-shadow : 0 4px 12px rgba (255 , 255 , 255 , 0.1 );
318183}
319184
320- */
321- /* Mobile Responsive Fixes */ /*
322-
185+ /* Mobile Responsive Fixes */
323186@media (max-width : 768px ) {
324187 .sidebar {
325188 transform : translateX (-100% );
@@ -351,4 +214,3 @@ body.dark-mode #time-container {
351214 margin : 1rem ;
352215 }
353216}
354- */
0 commit comments