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

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

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

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

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

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

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

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

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

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

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

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