Difference between revisions of "MediaWiki:Common.css"
From Neurosigns
Line 2: | Line 2: | ||
#div-home-img {position: relative; overflow: hidden; height: 250px;} | #div-home-img {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;} | ||
+ | |||
+ | body.touch-events .div-home-img { display:none; } |
Revision as of 02:46, 28 August 2016
/* CSS placed here will be applied to all skins */ #div-home-img {position: relative; overflow: hidden; height: 250px;} #div-home-img img {position: absolute; top: -9999px; bottom: -9999px; left: -9999px; right: -9999px; margin: auto;} body.touch-events .div-home-img { display:none; }