footer.less 1.28 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
14
15
16
  > div {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 0 1em;
    margin: 0 auto;

    @media @wide, @desktop {
      grid-template-columns: 1fr auto auto;
      grid-template-areas: 'copyright eth-logo vseth-logo';
      max-width: @dimension-max-content-width;
Sandro Lutz's avatar
Sandro Lutz committed
17
18
    }

Sandro Lutz's avatar
Sandro Lutz committed
19
20
21
22
23
24
25
26
27
28
29
    @media @tablet {
      grid-template-columns: 1fr auto auto;
      grid-template-areas: 'copyright eth-logo vseth-logo';
      font-size: .7em;
    }

    @media @mobile {
      grid-template-columns: 1fr 1fr;
      grid-template-areas:
        'copyright copyright'
        'eth-logo vseth-logo';
Sandro Lutz's avatar
Sandro Lutz committed
30
    }
Sandro Lutz's avatar
Sandro Lutz committed
31
  }
Sandro Lutz's avatar
Sandro Lutz committed
32
33
34
35
36
37
38
39
}

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

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

Sandro Lutz's avatar
Sandro Lutz committed
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
  a {
    margin-left: 1em;
    color: @color-red;
    text-decoration: none;
  }
}

footer .vseth {
  grid-area: vseth-logo;
}

footer .eth {
  grid-area: eth-logo;
}

footer div.footer-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
lic's avatar
lic committed
65

Sandro Lutz's avatar
Sandro Lutz committed
66
67
  a {
    position: relative;
lic's avatar
lic committed
68

Sandro Lutz's avatar
Sandro Lutz committed
69
70
71
72
    img {
      height: 4em;
      max-width: 100%;
      background-color: @color-dark-blue;
lic's avatar
lic committed
73
74
    }
  }
Sandro Lutz's avatar
Sandro Lutz committed
75
}