-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
69 lines (57 loc) · 1.11 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
body {
padding-bottom: 100px;
}
img {
display: block;
margin-bottom: 5px;
}
.compare img {
display: inline-block;
}
.src-container img {
width: 400px;
height: 40px;
}
[class*='banner'] {
width: 400px;
height: 40px;
margin-bottom: 5px;
}
.standard-banner {
background: url(images/banner_1x.png) no-repeat 0 0;
background-size: 100%;
}
.hidpi-banner {
background: url(images/banner_2x.png) no-repeat 0 0;
background-size: 100%;
}
.dppx-banner {
background: url(images/banner_2dppx.png) no-repeat 0 0;
background-size: 100%;
}
.image-set {
background: -webkit-image-set( url(images/banner_1x.png) 1x, url(images/banner_2x.png) 2x);
width: 400px;
height: 40px;
}
.image-query {
background: url(images/banner_1x.png) no-repeat 0 0;
width: 400px;
height: 40px;
}
@media screen and (min-resolution: 2dppx), (-webkit-min-device-pixel-ratio: 1.3) {
.image-query {
background: url(images/banner_2x.png);
background-size: 100%;
}
}
.css-px-inch {
width: 96px;
height: 96px;
background-color: orange;
}
.css-inch {
width: 1in;
height: 1in;
background-color: green;
}