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

Day 4 #31

Open
wants to merge 12 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
117 changes: 117 additions & 0 deletions book-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,120 @@ padding: 20px;

}

@media (min-width: 320px) and (max-width: 480px) {
#cars-data{
margin: auto;
width: 100%;
margin-top: 20px;
display: grid;
margin-top: 0px;
grid-template-columns: repeat(1,1fr);

}
#carone{
display: grid;
margin-bottom: 20px;

box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
#cartwo{
display: flex;
justify-content:space-between ;
width: 100%;
}
#carthree{
width: 40%;
margin: auto;
text-align: center;
margin-top: 20px;
grid-template-columns: repeat(1,1fr);
gap:40%;
}
#booknow{
border: 1px solid green;
margin-top: 50px;
margin: auto;
font-size: 16px;
font-weight: 400px;
width: 90%;
background-color:green ;
padding: 10px 20px;
color: white;
margin-bottom: 20px;
padding-right: 30px;

}
#forcarimg{
margin-top: 10px;
width:40%
}
#carthree>h3{
display: block;
margin-top: 0px;



}
#forcarimg~div{
margin: auto;
margin-top: 20px;
}
#forcarimg>img{
width: 100%;
margin: 10px;
}

#cardetails{
margin-top: 10px;
display: flex;
gap: 10px;
padding: auto 50px;
}
#ratingdetails{
margin-top: 0px;
display: flex;
gap:5px;
}
#ratingdetails>div>img{
width: 20px;
}
#parent>div:nth-child(2)>img{
width: 60px;
margin-top: 20px;
}
#parent>div:nth-child(2)>img{
width: 40px;
margin-top: 20px;
}
#promo{
width: 100%;
font-size: 20px;
margin-top: 30px;

}
#promo>div:nth-child(2){
display: flex;
font-size: 25px;
font-weight: 500;
margin-top: 70px;
margin-left: -80px;
gap:30px
}

#promo>div>input{
padding: 20px 10px;
margin-left: -50px;
font-size: 19px;
}
#apply{
padding: 20px;
margin-left: 0px;
color: white;
font-weight: 400;
background-color: rgb(33, 6, 6);
border: 1px solid black;

}

}

198 changes: 198 additions & 0 deletions car-option.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,201 @@ margin: 10px;
#ratingdetails>div>img{
width: 20px;
}
@media (min-width: 320px) and (max-width: 480px) {
.nav{
width: 100%;
height: 60px;
background-color: black;
display: flex;
margin-top: -10px;
justify-content: space-between;
margin-left: -10px;
padding-right: 20px;
gap: 50px;
}
.nav-logo{
display: flex;
}
.nav-menu{
display: flex;
gap: 10px;
}
.nav-menu>img:nth-child(1){
width: 15%;
height: 20%;
margin :25px;
margin-left: 10px;
}
.nav-menu>img:nth-child(2){
width:60px;
height: 25px;
margin :20px;
margin-left: -20px;
}
.nav-text{
color: white;
display: flex;
margin-right: 50px;
margin-top: 0px;
font-size: 10px;
}
.nav-text>div{
margin: auto 10px;
font-weight: bold;
width: auto;

}
#carone{
display: grid;
margin-bottom: 20px;

box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
#cartwo{
display: grid;
grid-template-columns: repeat(1,1fr);
justify-content:space-between ;
width: 100%;
}
#carthree{
width: 40%;
margin: auto;
text-align: center;
margin-top: 20px;
margin-left: 40px;
grid-template-columns: repeat(1,1fr);
gap:40%;
}
#carname{
margin-top: -10px;
}
#booknow{
border: 1px solid green;
margin-top: 50px;
margin: auto;
font-size: 16px;
font-weight: 400px;
width: 90%;
background-color:green ;
padding: 10px 20px;
color: white;
margin-bottom: 20px;
padding-right: 30px;

}
#forcarimg{
margin-top: 10px;
width:90%
}
#carthree>h3{
display: block;
margin-top: 0px;

}
#forcarimg~div{
margin: auto;
margin-top: 20px;
}
#forcarimg>img{
width: 100%;
margin: 10px;
}
#forcardata{
margin-top: 0px;
}
#cardetails{
margin-top: 10px;
display: flex;
gap: 10px;
padding: auto 50px;
}
#ratingdetails{
margin-top: 0px;
display: flex;
gap:5px;
}
#ratingdetails>div>img{
width: 20px;
}
#parent>div:nth-child(2)>img{
width: 60px;
margin-top: 20px;
}
#parent>div:nth-child(2)>img{
width: 40px;
margin-top: 20px;
}
#cars{
display: flex;
justify-content: space-between;
}

#car-filter{
width: 20%;
margin-left: 0px;
padding: 0px 10px 0px 10px;
margin-top: 20px;
background-color: rgb(238, 245, 242);
box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
#car-filter>h3{
font-size: 10px;
}
#seat-filter{
display: grid;
grid-template-columns: repeat(1,1fr);


}
#seat-filter>div{
background-color: rgba(240, 231, 231, 0.92) ;
border: 0.1px solid gray;
font-size: 10px;
padding: 10px;
text-align: center;
}
#type-filter{
display: grid;
grid-template-columns: repeat(1,1fr);
}
#type-filter>div{
border: 0.1px solid grey;
font-size: 10px;
padding: 10px;
text-align: center;
}
#Transmission-filter{
display: grid;
grid-template-columns: repeat(1,1fr);
}
#Transmission-filter>div{
border: 0.1px solid gray;
font-size: 10px;
padding: 10px;
text-align: center;
}


#delivery-filter{
display: grid;

grid-template-columns: repeat(1,1fr);
}
#delivery-filter>div{
border: 0.1px solid gray;
font-size: 10px;
padding: 10px;
text-align: center;
}
#car-filter{
height: 700px;
}
#car-filter>p{
width: 80%;
margin-top: 20px;
color: blueviolet;
font-size: 9px;

}

}
53 changes: 53 additions & 0 deletions confirm-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,57 @@ font-weight: bold;
border-radius: 10px;
margin: auto;
margin-top: 400px;
}
@media (min-width: 320px) and (max-width: 480px) {

#parent{
width: 100%;
margin: auto;
}
#parent>div:nth-child(1)>img{
width: 40px;
margin-top: 20px;
}
#parent>div:nth-child(2){
margin-top: 15px;
font-size: 19px;
text-align: center;
font-weight: bold;
}

#forminput>div>h4{
font-size: 18px;
margin-top: 30px;
}
#inputotp{
display: block;
margin: auto;
margin-top: 20px;
padding: 10px 70px 10px 20px;
font-size: 18px;

}
#inputotp~p{
text-align: center;
}
#parent>div:nth-child(3){
margin-top: 10px;
text-align: center;
color: rgb(135, 129, 121);
}
#continue{
color: aliceblue;
background-color: green;
font-weight: 600;
font-size: 18px;
padding: 20px 80px;
width: 25%;
text-align: center;
border-radius: 10px;
margin: auto;
margin-top:200px;
margin-left: 20%;
}


}
Loading