Difference between revisions of "User:Aemony/common.css"
From PCGamingWiki, the wiki about fixing PC games
m (csss) |
m (tables) |
||
Line 34: | Line 34: | ||
.page-Home #main-content div#body-content div#catlinks { | .page-Home #main-content div#body-content div#catlinks { | ||
margin-left: 0; | margin-left: 0; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /* Down with centered tables!!! */ | ||
+ | table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { | ||
+ | text-align: inherit; | ||
+ | } | ||
+ | |||
+ | table.wikitable { | ||
+ | text-align: center; | ||
} | } |
Revision as of 18:23, 19 February 2018
/* Fix paragraph non-spacing everywhere */ p { margin: 0.5em 0; } /* ^- The above breaks margin on the P for the 'Editing guide', 'Support us on Patreon', 'What is PCGamingWiki?' buttons on the front page, so let's fix that */ div.subheader-button p { margin: 0; } /* Center stuff - Beautiful! */ #masthead { width: auto; max-width: 1600px; } body { justify-content: center; width: 100%; } /* Fixes the slightly off-putting ~70% width items in the Editing Guide. Let's have two items per row! */ .editing-guide-list-item-wrapper { max-width: 50%; } /* Corrects hidden category on front page being offset -25px due to the padding on articles for #main-content being overwritten due to rule on .page-Home #main-content */ .page-Home #main-content div#body-content div#catlinks { margin-left: 0; } /* Down with centered tables!!! */ table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { text-align: inherit; } table.wikitable { text-align: center; }