Difference between revisions of "MediaWiki:Common.css"

From Neurosigns
Jump to: navigation, search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
#div-home-img {position: relative; overflow: hidden; height: 250px;}
+
#div-home-img {display:block; position: relative; overflow: hidden; height: 250px;}
 
#div-home-img img {position: absolute; top: -9999px; bottom: -9999px; left: -9999px; right: -9999px; margin: auto;}
 
#div-home-img img {position: absolute; top: -9999px; bottom: -9999px; left: -9999px; right: -9999px; margin: auto;}
 
@media only screen and (max-width: 800px) {
 
    #div-home-img { display:none; }
 
}
 

Revision as of 03:00, 28 August 2016

/* CSS placed here will be applied to all skins */
#div-home-img {display:block; position: relative; overflow: hidden; height: 250px;}
#div-home-img img {position: absolute; top: -9999px; bottom: -9999px; left: -9999px; right: -9999px; margin: auto;}