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

  &::-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
12
13
}

14
.page {
alain's avatar
alain committed
15
16
17
  display: flex;
  flex-direction: column;
  min-height: 100vh;
alain's avatar
alain committed
18
19
  max-width: 100vw;
  overflow-x: hidden;
alain's avatar
alain committed
20
21
}

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

  path {
    stroke-width: 0.8;
  }
}

alain's avatar
alain committed
36
37
38
main {
  flex: 1 0 auto;
  width: 100%;
alain's avatar
alain committed
39
  
alain's avatar
alain committed
40
  margin: 3rem auto;
41
  padding-top: 5rem;
alain's avatar
alain committed
42
43
44
45

  @media (max-width: 480px) {
    padding-top: 3rem;
  }
alain's avatar
alain committed
46
47
48
49
}

footer {
  flex-shrink: 0;
alain's avatar
alain committed
50
51
52
}

section {
alain's avatar
alain committed
53
  min-height: 80vh;
alain's avatar
alain committed
54
55
56
57
58
  margin-bottom: 4rem;
}

.row {
  display: flex;
alain's avatar
alain committed
59
60
61
  flex-direction: row;
  margin: 0 auto;
  max-width: 1120px;
alain's avatar
alain committed
62
  //align-items: flex-start;
alain's avatar
alain committed
63
64
65
66
67
68
69
70
71

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

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

alain's avatar
alain committed
72
73
74
75
76
77
78
79
  // &.columns-3 .column {
  //   width: 40%;

  //   &:last-child {
  //     width: 20%
  //   }
  // }

alain's avatar
alain committed
80
81
  .column {
    padding: 0 1rem;
alain's avatar
alain committed
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
    max-width: 94vw;
  }

  @media (max-width: 480px) {
    flex-direction: column;
    align-items: center;

    &.s-column-reverse {
      flex-direction: column-reverse;
    }

    &.columns-2 .column {
      width: 100%;
      margin-bottom: 2rem;
    }
alain's avatar
alain committed
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
  }
}


.item {
  margin-bottom: 2rem;
}

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

  .item {
    width: 340px;
    margin: 0 1rem 2rem;
  }
alain's avatar
alain committed
113
114
115
116
117
118
119
120
121
122

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

    &:hover {
      transition: all 200ms ease;
      transform: translateY(2px);
    }
  }
123
124
125
126
127
128
}

.v-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
alain's avatar
alain committed
129
130
131
132
133
134
135
136
137
138
139
140
}

.s-disable {
  @media (max-width: 480px) {
    display: none;
  }
}

.l-disable {
  @media (min-width: 481px) {
    display: none;
  } 
alain's avatar
alain committed
141
}