blob: 1acbecc30288feac5ad835a2469c560b16436017 (
plain)
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
|
// Set up default container
.container {
display: block;
width: 100%;
margin-left: auto;
margin-right: auto;
margin-top: 0;
margin-bottom: 0;
}
// If we have a decent size screen, we can split columns if we want to
@media only screen and (min-width: 768px) {
.split {
@include clearfix;
.left, .right {
width: 50%;
margin: 0;
padding: 0;
}
.left {
float: left;
}
.right {
float: right;
}
}
}
// Set a layout breakpoint at 768px for tablets
@media only screen and (min-width: 768px) and (max-width: 899px) {
.container {
width: 768px;
}
}
// Set a layout breakpoint at 900px for desktops
@media only screen and (min-width: 900px) {
.container {
width: 900px;
}
}
|