MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 6: | Line 6: | ||
} | } | ||
/* 176 | /* 176 | ||
/* Center the main title at the top of the Portable Infobox */ | |||
.portable-infobox .pi-title { | |||
text-align: center; | |||
justify-content: center; /* Ensures flexbox layouts center properly */ | |||
} | |||
/* Center all section group headers inside the Portable Infobox */ | |||
.portable-infobox .pi-header { | |||
text-align: center; | |||
justify-content: center; | |||
} | |||
Revision as of 14:44, 15 June 2026
/* CSS placed here will be applied to all skins */
/* Adjust the main content so it doesn't overlap with the new sidebar */
#content {
margin-right: 16px; /* Must be wider than #right-sidebar */
}
/* 176
/* Center the main title at the top of the Portable Infobox */
.portable-infobox .pi-title {
text-align: center;
justify-content: center; /* Ensures flexbox layouts center properly */
}
/* Center all section group headers inside the Portable Infobox */
.portable-infobox .pi-header {
text-align: center;
justify-content: center;
}