Difference between revisions of "MediaWiki:Common.css"

Line 2: Line 2:
 
body
 
body
 
{
 
{
 +
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
 +
  #p-logo a {
 +
                background-image: url('http://1.s3.envato.com/files/69503076/590x300_C5_00342.jpg');
 +
                background-size: 135px auto;
 +
        }
 +
 +
}
 
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
 
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
 
         #p-logo a {
 
         #p-logo a {

Revision as of 00:19, 8 June 2014

/* CSS placed here will be applied to all skins */
body
{
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  #p-logo a {
                background-image: url('http://1.s3.envato.com/files/69503076/590x300_C5_00342.jpg');
                background-size: 135px auto;
        }

}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
        #p-logo a {
                background-image: url('http://1.s3.envato.com/files/69503076/590x300_C5_00342.jpg');
                background-size: 135px auto;
        }
}

}