CameraBuy / web / assets / css / shop.css
shop.css
Raw
/*showroom shop*/

h1 {
    font-size: 3.5rem;  /*in Main verlagern*/
}

#showroom_shop {
    height: 60vh;
    min-height: 300px;
    background-image: url("../img/shop_showroom.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display:flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 2rem;
    padding-left: 60vw;
}

#showroom_shop h1 {
    color: var(--main-color);
}

#showroom_shop p {
    color: var(--main-color);
}

#showroom_shop input[type='search'] {
    border-radius: 2rem;
    border: 0px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    width: 30vw;
    height: 3rem;
    outline: none;
    background-color: rgba(255, 255, 255, 0.918);
}

#showroom_shop input:focus {
    background-color: var(--main-color);
}

/*filter shop*/

#filter {
    margin-top: 1.5rem;
    display:flex;
    justify-content: space-around;
}

#filter>div {
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#filter button  {
    border: 2px solid var(--contrast-color);
    margin: 0 0.5rem 0 0.5rem;
    background-color: var(--main-color);
}

#filter button:hover, #filter .filter-activated {
    color: var(--main-color);
    background-color: var(--contrast-color);
}


/*product list shop*/

#product_list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;


}

#product_list > article {
    width: 300px;
    height: 400px;
    background-color: var(--variant-color);
    border-radius: 2rem;
    margin: 1rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tag {
    background-color: var(--accent-color);
    border-radius: 1rem;
    color: var(--main-color);
    width: fit-content;
    padding: 0.2rem 0.4rem 0.2rem 0.4rem;
}

#product_list h3 {
    font-size: 1.5rem;
    font-family: Winco;
}

.productdiscription {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.price {
    font-family: Winco;
    margin-bottom: 0.8rem;
}

.mehr_erfahren {
    border: solid 2px var(--contrast-color);
    padding: 0.5rem;
    transition: 0.5s;
}

.mehr_erfahren:hover {
    background-color: var(--contrast-color);
    color: var(--main-color)
}

#product_list img {
    max-height: 50%;
    max-width: fit-content;

}