Difference between revisions of "User:Aemony/common.css"
From PCGamingWiki, the wiki about fixing PC games
m (fixed editing guide items width) |
m (csss) |
||
Line 1: | Line 1: | ||
− | /* Fix paragraph non-spacing */ | + | /* Fix paragraph non-spacing everywhere */ |
p { | p { | ||
margin: 0.5em 0; | 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 { | div.subheader-button p { | ||
margin: 0; | margin: 0; | ||
Line 12: | Line 12: | ||
− | /* Center stuff - | + | /* Center stuff - Beautiful! */ |
#masthead { | #masthead { | ||
width: auto; | width: auto; | ||
Line 23: | Line 23: | ||
} | } | ||
− | /* Fixes the slightly off-putting ~70% width items. Let's | + | /* Fixes the slightly off-putting ~70% width items in the Editing Guide. Let's have two items per row! */ |
.editing-guide-list-item-wrapper { | .editing-guide-list-item-wrapper { | ||
max-width: 50%; | max-width: 50%; |
Revision as of 18:17, 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; }