zitadel/docs/src/css/card.module.css
Max Peintner 13d0a9754c
docs: quickstart, guides overview (#2524)
* fix: components, styles

* col component

* list components, change contents

* fix link
2021-10-18 19:37:29 +00:00

71 lines
1.1 KiB
CSS

.card {
border-radius: .5rem;
display: flex;
flex-direction: column;
min-width: 200px;
background: var(--card-background);
padding: 1rem;
text-decoration: none;
transition: all .2 ease-in-out;
}
.card:hover {
text-decoration: none;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.card p {
font-size: 14px;
margin: 0;
color: var(--ifm-font-color-base);
}
.cardimg {
height: 100px;
background-size: cover;
object-fit: contain;
background-position: center;
padding: .5rem 0;
pointer-events: none;
}
.fillspace {
flex: 1;
}
.bottom {
display: flex;
align-items: center;
}
.bottomicon {
width: 24px;
margin-right: .5rem;
color: var(--ifm-font-color-base);
}
.bottomspan {
font-size: 12px;
font-weight: 600;
color: var(--ifm-font-color-base);
text-transform: uppercase;
margin: 0;
}
.cardWrapper {
display: grid;
grid-template-columns: 1fr;
grid-gap: 1rem;
}
@media (min-width: 769px) {
.cardWrapper {
grid-template-columns: 1fr 1fr;
}
}
@media (min-width: 1180px) {
.cardWrapper {
grid-template-columns: 1fr 1fr 1fr;
}
}