footer.less 1.62 KB
Newer Older
1
2
@import './colors.less';

Sandro Lutz's avatar
Sandro Lutz committed
3
footer {
4
  background-color: @color-dark-blue;
lic's avatar
lic committed
5
  color: @color-grey;
Sandro Lutz's avatar
Sandro Lutz committed
6

Sandro Lutz's avatar
Sandro Lutz committed
7
8
9
10
11
12
13
  > div {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 0 1em;
    margin: 0 auto;

    @media @wide, @desktop {
lic's avatar
lic committed
14
15
      grid-template-columns: 1fr auto 1fr;
      grid-template-areas: 'social-media-logos copyright institution-logos';
Sandro Lutz's avatar
Sandro Lutz committed
16
      max-width: @dimension-max-content-width;
Sandro Lutz's avatar
Sandro Lutz committed
17
18
    }

Sandro Lutz's avatar
Sandro Lutz committed
19
    @media @tablet {
lic's avatar
lic committed
20
21
      grid-template-columns: 1fr auto 1fr;
      grid-template-areas: 'social-media-logos copyright institution-logos';
Sandro Lutz's avatar
Sandro Lutz committed
22
23
24
25
      font-size: .7em;
    }

    @media @mobile {
lic's avatar
lic committed
26
      grid-template-columns: 1fr;
Sandro Lutz's avatar
Sandro Lutz committed
27
      grid-template-areas:
lic's avatar
lic committed
28
29
30
        'copyright'
        'social-media-logos'
        'institution-logos';
Sandro Lutz's avatar
Sandro Lutz committed
31
    }
Sandro Lutz's avatar
Sandro Lutz committed
32
  }
Sandro Lutz's avatar
Sandro Lutz committed
33
34
35
36
37
}

footer div.copyright {
  display: flex;
  align-items: center;
lic's avatar
lic committed
38
  justify-content: center;
Sandro Lutz's avatar
Sandro Lutz committed
39
40
  grid-area: copyright;
  padding: 2.5em 0;
lic's avatar
lic committed
41

Sandro Lutz's avatar
Sandro Lutz committed
42
  @media @mobile {
lic's avatar
lic committed
43
    justify-content: center;
Sandro Lutz's avatar
Sandro Lutz committed
44
  }
lic's avatar
lic committed
45

Sandro Lutz's avatar
Sandro Lutz committed
46
47
48
49
50
51
52
  a {
    margin-left: 1em;
    color: @color-red;
    text-decoration: none;
  }
}

lic's avatar
lic committed
53
54
55
56
57
58
59
60
61
62
footer div.social-media-logos {
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  grid-area: social-media-logos;

  @media @mobile {
    justify-content: center;
  }
Sandro Lutz's avatar
Sandro Lutz committed
63

lic's avatar
lic committed
64
65
66
67
68
69
70
71
  a {
    position: relative;

    img {
      height: 2em;
      padding: 0 .8em;
    }
  }
Sandro Lutz's avatar
Sandro Lutz committed
72
73
}

lic's avatar
lic committed
74
footer div.institution-logos {
Sandro Lutz's avatar
Sandro Lutz committed
75
76
  width: 100%;
  display: flex;
lic's avatar
lic committed
77
  justify-content: right;
Sandro Lutz's avatar
Sandro Lutz committed
78
  align-items: center;
lic's avatar
lic committed
79
80
81
82
83
  grid-area: institution-logos;

  @media @mobile {
    justify-content: center;
  }
lic's avatar
lic committed
84

Sandro Lutz's avatar
Sandro Lutz committed
85
86
  a {
    position: relative;
lic's avatar
lic committed
87

Sandro Lutz's avatar
Sandro Lutz committed
88
89
90
91
    img {
      height: 4em;
      max-width: 100%;
      background-color: @color-dark-blue;
lic's avatar
lic committed
92
93
    }
  }
Sandro Lutz's avatar
Sandro Lutz committed
94
}