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

Sandro Lutz's avatar
Sandro Lutz committed
3
4
5
6
7
8
9
10
11
12
13
14
.report-issue {
  background-color: @color-grey;
  text-align: center;
  padding: 1em;

  a {
    color: @color-red;
    text-decoration: none;
    margin-left: .5em;
  }
}

Sandro Lutz's avatar
Sandro Lutz committed
15
footer {
16
  background-color: @color-dark-blue;
lic's avatar
lic committed
17
  color: @color-grey;
Sandro Lutz's avatar
Sandro Lutz committed
18

Sandro Lutz's avatar
Sandro Lutz committed
19
20
21
22
23
24
25
  > div {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 0 1em;
    margin: 0 auto;

    @media @wide, @desktop {
lic's avatar
lic committed
26
27
      grid-template-columns: 50% 25% 25%;
      grid-template-areas: 'copyright social-media-logos institution-logos';
Sandro Lutz's avatar
Sandro Lutz committed
28
      max-width: @dimension-max-content-width;
Sandro Lutz's avatar
Sandro Lutz committed
29
30
    }

Sandro Lutz's avatar
Sandro Lutz committed
31
    @media @tablet {
lic's avatar
lic committed
32
33
      grid-template-columns: 50% 25% 25%;
      grid-template-areas: 'copyright social-media-logos institution-logos';
Sandro Lutz's avatar
Sandro Lutz committed
34
35
36
37
      font-size: .7em;
    }

    @media @mobile {
lic's avatar
lic committed
38
      grid-template-columns: 1fr;
Sandro Lutz's avatar
Sandro Lutz committed
39
      grid-template-areas:
lic's avatar
lic committed
40
41
42
        'copyright'
        'social-media-logos'
        'institution-logos';
Sandro Lutz's avatar
Sandro Lutz committed
43
    }
Sandro Lutz's avatar
Sandro Lutz committed
44
  }
Sandro Lutz's avatar
Sandro Lutz committed
45
46
47
48
49
}

footer div.copyright {
  display: flex;
  align-items: center;
lic's avatar
lic committed
50
  justify-content: left;
Sandro Lutz's avatar
Sandro Lutz committed
51
  grid-area: copyright;
lic's avatar
lic committed
52
  padding: 2.5em .7em;
lic's avatar
lic committed
53

Sandro Lutz's avatar
Sandro Lutz committed
54
  @media @mobile {
lic's avatar
lic committed
55
    padding: 2.2em 0 1.2em;
lic's avatar
lic committed
56
    justify-content: center;
57
58
59
60
61
62
63
64
65
66
    flex-wrap: wrap;
  }

  > * {
    @media @mobile {
      width: 100%;
      text-align: center;
      margin-left: 0;
      padding: 1em;
    }
Sandro Lutz's avatar
Sandro Lutz committed
67
  }
lic's avatar
lic committed
68

Sandro Lutz's avatar
Sandro Lutz committed
69
70
71
72
  a {
    margin-left: 1em;
    color: @color-red;
    text-decoration: none;
73
74
75
76

    @media @mobile {
      margin-left: 0;
    }
Sandro Lutz's avatar
Sandro Lutz committed
77
78
79
  }
}

lic's avatar
lic committed
80
81
footer div.social-media-logos {
  display: flex;
lic's avatar
lic committed
82
  justify-content: center;
lic's avatar
lic committed
83
84
85
86
87
88
  align-items: center;
  grid-area: social-media-logos;

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

lic's avatar
lic committed
90
91
  a {
    position: relative;
92
93
94
    display: inline-block;
    color: @color-white;
    padding: 1em .7em;
lic's avatar
lic committed
95
  }
Sandro Lutz's avatar
Sandro Lutz committed
96
97
}

lic's avatar
lic committed
98
footer div.institution-logos {
Sandro Lutz's avatar
Sandro Lutz committed
99
  display: flex;
lic's avatar
lic committed
100
  justify-content: right;
Sandro Lutz's avatar
Sandro Lutz committed
101
  align-items: center;
lic's avatar
lic committed
102
103
104
105
106
  grid-area: institution-logos;

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

Sandro Lutz's avatar
Sandro Lutz committed
108
109
  a {
    position: relative;
lic's avatar
lic committed
110

Sandro Lutz's avatar
Sandro Lutz committed
111
112
113
114
    img {
      height: 4em;
      max-width: 100%;
      background-color: @color-dark-blue;
lic's avatar
lic committed
115
116
    }
  }
Sandro Lutz's avatar
Sandro Lutz committed
117
}