aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/src/scss/layout/_footer.scss
blob: 7dce0dc6925aca835bd0b0ab83fca3f82fee6748 (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
@use "../abstracts/functions" as fun;
@use "../abstracts/mixins" as mix;

.footer {
  align-items: center;
  background: fun.get-var(color-bg-secondary);
  border-top: fun.convert-px(1) solid fun.get-var(color-border-light);
  display: flex;
  flex-flow: row wrap;
  font-family: fun.get-var(font-family-secondary);
  font-size: fun.get-var(font-size-md);
  gap: fun.get-var(spacing-3xs);
  justify-content: center;
  padding: fun.get-var(spacing-sm) fun.get-var(spacing-md)
    calc(#{fun.get-var(toolbar-height)} + #{fun.get-var(spacing-sm)});

  @include mix.media("screen") {
    @include mix.dimensions("lg") {
      box-shadow: 0 -1px 2px 0 fun.get-var(color-shadow);
      padding: fun.get-var(spacing-sm) fun.get-var(spacing-md);
    }
  }

  .nav {
    display: inline-flex;
    gap: fun.get-var(spacing-3xs);

    &::after {
      content: "/";
    }
  }
}

.copyright {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: fun.get-var(spacing-3xs);
  justify-content: center;
}