Skip to content

Commit 80ee289

Browse files
authored
Merge pull request #542 from 07sumit1002/revert-303-main
Revert "Changed and Update Navbar and Login in the header section."
2 parents a1793b6 + 219cea9 commit 80ee289

File tree

3 files changed

+13
-23
lines changed

3 files changed

+13
-23
lines changed

index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858

5959
.header-btn .sign-up {
6060
padding: 10px 20px;
61-
background-color: #474fa1;
6261
background-color: #007bff;
6362
border-color: #007bff;
6463
color: #fff;
@@ -67,7 +66,6 @@
6766
}
6867

6968
.header-btn .sign-up:hover {
70-
background-color: rgb(211, 10, 10);
7169
background-color: red;
7270
border-color: red;
7371
}

serv.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@ body {
1313
flex: 1;
1414
}
1515

16-
header {
17-
color: #000000;
18-
text-align: left;
19-
background-color: #ffffff;
20-
padding: 20px 0;
2116
header {
2217
display: flex;
2318
justify-content: space-between;

style.css

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ header {
4747
display: flex;
4848
align-items: center;
4949
justify-content: space-between;
50-
background: #ffffff;
51-
padding: 10px 10px;
50+
background: #eeeff1;
51+
padding: 15px 100px;
5252
}
5353

5454
.logo img {
5555
width: 60px;
5656
border-radius: 10px; /* This creates 10px rounded corners */
5757
}
5858
.CabRental_logo img {
59-
margin: 9px 5px 0px 0px;
59+
margin: 9px 30px 0px 0px;
6060
}
6161

6262

@@ -211,7 +211,7 @@ header nav .nav-right .header-btn > div input {
211211
.navbar a {
212212
font-size: 1rem;
213213
padding: 10px 20px;
214-
214+
color: #444;
215215
font-weight: 500;
216216
}
217217

@@ -240,7 +240,7 @@ li a {
240240
}
241241

242242
li a:hover {
243-
color: rgb(216, 62, 62); /* Changes the text color to black on hover */
243+
color: rgb(182, 170, 170); /* Changes the text color to black on hover */
244244
}
245245

246246

@@ -251,9 +251,9 @@ li a:hover {
251251
justify-content: space-between;
252252
/* Adjust alignment as needed */
253253
align-items: center;
254-
background: #ffffff;
254+
background: #eeeff1;
255255
/* Example background color */
256-
padding: 10px 10px;
256+
padding: 15px 100px;
257257
/* Example padding */
258258
}
259259

@@ -270,17 +270,14 @@ li a:hover {
270270
.navbar a {
271271
text-decoration: none;
272272
color: #1e1e1e;
273-
background-color: rgba(255, 101, 36, 0.833);
274-
border: 0px transparent black;
275-
border-radius: 8px;
276273
/* Example text color */
277-
font-weight: 600;
274+
font-weight: 500;
278275
padding: 10px 20px;
279276
/* Adjust padding as needed */
280277
position: relative;
281278
}
282279

283-
/* .navbar a::after {
280+
.navbar a::after {
284281
content: '';
285282
position: absolute;
286283
left: 0;
@@ -289,8 +286,8 @@ li a:hover {
289286
height: 2px;
290287
background: #1e1e1e;
291288
/* Example underline color */
292-
/* transition: width .3s ease-in-out; */
293-
289+
transition: width .3s ease-in-out;
290+
}
294291

295292
.navbar a:hover::after {
296293
width: 100%;
@@ -316,13 +313,13 @@ li a:hover {
316313
}
317314

318315
.header-btn .sign-in {
319-
background: #474fa1;
316+
background: #475fa0;
320317
color: #fff;
321318
border-radius: 0.5rem;
322319
}
323320

324321
.header-btn .sign-in:hover {
325-
background: rgb(211, 10, 10);
322+
background: red;
326323
}
327324

328325
.header-btn .sign-up {

0 commit comments

Comments
 (0)