summary refs log tree commit diff stats
path: root/web/views/style.scss
blob: a65cd949cd16afce832eb91919672a4317180fc6 (plain) (blame)
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
50
51
52
53
54
55
body {
  background-color: black;
  color: white;
  font-family: sans-serif;
}

#header {
  width: 100%;

  img {
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }
}

h2 {
  text-align: center;
}

#scores {
  margin: 0 auto;
  border-spacing: 0px;
  tr {
    &.even {
      background-color: gray;
    }
    &.odd {
      background-color: purple;
    }
    th {
      text-align: left;
      padding-left: 0.5em;
      padding-bottom: 0.5em;
    }
    td {
      padding-right: 1em;
      padding-top: 0.5em;
      padding-bottom: 0.5em;
      border-collapse: collapse;
      &:first-child {
        padding-left: 1em;
      }
      img {
        width: 2em;
      }
      &.score-pfp {
        width: 2em;
      }
      &.score-value {
        text-align: center;
      }
    }
  }
}