summaryrefslogtreecommitdiff
path: root/sass/layout/_footer.scss
blob: 0fa9cc428b5247ecc85fbb5fab217a33982b50b2 (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
51
52
53
54
55
56
57
58
59
@use "../abstracts" as *;

footer {
  background-color: $bg-text-container;
  // delete positioning to make grid footer from body work
  // position: absolute;
  // bottom: 0;
  // left: 0;
  width: 100vw;

  & * {
    margin: $margin-main;
  }

  dl {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2rem;

    & * {
      color: inherit;
      font-size: $medium-text;
      margin: 0.5rem;
      transition: transform 0.3s;
    }

    & dd i:hover {
      @include main-link-hover;
    }
  }

  p {
    text-align: center;
  }

  .big-icon {
    font-size: $big-text;
  }
}

// mobile
@media screen and (max-width: 520px) {
  footer {
    & * {
      margin: $margin-mobile;
    }

    dl {
      flex-direction: column;
      height: max-content;

      & * {
        font-size: $medium-text-mobile;
        margin: 0.3rem;
      }
    }
  }
}