MediaWiki:Monobook.css: Difference between revisions

MediaWiki interface page
(Scale #p-logo's a down. This is a hack to get retina images on retina devices and not completely mess up non-retina devices.)
 
(Don't set width/height, set background size in absolute px.)
Line 2: Line 2:
/* <pre><nowiki> */
/* <pre><nowiki> */
#p-logo a, #p-logo a:hover {
#p-logo a, #p-logo a:hover {
    width: 135px !important;
     background-size: 135px 135px !important;
    height: 135px !important;
     background-size: 100% !important;
}
}
/* </nowiki></pre> */
/* </nowiki></pre> */

Revision as of 22:05, 16 April 2013

/* CSS placed here will affect users of the MonoBook skin */
/* <pre><nowiki> */
#p-logo a, #p-logo a:hover {
    background-size: 135px 135px !important;
}
/* </nowiki></pre> */