1- * {
2- margin : 0 ;
3- padding : 0 ;
4-
5- }
6-
7- body {
8- font-family : Verdana, Geneva, Tahoma, sans-serif;
9- display : grid;
10- grid-template-areas :
11- 'navbar'
12- 'container1'
13- 'container2'
14- 'container3'
15- 'container4'
16- 'container5'
17- 'footer' ;
18- grid-gap : 0.5rem ;
19- }
20- .navbar {
21- grid-area : navbar;
22- height : 8vh ;
23- width : 100vw ;
24- position : fixed;
25- top : 0 ;
26- z-index : 1 ;
27- background-color : white;
1+ /* Navbar */
2+ .navbar {
3+ grid-area : navbar;
4+ height : 8vh ;
5+ width : 100vw ;
6+ position : fixed;
7+ top : 0 ;
8+ z-index : 1 ;
9+ background-color : black; /* Set background color to black */
2810 box-shadow : 2px 5px grey;
29- /* border:1px solid black; */
30- }
31- .container1 {
32- grid-area : container1;
33- border-left : 1px solid black;
34- background : url ("images/homepage.jpg" )no-repeat center center/cover;
35- height : 100vh ;
36- }
37- .container2 {
38- grid-area : container2;
39- height : 45vw ;
40- }
41- .container3 {
42- grid-area : container3;
43- height : 45vw ;
44- }
45- .container4 {
46- grid-area : container4;
47- height : 25vw ;
48- }
49- .container5 {
50- grid-area : container5;
51- background : url ("images/map.jpg" )no-repeat center center/cover;
52- height : 50vw ;
53- }
54- .container {
55- padding : 20px ;
56- width : 97.5vw ;
57- margin : 10px ;
58- box-sizing : border-box;
59- /* border:1px solid green; */
60- }
61- .footer {
62- grid-area : footer;
63- height : 5vw ;
64- background-color : black;
65- color : white;
66- position : relative;
67- bottom : 0 ;
68- text-align : center;
69- padding-top : 20px ;
70- /* border:1px solid red; */
7111}
7212
73- /**************************************************************************navbar*******************************************************/
74- a {
75- color : black;
76- text-decoration : none;
77- font-size : 15px ;
78- padding : 20px 35px 20px 30px ;
79- letter-spacing : 3px ;
80- }
81- /********************************************************************************************projects*******************************/
82- .heading {
83- font-size : 25px ;
84- margin-top : 25px ;
85- margin-bottom : 20px ;
86- }
87- span {
88- position : relative;
89- top : 30px ;
90- color : white;
91- width : 60px ;
92- height : 40px ;
93- padding : 10px ;
94- background-color : black;
95- }
96- .image-collection {
97- display : grid;
98- grid-template-columns : repeat ( auto-fit, minmax (300px , 1fr ) );
99- grid-gap : 1rem ;
100- margin-top : 40px ;
13+ /* Navbar links */
14+ a {
15+ color : white; /* Set text color to white */
16+ text-decoration : none;
17+ font-size : 15px ;
18+ padding : 20px 35px 20px 30px ;
19+ letter-spacing : 3px ;
10120}
10221
103- /***********************************************************************about**************************************************/
104- .about-image-card-designation {
105- color : grey;
106- margin-top : 10px ;
107- margin-bottom : 10px ;
22+ a : hover {
23+ color : white; /* Keep hover color white */
24+ background-color : # 333 ; /* Set hover background color to a slightly darker shade of black */
10825}
109-
110- .about-image-card-button {
111- width : 350px ;
112- height : 5vh ;
113- margin-top : 10px ;
114- margin-bottom : 10px ;
115- background-color : rgb (156 , 151 , 151 );
116- border : none;
117- font-size : 18px ;
118- color : white;
119- }
120- .image-card-collection {
121- display : grid;
122- grid-template-columns : repeat ( auto-fit, minmax (300px , 1fr ) );
123- margin-top : 30px ;
124- margin-bottom : 30px ;
125- }
126- .about-img-card {
127- width : 350px ;
128- height : 450px ;
129- }
130-
131- /*****************************************************************contact***************************************************************/
132- input {
133- width : 95% ;
134- height : 6% ;
135- margin : 10px ;
136- padding-left : 10px ;
137- padding-right : 10px ;
138- color : grey;
139- font-size : 16px ;
140- }
141- .contact-button {
142- background-color : black;
143- border : none;
144- margin : 10px ;
145- padding : 10px ;
146- color : white;
147- font-size : 17px ;
148- }
149-
150-
151- @media only screen and (max-width : 1500px ){
152- body {
153- display : grid;
154- grid-template-areas :
155- 'navbar'
156- 'container1'
157- 'container2'
158- 'container3'
159- 'container4'
160- 'container5'
161- 'footer' ;
162- grid-gap : 0.5rem ;
163- }
164- .navbar {
165- height : 8vh ;
166- width : 100% ;
167- z-index : 1 ;
168- }
169- .invisible-nav-item {
170- display : none;
171- }
172- .container1 {
173- height : 100vh ;
174- padding-top : 200px ;
175- padding-bottom : 200px ;
176- }
177- .container2 {
178- height : 100% ;
179- }
180- .container3 {
181- height : 100% ;
182- }
183- .container4 {
184- height : 50vw ;
185- }
186- .container5 {
187- height : 100vh ;
188- padding-top : 200px ;
189- padding-bottom : 200px ;
190- }
191- .container {
192- width : 97vw ;
193- height : 100% ;
194- }
195- .footer {
196- width : 97vw ;
197- margin-left : 10px
198- }
199-
200- }
0 commit comments