You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
987 B
CSS

.cards{
grid-column: 2 / span 2;
/* display: flex;
flex-wrap: wrap;
justify-content: space-between; */
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-gap: var(--app-margin);
}
.card-image{
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 16px;
font-weight: bold;
font-style: italic;
}
.card-image{
word-break: break-all;
text-align: center;
}
.cards .card-image .thumb {
width: 96px;
height: 96px;
object-fit: contain;
border: none;
border-radius: 0;
margin: 0;
}
@media (max-width: 991.98px) {
.cards {
display: block;
padding: 0;
}
.card-image{
flex-direction: row;
justify-content: flex-start;
text-align: left;
}
figure {
margin: 12px 0;
}
.cards .card-image .thumb {
width: 64px;
height: 64px;
border-radius: 0;
margin-right: 12px;
}
}