1
|
// ====================================================================
|
2
|
// Media queries
|
3
|
// Responsive styles not for layout.
|
4
|
// ====================================================================
|
5
|
|
6
|
@include MQ(iphone-port) { // Max 320px.
|
7
|
|
8
|
#content,
|
9
|
#sidebar-first,
|
10
|
#sidebar-second {
|
11
|
img {
|
12
|
max-width: 100%; // Make sure all images fit within viewport
|
13
|
height: auto; // Correct width from max-width rule above.
|
14
|
}
|
15
|
}
|
16
|
|
17
|
#site-name a, #site-name a:link, #site-name a:visited {
|
18
|
margin: 0 0;
|
19
|
font-size: .85em;
|
20
|
font-weight: 800;
|
21
|
line-height: 1em;
|
22
|
}
|
23
|
#header h1 a, #header h1 a:link, #header h1 a:visited {
|
24
|
font-size: .85em;
|
25
|
font-weight: 800;
|
26
|
line-height: 1em;
|
27
|
text-decoration: none;
|
28
|
}
|
29
|
#site-slogan {
|
30
|
font-size: 12px;
|
31
|
}
|
32
|
}
|
33
|
|
34
|
|
35
|
@include MQ(iphone-land) { // 321px to 480px.
|
36
|
|
37
|
#content,
|
38
|
#sidebar-first,
|
39
|
#sidebar-second {
|
40
|
img {
|
41
|
max-width: 100%; // Make sure all images fit within viewport
|
42
|
height: auto; // Correct width from max-width rule above.
|
43
|
}
|
44
|
}
|
45
|
|
46
|
input.form-text {
|
47
|
width: 95%;
|
48
|
}
|
49
|
#site-name a, #site-name a:link, #site-name a:visited {
|
50
|
margin: 0 0;
|
51
|
font-size: 1.2em;
|
52
|
font-weight: 800;
|
53
|
line-height: 1em;
|
54
|
}
|
55
|
#header h1 a, #header h1 a:link, #header h1 a:visited {
|
56
|
font-size: .85em;
|
57
|
font-weight: 800;
|
58
|
line-height: 1em;
|
59
|
text-decoration: none;
|
60
|
}
|
61
|
#site-slogan {
|
62
|
font-size: 12px;
|
63
|
}
|
64
|
}
|
65
|
|
66
|
|
67
|
@include MQ(ipad-port) { // 481px to 768px.
|
68
|
|
69
|
#content,
|
70
|
#sidebar-first,
|
71
|
#sidebar-second {
|
72
|
img {
|
73
|
max-width: 100%; // Make sure all images fit within viewport
|
74
|
height: auto; // Correct width from max-width rule above.
|
75
|
}
|
76
|
}
|
77
|
|
78
|
input.form-text {
|
79
|
width: 75%;
|
80
|
}
|
81
|
|
82
|
#top-columns .column-block-wrapper {
|
83
|
width: 100% !important;
|
84
|
margin-top: 1em;
|
85
|
}
|
86
|
|
87
|
#top-columns .column-block-wrapper .column-block {
|
88
|
height: auto !important;
|
89
|
margin:0 !important;
|
90
|
}
|
91
|
|
92
|
#sidebar-first.sb-one,
|
93
|
#sidebar-second.sb-one {
|
94
|
margin: 0;
|
95
|
width: 50% !important;
|
96
|
img {
|
97
|
max-width: 100%; // Make sure all images fit within viewport
|
98
|
height: auto; // Correct width from max-width rule above.
|
99
|
}
|
100
|
}
|
101
|
|
102
|
#site-name a, #site-name a:link, #site-name a:visited {
|
103
|
margin: 0 0;
|
104
|
font-size: 1.8em;
|
105
|
font-weight: 800;
|
106
|
line-height: 1em;
|
107
|
}
|
108
|
#header h1 a, #header h1 a:link, #header h1 a:visited {
|
109
|
font-size: 1.3em;
|
110
|
font-weight: 800;
|
111
|
line-height: 1em;
|
112
|
text-decoration: none;
|
113
|
}
|
114
|
}
|
115
|
|
116
|
|
117
|
@include MQ(ipad-land) { // 769px to 1024px.
|
118
|
#content,
|
119
|
#sidebar-first,
|
120
|
#sidebar-second {
|
121
|
img {
|
122
|
max-width: 100%; // Make sure all images fit within viewport
|
123
|
height: auto; // Correct width from max-width rule above.
|
124
|
}
|
125
|
}
|
126
|
|
127
|
input.form-text {
|
128
|
width: 75%;
|
129
|
}
|
130
|
|
131
|
#top-columns .column-block-wrapper {
|
132
|
width: 100% !important;
|
133
|
margin-top: 1em;
|
134
|
}
|
135
|
|
136
|
#top-columns .column-block-wrapper .column-block {
|
137
|
height: auto !important;
|
138
|
margin:0 !important;
|
139
|
}
|
140
|
|
141
|
#sidebar-first.sb-one,
|
142
|
#sidebar-second.sb-one {
|
143
|
margin: 0;
|
144
|
width: 50% !important;
|
145
|
img {
|
146
|
max-width: 100%; // Make sure all images fit within viewport
|
147
|
height: auto; // Correct width from max-width rule above.
|
148
|
}
|
149
|
}
|
150
|
|
151
|
#site-name a, #site-name a:link, #site-name a:visited {
|
152
|
margin: 0 0;
|
153
|
font-size: 2.2em;
|
154
|
font-weight: 800;
|
155
|
line-height: 1em;
|
156
|
}
|
157
|
#header h1 a, #header h1 a:link, #header h1 a:visited {
|
158
|
font-size: 1.6em;
|
159
|
font-weight: 800;
|
160
|
line-height: 1em;
|
161
|
text-decoration: none;
|
162
|
}
|
163
|
}
|
164
|
|
165
|
/*@include MQ(standard-pc) {
|
166
|
} */
|