1
0
mirror of https://github.com/kremalicious/Badged.git synced 2024-12-27 15:17:43 +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

@ -119,6 +119,19 @@
#badgedoptions .icon32 {
background-image: url(../img/icon-badged-32.png);
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;
}
}