-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathall.css
More file actions
106 lines (87 loc) · 2.34 KB
/
all.css
File metadata and controls
106 lines (87 loc) · 2.34 KB
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
body {
padding: 0 10px;
}
div {
margin: 10px 0;
padding: 5px;
border: 1px solid #ccc;
overflow: hidden;
}
div code {
float: right;
margin-top: 2px;
}
section {
margin: 60px 0;
}
footer {
text-align: right;
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
#test0 { background: #D5F2D5; border-color: #BBCCBB; }
}
/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
#test1 { background: #D5F2D5; border-color: #BBCCBB; }
}
/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
#test2 { background: #D5F2D5; border-color: #BBCCBB; }
}
/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
#test3 { background: #D5F2D5; border-color: #BBCCBB; }
}
/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {
#test4 { background: #D5F2D5; border-color: #BBCCBB; }
}
/* iPads (portrait) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : portrait) {
#test5 { background: #D5F2D5; border-color: #BBCCBB; }
}
/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
#test6 { background: #D5F2D5; border-color: #BBCCBB; }
}
/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
#test7 { background: #D5F2D5; border-color: #BBCCBB; }
}
/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
#test8 { background: #D5F2D5; border-color: #BBCCBB; }
}
@media only screen and (min-width: 768px) {
#test9 { background: #D5F2D5; border-color: #BBCCBB; }
}
@media only screen and (min-width: 1024px),
only screen and (min-device-height: 1024px) and (orientation: landscape) {
#test10 { background: #D5F2D5; border-color: #BBCCBB; }
}
@media only screen and (min-width: 320px) {
#test11 { background: #D5F2D5; border-color: #BBCCBB; }
}
@media only screen and (min-width: 480px) {
#test12 { background: #D5F2D5; border-color: #BBCCBB; }
}
@media only screen and (min-width: 1024px) {
#test13 { background: #D5F2D5; border-color: #BBCCBB; }
}