MediaWiki:Mobile.css: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 5: | Line 5: | ||
} | } | ||
/* Make iframes | /* Make extension iframes mobile-friendly */ | ||
iframe { | iframe { | ||
width: 100% !important; | |||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
border: none; | border: none; | ||
} | } | ||
/* | /* Prevent MobileFrontend from removing iframe container */ | ||
.no-remove iframe { | .no-remove iframe { | ||
display: block; | display: block; | ||
height: 500px; /* Adjust height to suit your content */ | |||
} | } | ||
Revision as of 12:41, 23 July 2025
/* All CSS here will be loaded for users of the mobile site */
* {
font-family: Poppins, Arial, sans-serif;
}
/* Make extension iframes mobile-friendly */
iframe {
width: 100% !important;
max-width: 100%;
height: auto;
border: none;
}
/* Prevent MobileFrontend from removing iframe container */
.no-remove iframe {
display: block;
height: 500px; /* Adjust height to suit your content */
}