Difference between revisions of "MediaWiki:Common.css"
From PCGamingWiki, the wiki about fixing PC games
(Tweak to bullet points to make them inline) |
(added infobox-wsgf) |
||
Line 79: | Line 79: | ||
margin: 5px auto 5px auto; | margin: 5px auto 5px auto; | ||
} | } | ||
+ | } | ||
+ | |||
+ | /* Infobox game */ | ||
+ | |||
+ | .infobox-wsgf { | ||
+ | background-image: url(//pcgamingwiki.com/images/e/ec/WSGF_Icon.png) | ||
} | } |
Revision as of 12:17, 9 July 2017
/* CSS placed here will be applied to all skins */ /* Bullet points */ .mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul { margin: 0.3em 0 0 4.6em; } /* 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: none!important; max-width: none!important; } } @media (max-width: 800px) { .ad-header-container { max-height: none!important; max-width: none!important; margin: 5px auto 0 auto; } #main-content { margin: 5px 10px; } } /* Footer */ @media (max-width: 800px) { .ad-footer-container { max-height: none!important; max-width: none!important; margin: 5px auto 5px auto; } } /* Infobox game */ .infobox-wsgf { background-image: url(//pcgamingwiki.com/images/e/ec/WSGF_Icon.png) }