-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
79 lines (67 loc) · 1.18 KB
/
main.css
File metadata and controls
79 lines (67 loc) · 1.18 KB
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
.tile {
--width: 64px;
--height: 64px;
--popupRGBA: rgba(0, 0, 0, 0.85);
display: inline-block;
width: var(--width);
height: var(--height);
text-align: center;
border-style: solid;
border-width: 1px;
border-color: black;
}
.left {
background-color: cadetblue;
}
.right {
background-color: firebrick;
}
.move {
background-color: lawngreen;
}
.att {
background-color: red;
}
.bom {
background-color: orangered;
}
.no {
background-color: yellow;
}
.text {
position: relative;
display: inline-block;
vertical-align: middle;
line-height: 32px; /* 1/2 OF var(--height) */
height: var(--height);
font-size: 12px;
}
.text .stats {
visibility: hidden;
width: 120px;
background-color: var(--popupRGBA);
color: #fff;
text-align: center;
border-radius: 6px;
padding: 5px 0;
position: absolute;
line-height: normal;
z-index: 1;
top: 107.5%;
left: 50%;
margin-left: -60px;
pointer-events: none;
}
.text .stats::after {
content: " ";
position: absolute;
bottom: 100%;
left: 50%;
margin-left: -15px;
border-width: 15px;
border-style: solid;
border-color: transparent transparent var(--popupRGBA) transparent;
}
.text:hover .stats {
visibility: visible;
}