Jump to content

MediaWiki:Common.css: Difference between revisions

Peoplesconcord (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit
Peoplesconcord (talk | contribs)
No edit summary
Tags: Mobile edit Mobile web edit
 
Line 1: Line 1:
<style>
<style>
/* Center headers like "Incumbent" */
.infobox .infobox-above {
    text-align: center !important;
}
/* Center table headers */
.infobox th {
.infobox th {
     text-align: center !important; /* centers all headers */
     text-align: center !important;
}
}
/* Keep table data left-aligned */
.infobox td {
.infobox td {
     text-align: left !important;   /* keeps data left-aligned */
     text-align: left !important;
}
.infobox .infobox-above {
    text-align: center !important;  /* for rows like “Incumbent” or top rows */
}
}
</style>
</style>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.