summaryrefslogtreecommitdiff
path: root/assets/css/utils/_utility.scss
blob: 7b7c53c3764c6b439c60591de989df46481b6bf4 (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
/* container that extends the page width */
.outbox {
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 10;
  position: relative;

  @media screen and (min-width: 768px) {
    width: calc(var(--page-width) + 10rem);
    margin: 0 -5rem;
  }

  @media screen and (min-width: 1200px) {
    width: calc(var(--page-width) + 20rem);
    margin: 0 -10rem;
  }

  &.small {
    @media screen and (min-width: 768px) {
      width: calc(var(--page-width) + 4rem);
      margin: 0 -2rem;
    }

    @media screen and (min-width: 1200px) {
      width: calc(var(--page-width) + 10rem);
      margin: 0 -5rem;
    }
  }
}

/* filter that gives element a printed look */
.xerox {
    filter: url(#x);
}