aboutsummaryrefslogtreecommitdiffstats
path: root/src/style.less
blob: 7edb45e4b0a7b4f6e9d10652af613b96c9535173 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
@riot-color-red:      #fc0e49;
@riot-color-white:    #fff;
@riot-color-black:    #313131;
@riot-color-blue:     #268bd2;

@mobile-width:        600px;

@font:                'Lato', sans-serif;

*, *:before, *:after {
  box-sizing: inherit;
}

.lato-font(@size) {
  font-family: 'Lato', sans-serif;
  font-size: @size;
}

html {
  .lato-font(20px);
  
  background-color: @riot-color-white;
  color: @riot-color-black;
  box-sizing: border-box;
}

body {
  border: 0;

  max-width: 600px;
  margin-left: auto;
  margin-right: auto;

  padding: 1rem;
}

a {
  color: @riot-color-blue;
}

button {
  .lato-font(1rem);

  padding: 0.5rem 1rem;
  background-color: @riot-color-red;
  color: @riot-color-white;
  border: 0;
  border-radius: 5px;
}