MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 1,487: | Line 1,487: | ||
.ooo-extlinks-grid { | .ooo-extlinks-grid { | ||
display: grid; | display: grid; | ||
grid-template- | grid-auto-flow: column; | ||
grid-template-rows: repeat(4, auto); | |||
justify-content: center; | justify-content: center; | ||
gap: 8px 14px; | gap: 8px 14px; | ||
margin: 16px auto; | margin: 16px auto; | ||
| Line 1,504: | Line 1,506: | ||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
.ooo-extlinks-grid { | .ooo-extlinks-grid { | ||
grid-template- | grid-template-rows: repeat(3, auto); | ||
} | } | ||
} | } | ||
| Line 1,511: | Line 1,513: | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
.ooo-extlinks-grid { | .ooo-extlinks-grid { | ||
grid-template- | grid-template-rows: repeat(2, auto); | ||
} | } | ||
} | } | ||