_layout.scss 1.38 KB
Newer Older
alain's avatar
alain committed
1
2
body {
  padding: 0;
3
4
5
6
7
8
9
10
  overflow-y: overlay;
  overflow-x: hidden;

  &::-webkit-scrollbar { width: 0.5rem; }
  &::-webkit-scrollbar-track { background-color: rgba(0,0,0,0.025); }
  &::-webkit-scrollbar-thumb { background:rgba(0,0,0,0.15); }
  &::-webkit-scrollbar-track:hover { background-color: rgba(0,0,0,0.05); }
  &::-webkit-scrollbar-thumb:hover { background:rgba(0,0,0,0.25); }
alain's avatar
alain committed
11
12
}

13
.page {
alain's avatar
alain committed
14
15
16
17
18
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

alain's avatar
alain committed
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#blob {
  position: absolute;
  z-index: -1;
  width: 75vw;
  min-width: 768px;
  top: 0;
  right: 0;
  transform: translate(35%, -25%);

  path {
    stroke-width: 0.8;
  }
}

alain's avatar
alain committed
33
34
35
main {
  flex: 1 0 auto;
  width: 100%;
alain's avatar
alain committed
36
  max-width: 1200px;
alain's avatar
alain committed
37
  margin: 3rem auto;
38
  padding-top: 5rem;
alain's avatar
alain committed
39
40
41
42
}

footer {
  flex-shrink: 0;
alain's avatar
alain committed
43
44
45
}

section {
alain's avatar
alain committed
46
  min-height: 80vh;
alain's avatar
alain committed
47
48
49
50
51
52
  margin-bottom: 4rem;
}

.row {
  display: flex;
  margin: 0 -1rem;
alain's avatar
alain committed
53
  //align-items: flex-start;
alain's avatar
alain committed
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80

  &.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
81
82
83
84
85
86
87
88
89
90

  a.item {
    text-decoration: none;
    color: #000;

    &:hover {
      transition: all 200ms ease;
      transform: translateY(2px);
    }
  }
91
92
93
94
95
96
}

.v-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
alain's avatar
alain committed
97
}