MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus WikiSpeicher
Admin (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
.youtubeWrapper { | .youtubeWrapper { | ||
position:relative; | |||
display:block; | display:block; | ||
width: 100%; | width: 100%; | ||
height: 0; | height: 0; | ||
padding-bottom: | padding-bottom: 56.25%; | ||
} | |||
iframe { | |||
display:block; | |||
position: absolute; | |||
width: 100%; | |||
height: 100%; | |||
} | } | ||
Version vom 1. März 2022, 00:07 Uhr
.youtubeWrapper {
position:relative;
display:block;
width: 100%;
height: 0;
padding-bottom: 56.25%;
}
iframe {
display:block;
position: absolute;
width: 100%;
height: 100%;
}
@media screen and (min-width:851px) {
#mw-content-container {
background-color: white;
}
.mw-wiki-logo.fallback {
width: 100%;
height: 0;
padding-bottom: 100%;
background-size: 100%;
}
}