base.less 1.49 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';
Sandro Lutz's avatar
Sandro Lutz committed
7
@import './eventList.less';
8
9
10
@import './eventDetails.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';
Sandro Lutz's avatar
Sandro Lutz committed
13
@import './images.less';
14
15
16
17
18
@import './infobox.less';
@import './legalNotice.less';
@import './mediaquery.less';
@import './profile.less';
@import './studydocList.less';
parethe's avatar
parethe committed
19
20
21
22
@import './studydocDetails.less';
@import './studydocNew.less';
@import './fileUpload.less';
@import './filterView.less';
lic's avatar
lic committed
23

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

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

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

section {
Sandro Lutz's avatar
Sandro Lutz committed
50
  width: 100%;
lic's avatar
lic committed
51
  margin: 3em 0 0;
Sandro Lutz's avatar
Sandro Lutz committed
52

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

  &.blue {
    background-color: @color-dark-blue;
  }
Sandro Lutz's avatar
Sandro Lutz committed
62
63
64
}

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

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

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

Sandro Lutz's avatar
Sandro Lutz committed
78
79
.centered {
  text-align: center;
80
}
Sandro Lutz's avatar
Sandro Lutz committed
81
82
83
84
85
86
87

.external-link {
  width: .65em;
  height: .65em;
  padding: 0 0 0 .25em;
  /* 'width:12px;height:12px;padding:0 0 0 5px;' */
}