MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 505: | Line 505: | ||
-------------------------------------------------------------------------- | -------------------------------------------------------------------------- | ||
At 600-899px the homepage uses the available width as one broad content | At 600-899px the homepage uses the available width as one broad content | ||
column. | column. The icon grid auto-fits to the number of links present, so seven-item | ||
groups do not show an empty eighth slot while eight-item groups can still | |||
occupy a single compact row. | |||
========================================================================== */ | ========================================================================== */ | ||
@media screen and (min-width: 600px) and (max-width: 899px) { | @media screen and (min-width: 600px) and (max-width: 899px) { | ||
| Line 563: | Line 564: | ||
.skin-citizen .wizlords-mainpage-right > .center:has(> .wizlords-imagetext) { | .skin-citizen .wizlords-mainpage-right > .center:has(> .wizlords-imagetext) { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat( | grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); | ||
gap: 8px 6px; | gap: 8px 6px; | ||
justify-items: center; | justify-items: center; | ||