MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 423:
margin: 0 auto; /* center when narrower than the content column */
}
 
.video-frame {
display: inline-block;
background: #f0f0f0; /* grey rectangle */
padding: 8px; /* space between video and frame */
border: 1px solid #ccc; /* optional border */
border-radius: 6px; /* optional rounded corners */
max-width: 720px; /* cap width on big screens */
margin: 1em auto; /* center with margin */
}
 
.video-frame iframe,
.video-frame .ext-YouTube-video,
.video-frame .ext-YouTube-video img {
width: 100% !important;
height: auto !important;
aspect-ratio: 16/9;
display: block;
}
 
 
 
/*