MediaWiki:Common.css: Difference between revisions
Content deleted Content added
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 424:
}
.video-frame {
display: inline-block;
background: #f0f0f0; /* grey rectangle */
.yt-thumb iframe,▼
padding: 8px; /* space between video and frame */
.yt-thumb .ext-YouTube-video,▼
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 .ext-YouTube-video img {
width: 100% !important;
height: auto !important;
aspect-ratio: 16/9;
display: block;
}
| |||