MediaWiki:Mobile.css: Difference between revisions
Content deleted Content added
Created page with "→All CSS here will be loaded for users of the mobile site: →Standard <youtube> (no lazy-load): .mw-parser-output iframe[data-extension="youtube"] { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; display: block; } →Lazy-load wrapper + its thumbnail image: .mw-parser-output .ext-YouTube-video { width: 100% !important; →override inline width="560px" etc.: height: auto !important; →override inline height: } .mw-par..." |
No edit summary Tag: Reverted |
||
Line 29:
}
}
.yt-thumb { max-width: 320px; margin:0.5em; }
.yt-thumb iframe,
.yt-thumb .ext-YouTube-video,
.yt-thumb img { width:100% !important; height:auto !important; aspect-ratio:16/9; display:block; }
| |||