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-auto-flow: | grid-auto-flow: row; | ||
grid-template- | grid-template-columns: repeat(4, max-content); | ||
justify-content: | justify-content: start; | ||
justify-items: start; | justify-items: start; | ||
align-items: start; | |||
gap: 8px | column-gap: 10px; | ||
margin: 16px | row-gap: 8px; | ||
margin: 16px 0; | |||
} | } | ||
.ooo-extlinks-grid > * { | .ooo-extlinks-grid > *, | ||
.ooo-extlinks-grid p { | |||
margin: 0; | margin: 0; | ||
} | } | ||
| Line 1,509: | Line 1,511: | ||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
.ooo-extlinks-grid { | .ooo-extlinks-grid { | ||
grid-template- | grid-template-columns: repeat(3, max-content); | ||
} | } | ||
} | } | ||
| Line 1,516: | Line 1,518: | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
.ooo-extlinks-grid { | .ooo-extlinks-grid { | ||
grid-template- | grid-template-columns: repeat(2, max-content); | ||
} | } | ||
} | } | ||