Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

MediaWiki:Common.css

From PCGamingWiki, the wiki about fixing PC games
Revision as of 16:42, 7 May 2017 by Andytizer (talk | contribs)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */


/* MPU ad */

#mpu {
width: 300px;
height: auto; 
max-height: 600px;
}

@media (max-width: 1000px) and (min-width: 800px) {
.page-Home .mw-body.mw-body-with-ads #mpu {
top: 380px;
}
}

@media (max-width: 800px) and (min-width: 400px) {
.page-Home .mw-body.mw-body-with-ads #mpu {
top: 430px;
}
}

@media (max-width: 500px) {
.page-Home .mw-body.mw-body-with-ads #mpu {
left: calc(50% - 150px);
}
}

/* Home */

.page-Home .mw-body.mw-body-with-ads .home-information-column:nth-of-type(2) 
{
padding-top: 660px;
}

@media (max-width: 1000px) {
.page-Home .mw-body.mw-body-with-ads .home-information-column:first-of-type {
padding-top: 640px;
}
.page-Home .home-information-column:nth-of-type(2) {
padding-top:0!important;
}
}


/* Header */

@media (max-width: 1160px) {
.ad-header-container {
max-height: 90px!important;
max-width: 728px!important;
}
}

@media (max-width: 800px) {
.ad-header-container 
{
max-height: 60px!important; 
max-width: 468px!important;
margin: 5px auto 0 auto;
}
#main-content {
margin: 5px 10px;
}
}

/* Footer */

@media (max-width: 800px) {
.ad-footer-container {
    max-height: 60px!important;
    max-width: 468px!important;
    margin: 2px auto 0 auto;
}
}