Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#287 change in services section #530

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
214 changes: 103 additions & 111 deletions serv.css
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
body {
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
overflow-x: hidden;
background-color: #eeeff1;
}
main{
flex: 1;
}
font-family: "Poppins", sans-serif;
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
overflow-x: hidden;
background-color: #eeeff1;
}
main {
flex: 1;
}

header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: #eeeff1;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
height: 70px;
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background-color: #eeeff1;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
height: 70px;
}

.theme-switch {
Expand All @@ -36,106 +36,104 @@ body {
}

.logo img {
height: 50px;
padding-left: 20px;
padding-top: 10px;
height: 50px;
padding-left: 20px;
padding-top: 10px;
}
.CabRental_logo img{
.CabRental_logo img {
padding-top: 20px;
}

.navbar {
display: flex;
gap: 20px;
padding-top: 5px;
list-style: none;
font-size: 30;
display: flex;
gap: 20px;
padding-top: 5px;
list-style: none;
font-size: 30;
}

.navbar li a {

text-decoration: none;
font-weight: 500;
color: #333;
padding: 10px 15px;
transition: 0.3s ease;
text-decoration: none;
font-weight: 500;
color: #333;
padding: 10px 15px;
transition: 0.3s ease;
}

.navbar li a:hover {
color: #007bff;
color: #007bff;
}

.header-btn .sign-up {
padding: 20px;
padding: 10px 20px;
background-color: #007bff;
border-color: #007bff;
color: #fff;
text-decoration: none;
border-radius: 5px;
padding: 10px 20px;
background-color: #007bff;
border-color: #007bff;
color: #fff;
text-decoration: none;
border-radius: 5px;
}

.header-btn .sign-up:hover {
background-color: red;
border-color: red;
background-color: red;
border-color: red;
}

/* Hide menu icon initially */
#menu-icon {
display: none;
display: none;
}

/* Responsive styles for mobile sidebar */
@media (max-width: 600px) {
.navbar {
position: fixed;
top: 0;
left: -250px;
width: 250px;
height: 100%;
flex-direction: column;
align-items: start;
justify-content: flex-start;
padding: 20px;
transition: 0.3s;
z-index: 1000;
}

.navbar.active {
left: 0;
}

.navbar li {
width: 100%;
margin: 20px 0;
}

.navbar li a {
display: block;
width: 100%;
text-align: left;
padding: 10px 15px;
}

#menu-icon {
display: block;
font-size: 28px;
cursor: pointer;
position: absolute;
right: 20px;
}

.close-btn {
font-size: 28px;
cursor: pointer;
margin-left: auto;
margin-bottom: 20px;
}
.navbar {
position: fixed;
top: 0;
left: -250px;
width: 250px;
height: 100%;
flex-direction: column;
align-items: start;
justify-content: flex-start;
padding: 20px;
transition: 0.3s;
z-index: 1000;
}

.navbar.active {
left: 0;
}

.navbar li {
width: 100%;
margin: 20px 0;
}

.navbar li a {
display: block;
width: 100%;
text-align: left;
padding: 10px 15px;
}

#menu-icon {
display: block;
font-size: 28px;
cursor: pointer;
position: absolute;
right: 20px;
}

.close-btn {
font-size: 28px;
cursor: pointer;
margin-left: auto;
margin-bottom: 20px;
}
}
/* nav ul li a:hover {
color: #ff0000;
/* nav ul li a:hover {
color: #ff0000;
} */

.key-features {
margin-top: 10px;
padding-left: 20px;
Expand All @@ -152,16 +150,16 @@ body {
}

.citytransfer {
padding: 23px;
padding: 25px;
flex: 1;
margin: 34px;
font-size: 1rem;
line-height: 1.5;
color: #555;
padding: 10px 20px 20px 10px;
padding: 10px 20px 20px 25px;
background-color: #fff;
border-radius: 22px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 25px;
box-shadow: rgba(139, 140, 140, 0.696) 3px 3px 5px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 5px 1px inset;
width: 572px;
max-width: 522px;
margin: 20px 0;
Expand All @@ -180,7 +178,7 @@ body {
text-decoration: none;
padding: 8px 16px;
border-radius: 5px;
transition: background-color 0.3s;
transition: background-color 1s;
position: relative;
}

Expand All @@ -197,8 +195,8 @@ body {

.key-features1 {
margin-top: 10px;
padding-left: 20px;
}
padding-left: 20px;
}
.rentally {
padding: 23px;
flex: 1;
Expand Down Expand Up @@ -252,7 +250,7 @@ body {
position: relative;
justify-content: center;
align-items: center;
top: -42px
top: -42px;
/* position: relative;
left: 752px;
top: -825px; */
Expand All @@ -267,7 +265,6 @@ footer {
bottom: 0;
}


/*Mobile Devices */
@media (max-width: 600px) {
header h1 {
Expand All @@ -290,7 +287,7 @@ footer {
margin: 10px 0;
}

.citytransfer{
.citytransfer {
width: 90%;
margin-left: 5%;
margin-right: 5%;
Expand All @@ -299,19 +296,14 @@ footer {
/* margin-top: 1000px; */
}



.specially{
.specially {
width: 90%;
margin-left: 5%;
margin-right: 5%;
margin-top: 76px;


}


.rentally{
.rentally {
width: 90%;
margin-left: 5%;
margin-right: 5%;
Expand All @@ -329,7 +321,7 @@ footer {
display: block;
text-align: center;
}
.topbtn{
.topbtn {
position: fixed;
width: 50px;
height: 50px;
Expand All @@ -340,6 +332,6 @@ footer {
line-height: 50px;
user-select: none;
font-size: 22px;
border-radius: 50%
border-radius: 50%;
}
}
Loading