Révision 26a73e94 src/app.ios.scss
src/app.ios.scss | ||
---|---|---|
1 | 1 |
// Import common styles |
2 | 2 |
@import "app-common"; |
3 | 3 |
|
4 |
// Place any CSS rules you want to apply only on iOS here |
|
5 | 4 |
|
6 |
.ios1024 { |
|
7 |
font-size: 22; |
|
5 |
|
|
6 |
/* ----------- iPad 1, 2, Mini and Air ----------- */ |
|
7 |
|
|
8 |
/* Portrait and Landscape */ |
|
9 |
@media only screen |
|
10 |
and (min-device-width: 768px) |
|
11 |
and (max-device-width: 1024px) |
|
12 |
and (-webkit-min-device-pixel-ratio: 1) { |
|
13 |
|
|
14 |
} |
|
15 |
|
|
16 |
/* Portrait */ |
|
17 |
@media only screen |
|
18 |
and (min-device-width: 768px) |
|
19 |
and (max-device-width: 1024px) |
|
20 |
and (orientation: portrait) |
|
21 |
and (-webkit-min-device-pixel-ratio: 1) { |
|
22 |
|
|
23 |
} |
|
24 |
|
|
25 |
/* Landscape */ |
|
26 |
@media only screen |
|
27 |
and (min-device-width: 768px) |
|
28 |
and (max-device-width: 1024px) |
|
29 |
and (orientation: landscape) |
|
30 |
and (-webkit-min-device-pixel-ratio: 1) { |
|
31 |
|
|
32 |
} |
|
33 |
|
|
34 |
/* ----------- iPad 3, 4 and Pro 9.7" ----------- */ |
|
35 |
|
|
36 |
/* Portrait and Landscape */ |
|
37 |
@media only screen |
|
38 |
and (min-device-width: 768px) |
|
39 |
and (max-device-width: 1024px) |
|
40 |
and (-webkit-min-device-pixel-ratio: 2) { |
|
41 |
|
|
42 |
} |
|
43 |
|
|
44 |
/* Portrait */ |
|
45 |
@media only screen |
|
46 |
and (min-device-width: 768px) |
|
47 |
and (max-device-width: 1024px) |
|
48 |
and (orientation: portrait) |
|
49 |
and (-webkit-min-device-pixel-ratio: 2) { |
|
50 |
|
|
51 |
} |
|
52 |
|
|
53 |
/* Landscape */ |
|
54 |
@media only screen |
|
55 |
and (min-device-width: 768px) |
|
56 |
and (max-device-width: 1024px) |
|
57 |
and (orientation: landscape) |
|
58 |
and (-webkit-min-device-pixel-ratio: 2) { |
|
59 |
|
|
8 | 60 |
} |
9 |
.ios414 { |
|
10 |
font-size: 16; |
|
61 |
|
|
62 |
/* ----------- iPad Pro 10.5" ----------- */ |
|
63 |
|
|
64 |
/* Portrait and Landscape */ |
|
65 |
@media only screen |
|
66 |
and (min-device-width: 834px) |
|
67 |
and (max-device-width: 1112px) |
|
68 |
and (-webkit-min-device-pixel-ratio: 2) { |
|
69 |
|
|
11 | 70 |
} |
12 |
.ios { |
|
13 |
font-size: 12; |
|
71 |
|
|
72 |
/* Portrait */ |
|
73 |
/* Declare the same value for min- and max-width to avoid colliding with desktops */ |
|
74 |
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/ |
|
75 |
@media only screen |
|
76 |
and (min-device-width: 834px) |
|
77 |
and (max-device-width: 834px) |
|
78 |
and (orientation: portrait) |
|
79 |
and (-webkit-min-device-pixel-ratio: 2) { |
|
80 |
|
|
14 | 81 |
} |
15 |
.android380 { |
|
16 |
font-size: 10; |
|
82 |
|
|
83 |
/* Landscape */ |
|
84 |
/* Declare the same value for min- and max-width to avoid colliding with desktops */ |
|
85 |
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/ |
|
86 |
@media only screen |
|
87 |
and (min-device-width: 1112px) |
|
88 |
and (max-device-width: 1112px) |
|
89 |
and (orientation: landscape) |
|
90 |
and (-webkit-min-device-pixel-ratio: 2) { |
|
91 |
|
|
17 | 92 |
} |
18 | 93 |
|
19 |
.landscape.ios1024 { |
|
20 |
font-size: 20; |
|
94 |
/* ----------- iPad Pro 12.9" ----------- */ |
|
95 |
|
|
96 |
/* Portrait and Landscape */ |
|
97 |
@media only screen |
|
98 |
and (min-device-width: 1024px) |
|
99 |
and (max-device-width: 1366px) |
|
100 |
and (-webkit-min-device-pixel-ratio: 2) { |
|
101 |
|
|
102 |
} |
|
103 |
|
|
104 |
/* Portrait */ |
|
105 |
/* Declare the same value for min- and max-width to avoid colliding with desktops */ |
|
106 |
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/ |
|
107 |
@media only screen |
|
108 |
and (min-device-width: 1024px) |
|
109 |
and (max-device-width: 1024px) |
|
110 |
and (orientation: portrait) |
|
111 |
and (-webkit-min-device-pixel-ratio: 2) { |
|
112 |
|
|
21 | 113 |
} |
22 |
.ios1024 { |
|
23 |
font-size: 22; |
|
114 |
|
|
115 |
/* Landscape */ |
|
116 |
/* Declare the same value for min- and max-width to avoid colliding with desktops */ |
|
117 |
/* Source: https://medium.com/connect-the-dots/css-media-queries-for-ipad-pro-8cad10e17106*/ |
|
118 |
@media only screen |
|
119 |
and (min-device-width: 1366px) |
|
120 |
and (max-device-width: 1366px) |
|
121 |
and (orientation: landscape) |
|
122 |
and (-webkit-min-device-pixel-ratio: 2) { |
|
123 |
|
|
24 | 124 |
} |
125 |
|
Formats disponibles : Unified diff