MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 281: | Line 281: | ||
margin: 0 0 8px; | margin: 0 0 8px; | ||
text-align: center; | text-align: center; | ||
} | |||
/* MediaWiki sometimes wraps the first block-style icon link in a paragraph. | |||
Flatten only those icon wrappers so every icon participates in the same | |||
homepage grid/flex row. Plain text paragraphs keep their normal layout. */ | |||
.skin-citizen | |||
:is(.wizlords-mainpage-left, .wizlords-mainpage-right) | |||
> .center | |||
> p:has(> .wizlords-imagetext) { | |||
display: contents; | |||
} | } | ||