Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| − | .cell | + | table.wikitable .contained-cell { |
| − | + | max-height: 1000px; /* Adjust this value to your desired maximum height */ | |
| − | + | overflow: hidden; | |
| + | position: relative; | ||
| + | } | ||
| + | |||
| + | .centered-img { | ||
| + | display: block; | ||
| + | margin-left: auto; | ||
| + | margin-right: auto; | ||
} | } | ||
Latest revision as of 15:17, 18 May 2023
/* CSS placed here will be applied to all skins */
table.wikitable .contained-cell {
max-height: 1000px; /* Adjust this value to your desired maximum height */
overflow: hidden;
position: relative;
}
.centered-img {
display: block;
margin-left: auto;
margin-right: auto;
}