aboutsummaryrefslogtreecommitdiff
path: root/frontend/scss/special.scss
blob: 050d8544342633a641a6ba20c998ca85579050de (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
header {
  max-width: var(--width-deco);
  height: var(--height-header);

  margin: 0 auto var(--margin-header) auto;
  padding-bottom: calc(var(--height-header) / 4);

  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;

  border-bottom: var(--color-light) 2px solid;

  & img {
    height: var(--height-header);
  }

  & nav {
    & > ul {
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      gap: 0.25rem 1rem;

      max-height: var(--height-header);

      list-style-type: none;
      margin: 0;

      & > li {
        margin-bottom: 0;
      }
    }

    & a {
      display: block;

      padding: 0 1rem 0 0;

      font-family: monospace;
    }
  }
  @media only screen and (max-width: 600px) {
    flex-direction: column;
    align-items: normal;

    height: auto;
    min-height: var(--height-header);

    padding-bottom: 1rem;

    & nav > ul {
      flex-direction: column;
      max-height: unset;
      gap: 0.5rem;
    }

    & img {
      height: 100%;
      width: max(33%, 128px);
      margin: 0 auto;
    }
  }
}

footer {
  max-width: var(--width-deco);
  height: var(--height-header);

  margin: var(--margin-header) auto 0 auto;
  padding: 2rem 0;

  border-top: var(--color-light) 2px solid;

  font-size: var(--font-size-tiny);
}