MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* Ensure all | /* Ensure all wikitables are centered */ | ||
.wikitable { | |||
margin-left: auto !important; | margin-left: auto !important; | ||
margin-right: auto !important; | margin-right: auto !important; | ||
width: 600px !important; /* Specify the width as needed */ | |||
} | } | ||
/* | /* Just in case there are specific classes applied */ | ||
.wikitable { | table.wikitable { | ||
margin-left: auto !important; | margin-left: auto !important; | ||
margin-right: auto !important; | margin-right: auto !important; | ||
} | |||
/* Optional: Center-align the text within the table */ | |||
.wikitable td, .wikitable th { | |||
text-align: center !important; | |||
} | } | ||
Revision as of 16:30, 27 October 2024
/* Ensure all wikitables are centered */
.wikitable {
margin-left: auto !important;
margin-right: auto !important;
width: 600px !important; /* Specify the width as needed */
}
/* Just in case there are specific classes applied */
table.wikitable {
margin-left: auto !important;
margin-right: auto !important;
}
/* Optional: Center-align the text within the table */
.wikitable td, .wikitable th {
text-align: center !important;
}