forked from glasperfan/explorer
-
Notifications
You must be signed in to change notification settings - Fork 3
/
styles.css
72 lines (58 loc) · 1.33 KB
/
styles.css
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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
* {
font-family: 'Roboto', sans-serif;
}
#explorer-tbl {
position: absolute;
background-color: #1d1d1d;
z-index: 9999;
top: 10px;
left: 10px;
padding: 3px;
border: none;
}
.explorer-tbl-header {
border: none;
}
.explorer-tbl-header .explorer-tbl-cell {
padding: 4px 7px 2px; /* default override cell padding */
}
.explorer-tbl-row {
border: none;
height: 3em;
}
.explorer-tbl-row:nth-child(2n-1) { background-color: rgb(36, 36, 36); }
.explorer-tbl-row:nth-child(2n) { background-color: #1d1d1d; }
.explorer-tbl-cell {
border: none;
box-sizing: unset;
padding: 0 2px;
text-align: center;
line-height: 3em;
vertical-align: top;
}
.explorer-tbl-player-col-cell {
border: none;
display: inline-flex;
padding: 0;
line-height: 3em;
}
.explorer-tbl-player-col-cell-color {
width: 6px;
background-color: #000;
display: inline-block;
}
.explorer-tbl-player-name {
margin: 0px 10px 0 4px;
}
.explorer-tbl-player-col-header {
font-weight: 600;
text-transform: uppercase;
border: none;
padding-left: 10px; /* width of cell-color + margin-left of player-name */
font-size: 85%;
}
.explorer-tbl-resource-icon {
width: 24px;
height: 36px;
}