Difference between revisions of "MediaWiki:Common.css"

From Polyglot Club WIKI
Jump to navigation Jump to search
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* youtube embed responsive */
/* youtube embed responsive */
.video-container {
.mw-mobile-mode .video-container {
     position: relative;
     position: relative;
     padding-bottom: 56.25%;
     padding-bottom: 56.25%;
     padding-top: 30px; height: 0; overflow: hidden;
     padding-top: 30px; height: 0; overflow: hidden;
    max-width:600px;
}
}
   
   
.video-container iframe,
.mw-mobile-mode .video-container iframe,
.video-container object,
.mw-mobile-mode .video-container object,
.video-container embed {
.mw-mobile-mode .video-container embed {
     position: absolute;
     position: absolute;
     top: 0;
     top: 0;

Revision as of 10:04, 20 May 2016

/* CSS placed here will be applied to all skins */
/* youtube embed responsive */
.mw-mobile-mode .video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.mw-mobile-mode .video-container iframe,
.mw-mobile-mode .video-container object,
.mw-mobile-mode .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}