blob: 472cbd8d43c1863c65d878515f6e1b1250a366e4 (
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
|
body {
margin: 0;
}
.wreck {
width: 20px;
cursor: pointer;
padding: 2px;
fill: none;
stroke: #eee;
stroke-width: 0.4;
stroke-dasharray: 1;
}
.wreck.killed {
stroke: none;
fill: #eee;
}
.wreck:hover {
border: 2px solid #eee;
}
.wreck::after {
display: block;
content: attr(data-label);
color: #eee;
position: absolute;
top: 0;
left: 107.5%;
padding: 0.2em 0.5em;
background: #000a;
border-radius: 0.5em;
pointer-events: none;
}
#wrapper {
display: flex;
width: 100vw;
height: 100vh;
flex-direction: column;
}
#container {
position: relative;
overflow: hidden;
flex-grow: 1;
}
#toolbar {
background: #eee;
padding: 1em;
}
|