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. The | column, while icon groups stay as compact centred rows. The grid columns are | ||
fixed-width, not fractional, so seven icons do not stretch across the whole | |||
section and eight icons can still fit on one row where space allows. | |||
========================================================================== */ | ========================================================================== */ | ||
@media screen and (min-width: 600px) and (max-width: 899px) { | @media screen and (min-width: 600px) and (max-width: 899px) { | ||
| Line 564: | 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(auto-fit, | grid-template-columns: repeat(auto-fit, 78px); | ||
gap: | gap: 10px 14px; | ||
justify-content: center; | |||
justify-items: center; | justify-items: center; | ||
align-items: start; | |||
} | } | ||
| Line 572: | Line 574: | ||
.skin-citizen .wizlords-mainpage-right > .center:has(> .wizlords-imagetext) > p { | .skin-citizen .wizlords-mainpage-right > .center:has(> .wizlords-imagetext) > p { | ||
grid-column: 1 / -1; | grid-column: 1 / -1; | ||
width: 100%; | |||
margin-bottom: 4px; | margin-bottom: 4px; | ||
} | } | ||
.skin-citizen .wizlords-imagetext { | .skin-citizen .wizlords-imagetext { | ||
width: | width: 78px; | ||
max-width: | max-width: none; | ||
} | } | ||