base.less 1.21 KB
Newer Older
Sandro Lutz's avatar
Sandro Lutz committed
1
2
@import './colors.less';
@import './dimensions.less';
3
@import './mediaquery.less';
Cliff Li's avatar
Cliff Li committed
4
@import './frontpage.less';
Cliff Li's avatar
Cliff Li committed
5
@import './studydocList.less';
Sandro Lutz's avatar
Sandro Lutz committed
6
@import './legalNotice.less';
Sandro Lutz's avatar
Sandro Lutz committed
7
8
@import './header.less';
@import './footer.less';
9
10
@import './eventList.less';
@import './eventDetails.less';
11
@import './jobofferList.less';
Cliff Li's avatar
Cliff Li committed
12

Sandro Lutz's avatar
Sandro Lutz committed
13
html,body {
Sandro Lutz's avatar
Sandro Lutz committed
14
15
16
17
18
19
20
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  box-sizing: border-box;
Sandro Lutz's avatar
Sandro Lutz committed
21

Sandro Lutz's avatar
Sandro Lutz committed
22
23
24
  @media @tablet, @mobile {
    font-size: 18px;
  }
25

Sandro Lutz's avatar
Sandro Lutz committed
26
27
28
29
30
31
32
33
34
35
  > div {
    width: 100%;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      'header'
      'content'
      'footer';
  }
Sandro Lutz's avatar
Sandro Lutz committed
36
37
38
}

section {
Sandro Lutz's avatar
Sandro Lutz committed
39
  width: 100%;
Sandro Lutz's avatar
Sandro Lutz committed
40

Sandro Lutz's avatar
Sandro Lutz committed
41
42
43
  &.blue {
    background-color: @color-dark-blue;
  }
Sandro Lutz's avatar
Sandro Lutz committed
44

Sandro Lutz's avatar
Sandro Lutz committed
45
46
47
  &.grey {
    background-color: @color-grey;
  }
Sandro Lutz's avatar
Sandro Lutz committed
48

Sandro Lutz's avatar
Sandro Lutz committed
49
50
51
52
53
  > * {
    max-width: @dimension-max-content-width;
    padding: 0 1em;
    margin: 0 auto;
  }
Sandro Lutz's avatar
Sandro Lutz committed
54
55
56
}

main {
Sandro Lutz's avatar
Sandro Lutz committed
57
58
  width: 100%;
  min-height: 100%;
Sandro Lutz's avatar
Sandro Lutz committed
59

Sandro Lutz's avatar
Sandro Lutz committed
60
61
62
63
64
  > * {
    max-width: @dimension-max-content-width;
    padding: 0 1em;
    margin: 0 auto;
  }
Cliff Li's avatar
Cliff Li committed
65
66
67
}

#amiv-container {
Sandro Lutz's avatar
Sandro Lutz committed
68
69
70
71
  max-width: @dimension-max-content-width;
  display: block;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
72
}