1- * {
2- margin : 0 ;
3- padding : 0 ;
4- list-style : none;
5- text-decoration : none;
6- box-sizing : border-box;
7- }
8- body {
9- min-height : 100vh ;
10- background : url ('laptop.jpg' );
11- background-size : cover;
12- background-repeat : no-repeat;
13- background-position : center;
14- font-family : 'Segoe UI' , Tahoma, Geneva, Verdana, sans-serif;
15- }
16- nav {
17- background-color : white;
18- box-shadow : 3px 3px 5px rgba (0 , 0 , 0 , 0.1 );
19- }
20- nav ul {
21- width : 100% ;
22- list-style : none;
23- display : flex;
24- justify-content : flex-end;
25- align-items : center;
26- }
27- nav li {
28- height : 50px ;
29- }
30- nav a {
31- height : 100% ;
32- padding : 0 30px ;
33- text-decoration : none;
34- display : flex;
35- align-items : center;
36- color : black;
37- }
38- nav a : hover {
39- background-color : # f0f0f0 ;
40- }
41- nav li : first-child {
42- margin-right : auto;
43- }
44- .sidebar {
45- position : fixed;
46- top : 0 ;
47- right : 0 ;
48- height : 100vh ;
49- width : 250px ;
50- background-color : rgba (255 , 255 , 255 , 0.15 );
51- backdrop-filter : blur (12px );
52- box-shadow : -10px 0 10px rgba (0 , 0 , 0 , 0.1 );
53- list-style : none;
1+ * {
2+ margin : 0 ;
3+ padding : 0 ;
4+ list-style : none;
5+ text-decoration : none;
6+ box-sizing : border-box;
7+ }
8+ body {
9+ min-height : 100vh ;
10+ background : url ("laptop.jpg" );
11+ background-size : cover;
12+ background-repeat : no-repeat;
13+ background-position : center;
14+ font-family : "Segoe UI" , Tahoma, Geneva, Verdana, sans-serif;
15+ }
16+ nav {
17+ background-color : white;
18+ box-shadow : 3px 3px 5px rgba (0 , 0 , 0 , 0.1 );
19+ }
20+ nav ul {
21+ width : 100% ;
22+ list-style : none;
23+ display : flex;
24+ justify-content : flex-end;
25+ align-items : center;
26+ }
27+ nav li {
28+ height : 50px ;
29+ }
30+ nav a {
31+ height : 100% ;
32+ padding : 0 30px ;
33+ text-decoration : none;
34+ display : flex;
35+ align-items : center;
36+ color : black;
37+ }
38+
39+ nav a : hover {
40+ background-color : # f0f0f0 ;
41+ }
42+ nav li : first-child {
43+ margin-right : auto;
44+ }
45+ .sidebar {
46+ position : fixed;
47+ top : 0 ;
48+ right : 0 ;
49+ height : 100vh ;
50+ width : 250px ;
51+ background-color : rgba (255 , 255 , 255 , 0.15 );
52+ backdrop-filter : blur (12px );
53+ box-shadow : -10px 0 10px rgba (0 , 0 , 0 , 0.1 );
54+ list-style : none;
55+ display : none;
56+ flex-direction : column;
57+ align-items : flex-start;
58+ justify-content : flex-start;
59+ }
60+ .sidebar li {
61+ width : 100% ;
62+ }
63+ .sidebar a {
64+ width : 100% ;
65+ }
66+ .menu-button {
67+ display : none;
68+ }
69+ @media (max-width : 800px ) {
70+ .hideOnMobile {
5471 display : none;
55- flex-direction : column;
56- align-items : flex-start;
57- justify-content : flex-start;
5872 }
59- .sidebar li {
60- width : 100 % ;
73+ .menu-button {
74+ display : block ;
6175 }
62- .sidebar a {
76+ }
77+ @media (max-width : 400px ) {
78+ .sidebar {
6379 width : 100% ;
6480 }
65- .menu-button {
66- display : none;
67- }
68- @media (max-width : 800px ){
69- .hideOnMobile {
70- display : none;
71- }
72- .menu-button {
73- display : block;
74- }
75- }
76- @media (max-width : 400px ){
77- .sidebar {
78- width : 100% ;
79- }
80- }
81- .Hero-bg {
82- width : 100% ;
83- }
81+ }
82+ .Hero-bg {
83+ width : 100% ;
84+ }
0 commit comments