Skip to content

Commit 0d9185a

Browse files
Revert "Revert "Changed and Update Navbar and Login in the header section.""
1 parent 80ee289 commit 0d9185a

File tree

3 files changed

+23
-13
lines changed

3 files changed

+23
-13
lines changed

index.html

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

5959
.header-btn .sign-up {
6060
padding: 10px 20px;
61+
background-color: #474fa1;
6162
background-color: #007bff;
6263
border-color: #007bff;
6364
color: #fff;
@@ -66,6 +67,7 @@
6667
}
6768

6869
.header-btn .sign-up:hover {
70+
background-color: rgb(211, 10, 10);
6971
background-color: red;
7072
border-color: red;
7173
}

serv.css

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

16+
header {
17+
color: #000000;
18+
text-align: left;
19+
background-color: #ffffff;
20+
padding: 20px 0;
1621
header {
1722
display: flex;
1823
justify-content: space-between;

style.css

Lines changed: 16 additions & 13 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: #eeeff1;
51-
padding: 15px 100px;
50+
background: #ffffff;
51+
padding: 10px 10px;
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 30px 0px 0px;
59+
margin: 9px 5px 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-
color: #444;
214+
215215
font-weight: 500;
216216
}
217217

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

242242
li a:hover {
243-
color: rgb(182, 170, 170); /* Changes the text color to black on hover */
243+
color: rgb(216, 62, 62); /* 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: #eeeff1;
254+
background: #ffffff;
255255
/* Example background color */
256-
padding: 15px 100px;
256+
padding: 10px 10px;
257257
/* Example padding */
258258
}
259259

@@ -270,14 +270,17 @@ 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;
273276
/* Example text color */
274-
font-weight: 500;
277+
font-weight: 600;
275278
padding: 10px 20px;
276279
/* Adjust padding as needed */
277280
position: relative;
278281
}
279282

280-
.navbar a::after {
283+
/* .navbar a::after {
281284
content: '';
282285
position: absolute;
283286
left: 0;
@@ -286,8 +289,8 @@ li a:hover {
286289
height: 2px;
287290
background: #1e1e1e;
288291
/* Example underline color */
289-
transition: width .3s ease-in-out;
290-
}
292+
/* transition: width .3s ease-in-out; */
293+
291294

292295
.navbar a:hover::after {
293296
width: 100%;
@@ -313,13 +316,13 @@ li a:hover {
313316
}
314317

315318
.header-btn .sign-in {
316-
background: #475fa0;
319+
background: #474fa1;
317320
color: #fff;
318321
border-radius: 0.5rem;
319322
}
320323

321324
.header-btn .sign-in:hover {
322-
background: red;
325+
background: rgb(211, 10, 10);
323326
}
324327

325328
.header-btn .sign-up {

0 commit comments

Comments
 (0)