Fixes for the cards.... sort of.
This commit is contained in:
parent
b513dd8859
commit
371f5e25bc
4 changed files with 27 additions and 29 deletions
|
|
@ -70,4 +70,26 @@ img.blurred {
|
|||
.outline-text {
|
||||
color: white;
|
||||
text-shadow: -1px 0 rgba(0, 0, 0, .5), 0 1px rgba(0, 0, 0, .5), 1px 0 rgba(0, 0, 0, .5), 0 -1px rgba(0, 0, 0, .5);
|
||||
}
|
||||
|
||||
.cards.grid {
|
||||
display: grid;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
grid-template-columns: repeat(auto-fit, minmax(auto, 1fr));
|
||||
grid-auto-rows: 1fr;
|
||||
grid-gap: 2rem;
|
||||
grid-auto-flow: dense;
|
||||
}
|
||||
|
||||
/* Force a 2-column grid on larger displays */
|
||||
|
||||
@media(min-width: 512px) {
|
||||
.cards.grid {
|
||||
grid-template-columns: repeat(2, minmax(256px, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: #323232 !important;
|
||||
}
|
||||
Loading…
Reference in a new issue