Skip to content

Commit f7a994d

Browse files
authored
Merge pull request #14 from Krishna100604/main
changed style of ride page
2 parents 4761ec6 + 337dc33 commit f7a994d

File tree

1 file changed

+56
-15
lines changed

1 file changed

+56
-15
lines changed

style.css

Lines changed: 56 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
list-style: none;
1010
text-decoration: none;
1111
font-family: "Poppins", sans-serif;
12-
background-color: rgb(238, 239, 241);;
12+
background-color: rgb(255, 254, 254);;
1313
}
1414
.root{
1515
--main-color:#b02f18;
@@ -40,7 +40,7 @@ header{
4040
display: flex;
4141
align-items: center;
4242
justify-content: space-between;
43-
background: #eeeff1;
43+
background: #ffffff;
4444
padding: 15px 100px;
4545
}
4646
.logo img {
@@ -56,21 +56,36 @@ header{
5656
.navbar a{
5757
font-size: 1rem;
5858
padding: 10px 20px;
59-
color: #444;
60-
font-weight: 500;
59+
color: #4a3b3b;
60+
font-weight: 600;
61+
text-decoration: none;
62+
font-size: 14px;
63+
color: rgb(15, 3, 3);
64+
padding: 10px 20px;
65+
margin: 0 10px;
66+
border-radius: 5px;
67+
transition: background-color 0.3s, color 0.3s, outline 0.3s;
68+
6169
}
6270
.navbar a ::after{
6371
content: '';
6472
width: 0;
6573
height: 3px;
66-
background: red;
74+
background: rgb(175, 193, 247);;
6775
position: absolute;
6876
bottom: -4px;
6977
left: 0;
7078
transition: 0.5s;
79+
text-decoration: none;
7180
}
81+
7282
.navbar a:hover{
73-
background: rgb(231, 223, 223);
83+
background: rgb(175, 193, 247);
84+
text-emphasis: none;
85+
text-decoration: none;
86+
outline: none;
87+
88+
7489
}
7590
#menu-icon{
7691
font-size: 24px;
@@ -90,6 +105,7 @@ header{
90105
}
91106
.header-btn .sign-in:hover{
92107
background: red;
108+
text-decoration: none;
93109
}
94110
.header-btn .sign-up{
95111
background: #474fa1;
@@ -214,7 +230,7 @@ header{
214230
}
215231
.ride .ride-container .bx:hover{
216232
background: red;
217-
color: #eeeff1;
233+
color: #101b30;
218234
}
219235
.services-container{
220236
display: grid;
@@ -306,34 +322,59 @@ header{
306322
}
307323
.form{
308324
padding: 1rem 1rem 1rem 1rem;
309-
margin-top: 3.5rem;
325+
margin-top: 15px;
326+
310327
}
311328

312329
form {
313330
width: 400px;
314-
margin: 0 auto;
315-
padding: 20px;
316-
background-color: #f2f2f2;
331+
margin: 50px auto;
332+
padding: 30px;
333+
background-color: #ffffff;
334+
border-radius: 10px;
335+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
336+
font-family: Arial, sans-serif;
317337
}
338+
318339
label {
319340
display: block;
320341
margin-bottom: 10px;
321342
font-size: 18px;
343+
color: #333333;
322344
}
323-
input[type="text"], input[type="email"], input[type="tel"] {
345+
346+
input[type="text"], input[type="email"], input[type="tel"] {
324347
width: 100%;
325-
padding: 10px;
348+
padding: 12px;
326349
margin-bottom: 20px;
327350
font-size: 16px;
351+
border: 1px solid #cccccc;
352+
border-radius: 5px;
353+
box-sizing: border-box;
354+
transition: border-color 0.3s;
355+
}
356+
357+
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus {
358+
border-color: #0066cc;
359+
outline: none;
328360
}
361+
329362
input[type="submit"] {
330363
width: 100%;
331-
padding: 10px;
364+
padding: 12px;
332365
font-size: 18px;
333-
background-color: #4CAF50;
366+
background-color: #0066cc;
334367
color: white;
368+
border: none;
369+
border-radius: 5px;
335370
cursor: pointer;
371+
transition: background-color 0.3s;
336372
}
373+
374+
input[type="submit"]:hover {
375+
background-color: #004c99;
376+
}
377+
337378
body {
338379
font-family: Arial, sans-serif;
339380
margin: 0;

0 commit comments

Comments
 (0)