File tree Expand file tree Collapse file tree 1 file changed +48
-1
lines changed
Expand file tree Collapse file tree 1 file changed +48
-1
lines changed Original file line number Diff line number Diff line change 3939 align-items : center;
4040 }
4141
42- .menu-item {
42+ .menu-item {
4343 text-decoration : none;
4444 color : # 555 ;
4545 font-size : 16px ;
5656 color : white;
5757 }
5858
59+ .menu-toggle {
60+ display : none;
61+ flex-direction : column;
62+ cursor : pointer;
63+ }
64+
65+ .menu-toggle span {
66+ height : 3px ;
67+ width : 25px ;
68+ background : # 333 ;
69+ margin : 4px 0 ;
70+ }
71+
72+ .menu-items {
73+ display : flex;
74+ gap : 10px ;
75+ }
76+
77+ @media (max-width : 768px ) {
78+ nav {
79+ flex-direction : column;
80+ align-items : flex-start;
81+ }
82+
83+ .menu-toggle {
84+ display : flex;
85+ }
86+
87+ .menu-items {
88+ display : none;
89+ flex-direction : column;
90+ width : 100% ;
91+ }
92+
93+ .menu-items .active {
94+ display : flex;
95+ }
96+
97+ .menu-item {
98+ width : 100% ;
99+ text-align : left;
100+ padding : 12px 20px ;
101+ }
102+ }
103+
59104 .dashboard-container {
60105 display : flex;
61106 flex-wrap : wrap;
149194 < a href ="water.html " class ="menu-item "> 💧 Water</ a >
150195 < a href ="reports.html " class ="menu-item "> 📊 Reports</ a >
151196 < a href ="tutorials.html " class ="menu-item "> 🎓 Tutorials</ a >
197+ < a href ="about.html " class ="menu-item "> 📖 About</ a >
198+ < a href ="contacts.html " class ="menu-item "> 📞 Contacts</ a >
152199 </ nav >
153200</ header >
154201
You can’t perform that action at this time.
0 commit comments