Difference between revisions of "MediaWiki:Common.css"
SaulAlbert (talk | contribs) (Created page with "→CSS placed here will be applied to all skins: .fluidMedia { position: relative; padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625...") |
SaulAlbert (talk | contribs) |
||
Line 3: | Line 3: | ||
.fluidMedia { | .fluidMedia { | ||
position: relative; | position: relative; | ||
− | padding-bottom: | + | padding-bottom: 16.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */ |
padding-top: 30px; | padding-top: 30px; | ||
height: 0; | height: 0; |
Revision as of 04:03, 10 July 2014
/* CSS placed here will be applied to all skins */
.fluidMedia {
position: relative;
padding-bottom: 16.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
padding-top: 30px;
height: 0;
overflow: hidden;
}
.fluidMedia iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}