aboutsummaryrefslogtreecommitdiff
path: root/index.css
blob: 31b82e59b0eae671cfa3767c632e1d39bfc58857 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@media (prefers-color-scheme: dark) {
  body {
    background-color: #333333;
    color: white;
  }
}

h1, h2 {
  text-align: center;
  width: 100%;
}

@media (min-width: 600px) {
  #content {
    max-width: 1600px;
    margin: auto;
    display: grid;
    grid-template-columns: minmax(600px, 2fr) 1fr;
    grid-auto-rows: minmax(400px, auto);
  }
}

ul {
  list-style-type: none;
  padding-left: 0;
}

.ereignisse-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

li.ereignis {
  border-radius: 5px;
  margin: 0.5em;
  padding: 0.5em;
  width: 30ch;
  border: 2px solid #666;
}

.ereignis-delta {
  display: inline-flex;
  border-radius: 50%;
  width: 4ch;
  aspect-ratio: 1 / 1;
  padding: 2px;
  border: 2px solid #666;
  align-items: center;  
  justify-content: center;
  float:right;
}

.ereignis-delta.positiv {
  color: green;
}

.ereignis-delta.negativ {
  color: red;
}

.ereignis-beschreibung {
  margin-top: 2px;
  display: block;
}