aboutsummaryrefslogtreecommitdiff
path: root/frontend/scss/home.scss
blob: ff25ef517f0cbb73dcc78230175f2b7c1bb6a41d (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
44
45
46
47
48
49
50
.introduction {
  margin: var(--margin-header) 0;
}

.sections {
  display: flex;
  flex-direction: column;
  gap: calc(1.5 * var(--margin-header));
}

section > article {
  display: flex;
  flex-direction: column;
  gap: var(--margin-base);
  margin-top: calc(2 * var(--margin-base));
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;

  & nav {
    display: inline-grid;
    grid-template-columns: 2fr 1fr 2fr;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: var(--margin-base);

    @media only screen and (max-width: 400px) {
      display: flex;
      flex-direction: column-reverse;
    }

    & > *:nth-child(1) {
      text-align: right;
    }
    & > *:nth-child(2) {
      text-align: center;
    }
    & > *:nth-child(3) {
      text-align: left;
    }

    & p {
      margin-bottom: 0;
    }
  }
}