-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathios-devices.responsive.css
203 lines (132 loc) · 4.53 KB
/
ios-devices.responsive.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
/*
** RESPONSIVE STYLESHEET
** APPLE DEVICES SUPPORT
*/
/**********************************************************************/
/*
** ACTUAL IPHONES
*/
/* iPhone 6+ in landscape */
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px)
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio : 3) {
/* Your styles here */
}
/* iPhone 6+ in portrait */
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px)
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio : 3) {
/* Your styles here */
}
/* iPhone 6 in landscape */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio : 2) {
/* Your styles here */
}
/* iPhone 6 in portrait */
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio : 2) {
/* Your styles here */
}
/* iPhone 5 in portrait & landscape */
@media only screen and(min-width : 320px) and (max-width : 568px) {
/* Your styles here */
}
/* iPhone 5 in landscape */
@media only screen and (min-width : 320px) and (max-width : 568px) and (orientation : landscape) {
/* Your styles here */
}
/* iPhone 5 in portrait */
@media only screen and (min-width : 320px) and (max-width : 568px) and (orientation : portrait) {
/* Your styles here */
}
/************************************************************************/
/*
** OLD IPHONES
*/
/* iPhone 2G-4S in portrait & landscape */
@media only screen and (min-width : 320px) and (max-width : 480px) {
/* Your styles here */
}
/* iPhone 2G-4S in landscape */
@media only screen and (min-width : 320px) and (max-width : 480px) and (orientation : landscape) {
/* Your styles here */
}
/* iPhone 2G-4S in portrait */
@media only screen and (min-width : 320px) and (max-width : 480px) and (orientation : portrait) {
/* Your styles here */
}
/***************************************************************************/
/*
** IPAD MINI
*/
/* iPad mini in portrait & landscape */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (-webkit-min-pixel-ratio: 1) {
/* Your styles here */
}
/* iPad mini in landscape */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) and (-webkit-min-pixel-ratio: 1) {
/* Your styles here */
}
/* iPad mini in portrait */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) and (-webkit-min-pixel-ratio: 1) {
/* Your styles here */
}
/***************************************************************************/
/*
** IPAD 3 & 4
*/
/* Retina iPad in portrait & landscape */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (-webkit-min-pixel-ratio: 2) {
/* Your styles here */
}
/* Retina iPad in landscape */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) and (-webkit-min-pixel-ratio: 2) {
/* Your styles here */
}
/* Retina iPad in portrait */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) and (-webkit-min-pixel-ratio: 2) {
/* Your styles here */
}
/***************************************************************************/
/*
** IPAD 1 & 2
*/
/* iPad 1 & 2 in portrait & landscape */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (-webkit-min-pixel-ratio: 1){
/* Your styles here */
}
/* iPad 1 & 2 in landscape */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) and (-webkit-min-pixel-ratio: 1) {
/* Your styles here */
}
/* iPad 1 & 2 in portrait */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) and (-webkit-min-pixel-ratio: 1) {
/* Your styles here */
}
/***************************************************************************/
/*
** IPAD
*/
/* iPad in portrait & landscape */
@media only screen and (min-width : 768px) and (max-width : 1024px) {
/* Your styles here */
}
/* iPad in landscape */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) {
/* Your styles here */
}
/* iPad in portrait */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) {
/* Your styles here */
}