1
|
// ====================================================================
|
2
|
// Mobile first layout.
|
3
|
// This is the layout for smalltouch_portrait which stacks all the columns
|
4
|
// at 100% width for each. Media queries cause this to be available to
|
5
|
// only the layouts that have width less than 321px.
|
6
|
// ====================================================================
|
7
|
#main-wrapper {
|
8
|
width: 100%;
|
9
|
position: relative;
|
10
|
}
|
11
|
|
12
|
#main {
|
13
|
width: 100%;
|
14
|
}
|
15
|
// Limits the stacking of top-column blocks to small screen touch.
|
16
|
@media only screen and (max-width:320px) {
|
17
|
#top-columns .column-block-wrapper,
|
18
|
#bottom-columns .column-block-wrapper,
|
19
|
#footer-columns .column-block-wrapper {
|
20
|
width: 100% !important;
|
21
|
margin-top: 1em;
|
22
|
}
|
23
|
|
24
|
#top-columns .column-block-wrapper .column-block,
|
25
|
#bottom-columns .column-block-wrapper .column-block,
|
26
|
#footer-columns .column-block-wrapper .column-block {
|
27
|
height: auto !important;
|
28
|
margin:0 !important;
|
29
|
}
|
30
|
}
|
31
|
#content,
|
32
|
#sidebar-first,
|
33
|
#sidebar-second, {
|
34
|
margin: 0;
|
35
|
width: 100%;
|
36
|
img {
|
37
|
max-width: 100%; // Make sure all images fit within viewport
|
38
|
height: auto; // Correct width from max-width rule above.
|
39
|
}
|
40
|
}
|
41
|
|
42
|
#sidebar-first .section,
|
43
|
#sidebar-second .section {
|
44
|
// margin:0 !important;
|
45
|
}
|
46
|
|