Skip to content

Commit

Permalink
css
Browse files Browse the repository at this point in the history
  • Loading branch information
Anjalis14 authored Jan 17, 2024
1 parent 4ee8a4e commit 5a6402f
Showing 1 changed file with 260 additions and 0 deletions.
260 changes: 260 additions & 0 deletions amazon.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,260 @@
*{
margin: 0;
font-family: 'Times New Roman', Times, serif;
border: border-box;
}
.navbar {
height:60px ;
background-color: #0f1111;
color: white;
display: flex;
align-items: center;
justify-content: space-evenly;

}

.nav-logo {
height: 50px;
width:100px ;
}

.logo {
background-image: url("amazon_logo.png");
height: 50px;
width: 100%;
background-size: cover;
}
.border {
border: 1.5px solid transparent;
}
.border:hover {
border: 1.5px solid white;
}

/* box 2 */
.addres {
color: #cccccc;
font-size: 0.85rem;
margin-left: 15px;
}
.add {
font-size: 1rem;
margin-left: 4px;
}

/* add icon ko flex banao cuz its div */
.add-icon {
display: flex;
align-items: center;
}
/* BOXXXX 3 */
.nav-search {
display: flex;
justify-content: space-evenly;
background-color: aqua;
width: 620px;
height: 40px;
border-radius: 4px;
}

.search-select {
background-color: #f3f3f3;
width: 50px;
text-align: center;
border-top-left-radius: 4px;
border-bottom-left-radius:4px;
border: none;

}
.search-input {
width: 100%;
font-size: 1rem;
border: none;
}
.search-icon {
width: 45px;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.2rem;
background-color: #febd68;
border-top-right-radius: 4px;
border-bottom-right-radius:4px;
color: #0f1111;
}

.nav-search:hover {
border: 2px solid orange;
}
/* BOXX 4 */

span {
font-size: 0.7rem;
}

.nav-sec {
font-size: 0.85rem;
font-weight: 700;
}

/* BOXXX 6 */

.nav-cart i {
font-size: 30px;
}
.nav-cart {
font-size: 14px;
font-weight: 700;
}

/* Paneel */
.panel {
height: 40px;
background-color: #222f3d;
display: flex;
color: white;
align-items: center;
justify-content: space-evenly;

}
.panel-opt p {
display: inline;
margin-left:15px ;
}
.panel-opt {
width: 70%;
font-size: 0.85rem;
}
.panel-deals {
font-size:0.9rem ;
font-weight: 700;
}

/* HERO SECTIONN */
.hero-section {
background-image: url("hero_image.jpg");
background-size: cover;
height: 380px;
display: flex;
justify-content: center;
align-items: flex-end;

}
.hero-msg {
background-color: white;
color: #0f1111;
height: 40px;
width: 80%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.85rem;
bottom: 25px;
position: relative;
margin-bottom: 25px;
}
.hero-msg a {
color: #1d6fc1;
text-decoration: none;

}

/* CONTENTTT SHOPINGG */
.shop-section {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
background-color: #c9ede6;
}

.box {
height:400px;
/* border: 2px solid black; */
width: 23%;
background-color: white;
padding:20px 0px 15px;
margin-top: 15px;
}
.box-img {
height: 300px;
background-size:cover;
margin-bottom:1rem ;
margin-top: 1rem;

}
.box-content {
margin-left: 1rem;
margin-right: 1rem;
}
.box-content p {
color: #060606;
}

/* FOOTERRR */
footer {
margin-top: 15px;
}
.footone {
background-color: #37475a;
color: white;
height: 45px;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
}
.footpanel2 {
background-color: #222f3d;
color: white;
height:300px;
display: flex;
justify-content: space-evenly;

}
ul {
margin-top: 20px;
}
ul a {
display: block;
font-size: 1rem;
margin-top: 10px;
color: #dddddd;
}
.footpanel3 {
background-color: #222f3d;
color: white;
border-top:0.5px solid white ;
height: 70px;
display: flex;
justify-content: center;
align-items: center;
}

.logo2 {
background-image: url("amazon_logo.png");
height: 50px;
width: 100px;
background-size: cover;
}

.panel4 {
background-color: #0f1111;
color: white;
height: 99px;
/*
display: flex;
justify-content: center;
align-items: center; */
font-size: 0.7rem;
text-align: center;
}
.pages {
font-size:0.7rem ;
text-align: center;
padding-top:25px ;
}
.copyright {
padding-top: 5px;
font-size: 0.7rem;
text-align: center;
}

0 comments on commit 5a6402f

Please sign in to comment.