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

Sandro Lutz's avatar
Sandro Lutz committed
3
.report-issue {
Sandro Lutz's avatar
Sandro Lutz committed
4
  width: 100%;
Sandro Lutz's avatar
Sandro Lutz committed
5
6
7
8
9
10
11
12
13
14
15
  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
16
footer {
17
  background-color: @color-dark-blue;
lic's avatar
lic committed
18
  color: @color-grey;
Sandro Lutz's avatar
Sandro Lutz committed
19

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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