forked from kittv/web
1
0
Fork 0

Řazení aktualit do dynamických sloupců

Pokud se má zobrazit jen jedna aktualita, má maximální šířku a je
vycentrována.

closes #2
search
Emil Miler 3 years ago
parent 604af21a04
commit 192625a69a

@ -142,10 +142,11 @@ main {
.blocks {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
grid-column-gap: 1rem;
grid-row-gap: 2rem;
align-items: stretch;
justify-items: center;
a { font-weight: normal }
a:hover { text-decoration: none }
@ -153,6 +154,7 @@ main {
article {
display: flex;
flex-direction: column;
max-width: 50em;
height: 100%;
padding: 1em;
border-top: 5px solid #5E81AC;

Loading…
Cancel
Save