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


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "MediaWiki:Common.css"

From PCGamingWiki, the wiki about fixing PC games
Line 2: Line 2:
  
  
/* MPU ad height change */
+
/* MPU ad */
  
 
#mpu {
 
#mpu {
Line 39: Line 39:
  
  
/* Adjust header ad size */
+
/* Header */
  
 
@media (max-width: 1160px) {
 
@media (max-width: 1160px) {
.ad-header-container {max-height:90px; max-width:728px}
+
.ad-header-container {
 +
max-height: 90px;
 +
max-width: 728px;
 +
}
 
}
 
}
  
 
@media (max-width: 800px) {
 
@media (max-width: 800px) {
.ad-header-container {max-height:60px; max-width:468px}
+
.ad-header-container  
 +
{
 +
max-height: 60px;  
 +
max-width: 468px;
 +
}
 
}
 
}

Revision as of 11:55, 4 May 2017

/* CSS placed here will be applied to all skins */


/* MPU ad */

#mpu {
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}
}


/* Header */

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

@media (max-width: 800px) {
.ad-header-container 
{
max-height: 60px; 
max-width: 468px;
}
}