10,947
editsAd placeholder
MediaWiki:Mobile.css: Difference between revisions
Jump to navigation
Jump to search
no edit summary
(Add damage color classes.) |
No edit summary |
||
Line 87: | Line 87: | ||
* | * | ||
* The sizes with height 90px are only used if the screen is very tall. | * The sizes with height 90px are only used if the screen is very tall. | ||
* | |||
* We add another 2px to each height so there's some minimal padding. | |||
*/ | */ | ||
Line 96: | Line 98: | ||
@media screen and (min-width: 320px) and (min-height: 600px) { | @media screen and (min-width: 320px) and (min-height: 600px) { | ||
:root { | :root { | ||
--footer-ad-h: | --footer-ad-h: 52px; | ||
} | } | ||
} | } | ||
Line 102: | Line 104: | ||
@media screen and (min-width: 468px) and (min-height: 600px) { | @media screen and (min-width: 468px) and (min-height: 600px) { | ||
:root { | :root { | ||
--footer-ad-h: | --footer-ad-h: 62px; | ||
} | } | ||
} | } | ||
Line 108: | Line 110: | ||
@media screen and (min-width: 728px) and (min-height: 800px) { | @media screen and (min-width: 728px) and (min-height: 800px) { | ||
:root { | :root { | ||
--footer-ad-h: | --footer-ad-h: 92px; | ||
} | } | ||
} | } | ||
Line 192: | Line 194: | ||
#bg3wiki-footer-ad-ramp { | #bg3wiki-footer-ad-ramp { | ||
position: absolute; | position: absolute; | ||
top: | top: 1; | ||
left: 0; | left: 0; | ||
right: 0; | right: 0; | ||
bottom: | bottom: 1; | ||
align-content: center; | align-content: center; | ||
/* So the two divs (fuse & ramp) don't block each other. */ | /* So the two divs (fuse & ramp) don't block each other. */ |