base.less 1.28 KB
Newer Older
Cliff Li's avatar
Cliff Li committed
1
@import './about.less';
2
@import './board.less';
Sandro Lutz's avatar
Sandro Lutz committed
3
@import './colors.less';
Nicolas Vetsch's avatar
Nicolas Vetsch committed
4
@import './teams.less';
Sandro Lutz's avatar
Sandro Lutz committed
5
@import './dimensions.less';
Sandro Lutz's avatar
Sandro Lutz committed
6
@import './errors.less';
7
8
9
10
@import './eventDetails.less';
@import './eventList.less';
@import './filteredListPage.less';
@import './footer.less';
lic's avatar
lic committed
11
@import './frontpage.less';
Sandro Lutz's avatar
Sandro Lutz committed
12
@import './header.less';
13
@import './infobox.less';
14
@import './jobofferList.less';
15
16
17
18
@import './legalNotice.less';
@import './mediaquery.less';
@import './profile.less';
@import './studydocList.less';
lic's avatar
lic committed
19

Sandro Lutz's avatar
Sandro Lutz committed
20
html,body {
Sandro Lutz's avatar
Sandro Lutz committed
21
22
23
24
25
26
27
  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
28

Sandro Lutz's avatar
Sandro Lutz committed
29
30
31
  @media @tablet, @mobile {
    font-size: 18px;
  }
32

Sandro Lutz's avatar
Sandro Lutz committed
33
34
35
36
37
38
39
40
41
42
  > 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
43
44
45
}

section {
Sandro Lutz's avatar
Sandro Lutz committed
46
  width: 100%;
Sandro Lutz's avatar
Sandro Lutz committed
47

Sandro Lutz's avatar
Sandro Lutz committed
48
49
50
  &.blue {
    background-color: @color-dark-blue;
  }
Sandro Lutz's avatar
Sandro Lutz committed
51

Sandro Lutz's avatar
Sandro Lutz committed
52
53
54
  &.grey {
    background-color: @color-grey;
  }
Sandro Lutz's avatar
Sandro Lutz committed
55

Sandro Lutz's avatar
Sandro Lutz committed
56
57
58
59
60
  > * {
    max-width: @dimension-max-content-width;
    padding: 0 1em;
    margin: 0 auto;
  }
Sandro Lutz's avatar
Sandro Lutz committed
61
62
63
}

main {
Sandro Lutz's avatar
Sandro Lutz committed
64
  width: 100%;
Sandro Lutz's avatar
Sandro Lutz committed
65

Sandro Lutz's avatar
Sandro Lutz committed
66
67
68
69
70
  > * {
    max-width: @dimension-max-content-width;
    padding: 0 1em;
    margin: 0 auto;
  }
lic's avatar
lic committed
71
72
}

Sandro Lutz's avatar
Sandro Lutz committed
73
74
75
h1 {
  margin: 2em 0;
}
Sandro Lutz's avatar
Sandro Lutz committed
76

Sandro Lutz's avatar
Sandro Lutz committed
77
78
.centered {
  text-align: center;
79
}