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

Sandro Lutz's avatar
Sandro Lutz committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
html,body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    box-sizing: border-box;

    > div {
        width: 100%;
        min-height: 100%;
        display: grid;
        grid-template-rows: auto 1fr auto;
        grid-template-areas:
          "header"
          "content"
          "footer";
    }
}

section {
    width: 100%;

    &.blue {
        background-color: @color-dark-blue;
    }

    &.grey {
        background-color: @color-grey;
    }

    > * {
        max-width: @dimension-max-content-width;
        margin: 0 auto;
    }
}

main {
    width: 100%;
Sandro Lutz's avatar
Sandro Lutz committed
52
53
    min-height: 100%;

Sandro Lutz's avatar
Sandro Lutz committed
54
55
56
57
    > * {
        max-width: @dimension-max-content-width;
        margin: 0 auto;
    }
Cliff Li's avatar
Cliff Li committed
58
59
60
}

#amiv-container {
Sandro Lutz's avatar
Sandro Lutz committed
61
    max-width: @dimension-max-content-width;
Cliff Li's avatar
Cliff Li committed
62
63
    display: block;
    margin: 0 auto;
Cliff Li's avatar
Cliff Li committed
64
    font-family: Arial, Helvetica, sans-serif;
65
}