Ad placeholder

MediaWiki:Mobile.css: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 54: Line 54:


@media screen and (min-height: 720px) {
@media screen and (min-height: 720px) {
/* The container for the ad, added via a hook in LocalSettings */
.mw-ads-enabled #bg3wiki-footer-ad {
.mw-ads-enabled #bg3wiki-footer-ad {
display: block;
display: block;
Line 63: Line 64:
z-index: 999;
z-index: 999;
align-content: center;
align-content: center;
/* Must set max-height for Fuse JS (ad provider's JS) */
max-height: 50px;
}
}
/* Placeholder text */
#bg3wiki-footer-ad p {
#bg3wiki-footer-ad p {
text-align: center;
text-align: center;
Line 72: Line 72:
font-style: italic;
font-style: italic;
color: var(--color-subtle);
color: var(--color-subtle);
}
/* The actual insertion point for the ad */
#bg3wiki-footer-ad-fuse {
/* Must set this for Fuse (ad provider) */
max-height: 50px;
}
}

Navigation menu