MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 295: Line 295:
}
}


.video-responsive{
/* responsive video for youtube widget */
     overflow:hidden;
 
     padding-bottom:56.25%;
.video-responsive {
     position:relative;
     overflow: hidden;
     height:0;
     padding-bottom: 56.25%;
     position: relative;
     height: 0;
}
}
.video-responsive iframe{
 
     left:0;
.video-responsive iframe {
     top:0;
     left: 0;
     height:100%;
     top: 0;
     width:100%;
     height: 100%;
     position:absolute;
     width: 100%;
     position: absolute;
}
 
/* ericism */
.ericism-container {
    display: grid;
    grid-template-columns: 60% auto;
    margin-bottom: 1em;
}
 
.ericism {
    margin-right: 30px;
}
 
.ericism h2 {
    margin-top: unset;
}
 
.ericism-reference {
    margin-top: 2.3em;
    margin-bottom: auto;
}
 
.ericism-reference p {
    margin: unset;
}
}