Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
blob: 4dfb1fde4e65be160e0b3612292988555b392830 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
span {
  font-size: 10px;
  font-family: monospace;
  margin-right: 1em;
}

.physical-status-track {
  display: flex;
  justify-content: space-between;
  align-items: end;
  text-align: center;
}

.physical-status-track damage-block {
  margin: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
}

.physical-status-track damage-block[slot="block-number"] {
  font-family: serif;
  font-size: unset;
}

.physical-status-track damage-block span {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  margin-left: 1em;
}

ul li {
  display: inline;
}

p {
  margin: 0;
}

.grenades input {
  display: none;
}

.grenades input + label {
  display: inline-block;
  width: 0.75em;
  height: 0.75em;
  border: 1px solid black;
  border-radius: 50%;
  vertical-align: middle;
}

.grenades input:checked + label {
  background-color: gray;
}

.grenades input + label:hover {
  background-color: lightgray;
}

.grenades input:checked + label:hover {
  background-color: darkgray;
}

[slot="block-number"]:not(:last-of-type) {
  display: inline-block;
  width: 1.3em;
  margin-bottom: 2px;
}

damage-block span[slot="block-number"] {
  border: 1px solid transparent;
  padding: 2px;
  border-radius: 50%;
  position: relative;
}

damage-block.preview span[slot="block-number"] {
  border-color: gray;
  background-color: silver;
}

damage-block.armor span[slot="block-number"] {
  border-color: black;
}