HTMLify

amazonclone.css
Views: 28 | Author: cody
*{
    margin: 0;
    font-family: Arial, Helvetica, sans-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);
    background-size: cover;
    height: 50px;
    width: 100%;
}

.border{
    border: 1.5px solid transparent;
}

.border:hover {
    border: 1.5px solid white;
}

/* box2 */
.add-first{
    color: #cccccc;
    font-size: 0.85rem;
    margin-left: 15px;
}

.add-second{
    font-size: 1rem;
    margin-left: 3px;
}

.add-icon{
    display: flex;
    align-items: center;
}

/* box3 */
.nav-search{
    display: flex;
    justify-content: space-evenly;
    background-color: rgb(247, 177, 0);
    width: 920px;
    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 rgb(247, 177, 0)
}

/* box4 */
span{
    font-size: 0.7rem;
}

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

/* box5 */
.nav-cart i{
    font-size: 30px;
}

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



/* panel */

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

.panel-ops p{
    display: inline;
    margin-left: 15px;
}

.panel-ops{
    width: 70%;
    font-size: 0.85rem;
}

.panel-deals{
    font-weight: 700;
}



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

.hero-msg{
    background-color: white;
    color: black;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    width: 80%;
    margin-bottom: 25px;
}

.hero-msg a{
    color: #007185;
    text-decoration: none;
}



/* shop section */
.shopsection{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: #e2e7e6;
}
.Box{
    height: 400px;
    width: 23%;
    background-color: white;
    padding: 20px 0px 15px;
    margin-top: 1rem;
}

.box-img {
    height: 300px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.box-content{
    margin-left: 1rem;
    margin-right: 1rem;
}

.box-content p{
    color: #007185;
}



/* rectangle */

.rectangle {
    height: 250px;
    width: 95.5%;
    background-color: white;
    padding: 10px 10px;
    margin-top: 1rem;
}

.bg-main-div{
    background-color: #e2e7e6;
    width: 100%;
    height: 700px;
}

.rect-img-a{
    height: 200px;
    width: 145px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-imh-b{
    height: 200px;
    width: 113px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-img-c{
    height: 200px;
    width: 138px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-img-d{
    height: 200px;
    width: 145px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-img-e{
    height: 187.5px;
    width: 270px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-img-f{
    height: 130.75px;
    width: 270px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-img-g{
    height: 200px;
    width: 158px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-img-h{
    height: 200px;
    width: 142px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-img-i{
    height: 200px;
    width: 158px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-img-j{
    height: 200px;
    width: 160px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-img-k{
    height: 158.81px;
    width: 270px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-img-l{
    height: 200px;
    width: 145px;
    background-size: cover;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

.rect-main{
    display: flex;
    justify-content: space-evenly;
}



/** footer **/

footer{
    margin-top: 20px;
}

.foot-panel1 {
background-color: #37475a;
color: white;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
font-size: 0.85rem;
}

.foot-panel2 {
    background-color: #222f3d;
    color: white;
    height: 300px;
    display: flex;
    justify-content: space-evenly;
}

ul{
    margin-top: 20px;
}

ul a{
    display: block;
    font-size: 0.85rem;
    margin-top: 10px;
    text-decoration: none;
    color: white;
}

.foot-panel3{
    background-color: #222f3d;
    border-top: 0.5px solid;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.foot-panel4 {
    background-color: #0f1111;
    color: white;
    height: 80px;
    font-size: 0.7rem;
    text-align: center;

}

.foot-panel4 a{
    color: white;
    text-decoration: none;
}

.pages {
    font-size: 0.7rem;
    text-align: center;
    padding-top: 25px;
}

.copyright{
    padding-top: 5px;
}

Comments