TeleQom.org/css/sections/products.css
2023-03-15 15:53:04 -04:00

164 lines
2.9 KiB
CSS

.products {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
background: var(--background-color-2);
}
.products.alt {
background-color: var(--background-color-1);
}
.products .explanation {
margin-bottom: 5rem;
max-width: 80%;
}
.products h2 {
margin-bottom: 5rem;
}
.products .wrapper {
display: flex;
align-items: flex-start;
justify-content: center;
flex-flow: row wrap;
}
.product {
text-align: center;
flex-direction: column;
display: flex;
align-items: center;
justify-content: center;
max-width: 30rem;
padding: 2rem;
margin: 2rem;
border-radius: 1rem;
box-shadow: 0.1rem 0.1rem 0.5rem 0.1rem var(--box-shadow);
background-color: var(--background-color-1);
}
.product.alt {
background-color: var(--item-color-2);
}
.product .img-container {
height: 8rem;
width: 8rem;
margin: 2rem;
}
.product img {
height: 8rem;
width: 8rem;
}
.product h4 {
display: inline-block;
border-radius: 0.5rem;
padding: 0.5rem;
background-color: var(--text-color-1);
color: var(--item-color-1);
box-shadow: 0.1rem 0.1rem 0.5rem 0.1rem var(--box-shadow);
}
.product .description {
margin: 1rem;
}
hr {
border: 0.2rem dotted var(--item-color-1);
border-radius: 0.5rem;
width: 100%;
}
.product h5 {
margin-bottom: 1rem;
}
.product .includes {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 1rem;
}
.product .includes .includes-items {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.product .includes p {
border-radius: 0.5rem;
padding: 0.5rem;
margin: 0.5rem;
display: inline-block;
border-radius: 0.3rem;
box-shadow: 0.1rem 0.1rem 0.5rem 0.1rem var(--box-shadow);
background: var(--background-color-2);
}
.product .includes p.alt {
background-color: var(--background-color-2);
}
.product .qontribution {
padding: 1rem;
}
.product .btn {
margin: 2rem 1rem 1rem 1rem;
}
span.green {
color: var(--background-color-success-1);
}
.products.alt {
background-color: var(--background-color-1);
}
.products.alt .product {
background-color: var(--background-color-2);
}
.products.alt .includes-items p{
background-color: var(--background-color-1);
}
.product .includes-items p.green {
background-color: var(--background-color-success-1);
}
.product .includes-items p.yellow {
background-color: var(--background-color-warning-1);
}
.product .includes-items p.red {
background-color: var(--background-color-danger-1);
}
.product .includes-items p.blue {
background-color: var(--item-color-1);
}
@media only screen and (max-width: 500px) {
.product {
margin: 1.5rem 0.5rem;
padding: 2rem 1rem;
}
.products .explanation {
max-width: 90%;
}
}