summaryrefslogtreecommitdiffhomepage
path: root/style.css
blob: dd7cb07e2d3bb7a35ad917a0e896d65c59ccd783 (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
body {
	margin: 0;
	font-family: sans-serif;
	font-size: 12px;
}

.wreck {
	width: 18px;
	cursor: pointer;
	padding: 2px;
	fill: #eee;
}

.label {
	color: #eee;
	position: absolute;
	top: -0.2em;
	left: calc(100% + 0.4em);
	padding: 0.2em 0.4em;
	background: #000b;
	border-radius: 0.5em;
	border: 1px solid #444;
	pointer-events: none;
	width: max-content;
}

.future {
	opacity: 0.3;
}

.killed {
	opacity: 1;
}

.expired {
	opacity: 0.3;
}

.wreck:hover {
	opacity: 1;
	border: 3px solid #ff6a00;
	border-radius: 0.5em;
}

.wreck .label {
	display: none;
}

.wreck:hover .label {
	display: block;
}

.wreck::before {
	display: block;
	content: '';
	position: absolute;
	bottom: 1px;
	right: 1px;
	width: 6px;
	height: 6px;
	overflow: hidden;
}

.teamA::before {
	background: #cc0899;
}

.teamB::before {
	background: #14ea6a;
}

#wrapper {
	display: flex;
	width: 100vw;
	height: 100vh;
	flex-direction: column;
}

#container {
	position: relative;
	overflow: hidden;
	flex-grow: 1;
}

#toolbar {
	background: #eee;
	padding: 1em;
}