1
0
mirror of https://github.com/kremalicious/Badged.git synced 2024-11-26 11:49:03 +01:00

high dpi media query for option page icon

This commit is contained in:
Matthias Kretschmann 2012-05-31 22:41:16 +02:00
parent a38485723b
commit b6eaccfb70

View File

@ -121,6 +121,19 @@
background-repeat: no-repeat; background-repeat: no-repeat;
} }
@media
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and ( min--moz-device-pixel-ratio: 1.5),
only screen and ( -o-min-device-pixel-ratio: 3/2),
only screen and ( min-device-pixel-ratio: 1.5) {
#badgedoptions .icon32 {
background-image: url(../img/icon-badged-32@2x.png) !important;
-webkit-background-size: 32px 32px;
-moz-background-size: 32px 32px;
background-size: 32px 32px;
}
}
/* ============================================================== */ /* ============================================================== */
/* IE 8 Only Styles */ /* IE 8 Only Styles */