summaryrefslogtreecommitdiff
path: root/_sass/_respond.scss
blob: 863767a80245c39e91c89d9ecbf8160152ce6608 (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
// Set up default container
.container {
  display: block;
  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: 799px) {
  .container {
    width: 768px;
  }
}

// Set a layout breakpoint at 900px for desktops
@media only screen and (min-width: 800px) {
  .container {
    width: 800px;
  }
}