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 {width:99.6%;margin: 0 auto;overflow:hidden;position: relative;height: 250px;}
+
#div-home-img {position: relative; overflow: hidden;}
#div-home-img img {left: 100%; margin-left: -1920px; position:absolute;}
+
#div-home-img img {position: absolute; top: -9999px; bottom: -9999px; left: -9999px; right: -9999px; margin: auto;}

Revision as of 02:06, 28 August 2016

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