base.less 1.24 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
@import './eventDetails.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
13
14
15
16
@import './infobox.less';
@import './legalNotice.less';
@import './mediaquery.less';
@import './profile.less';
@import './studydocList.less';
parethe's avatar
parethe committed
17
18
19
20
@import './studydocDetails.less';
@import './studydocNew.less';
@import './fileUpload.less';
@import './filterView.less';
Cliff Li's avatar
Cliff Li committed
21

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

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

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

section {
Sandro Lutz's avatar
Sandro Lutz committed
48
  width: 100%;
Sandro Lutz's avatar
Sandro Lutz committed
49

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

main {
Sandro Lutz's avatar
Sandro Lutz committed
58
  width: 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
}

Sandro Lutz's avatar
Sandro Lutz committed
67
68
69
h1 {
  margin: 2em 0;
}
Sandro Lutz's avatar
Sandro Lutz committed
70

Sandro Lutz's avatar
Sandro Lutz committed
71
72
.centered {
  text-align: center;
73
}