MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
.welcome-table th, .welcome-table td { | .welcome-table th, .welcome-table td { | ||
padding: 8px; | padding: 8px; | ||
vertical-align: top; | vertical-align: top; /* Default for text cells */ | ||
} | } | ||
.welcome-table th { | .welcome-table th { | ||
text-align: center; | text-align: center; | ||
} | |||
.welcome-table td[rowspan] { | |||
vertical-align: middle; /* Vertically center the image cell */ | |||
} | } | ||
| Line 34: | Line 38: | ||
display: block !important; | display: block !important; | ||
width: 100% !important; | width: 100% !important; | ||
vertical-align: top; /* Reset to top on mobile for stacking */ | |||
} | } | ||
.welcome-table td[rowspan] img { | .welcome-table td[rowspan] img { | ||