_layout.scss 635 Bytes
Newer Older
alain's avatar
alain committed
1
2
3
4
5
body {
  padding: 0;
  overflow-y: scroll;
}

alain's avatar
alain committed
6
7
8
9
10
11
12
13
14
#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  width: 100%;
alain's avatar
alain committed
15
  max-width: 1200px;
alain's avatar
alain committed
16
17
18
19
20
  margin: 3rem auto;
}

footer {
  flex-shrink: 0;
alain's avatar
alain committed
21
22
23
}

section {
alain's avatar
alain committed
24
  min-height: 80vh;
alain's avatar
alain committed
25
26
27
28
29
30
  margin-bottom: 4rem;
}

.row {
  display: flex;
  margin: 0 -1rem;
alain's avatar
alain committed
31
  //align-items: flex-start;
alain's avatar
alain committed
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

  &.columns-1 .column {
    width: 100%;
  }

  &.columns-2 .column {
    width: 50%;
  }

  .column {
    padding: 0 1rem;
  }
}


.item {
  margin-bottom: 2rem;
}

.items {
  display: flex;
  flex-wrap: wrap;

  .item {
    width: 340px;
    margin: 0 1rem 2rem;
  }
alain's avatar
alain committed
59
}