-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathshanghai.css
141 lines (119 loc) · 2 KB
/
shanghai.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
.command-bar {
height: 3em;
width: 100%;
background-color: transparent;
position: fixed;
text-align: center;
z-index: 1;
}
.content {
width: 100%;
}
.btn {
width: 45px;
text-align: center;
padding: 4px 2px;
margin: 2px;
background-color: #93c993;
display: inline-block;
cursor: pointer;
}
.btn:hover {
background-color: #73a973;
}
.current-round {
width: 50px;
text-align: center;
vertical-align: top;
padding: 2px 2px;
margin: 2px;
display: inline-block;
font-size: 5em;
font-weight: bold;
}
#del {
background-color: #922;
}
#del:hover {
background-color: #d22;
color: white;
}
.throws-queue {
max-width: 400px;
width: 99%;
margin: 6em auto 5px auto;
}
.player-row {
display: flex;
padding: 10px;
}
.playername {
display: inline-block;
width: 40%;
}
.throws {
height: 2em;
display: inline-block;
display: flex;
width: 60%;
}
.throw {
width: 33%;
text-align: center;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.dart {
background-image: url('./images/dart.png');
}
.player-name {
box-sizing: border-box;
width: 100%;
font-size: 1em;
font-weight: bold;
text-align: center;
border: none;
background-color: transparent;
}
.player-row.row-0 {
font-size: 1.8em;
line-height: 1.8em;
border: 2px solid gray;
background-color: rgba(242, 255, 0, 0.44);
color: black;
}
.player-row.row-1 {
margin-top: 0.5em;
font-size: 1.1em;
line-height: 1.1em;
color: #a5a5a5;
}
#scores {
max-width: 95%;
margin-top: 20px;
margin-left: auto;
margin-right: auto;
}
table#scores {
border-collapse: collapse;
color: #444;
}
table#scores,
#scores th,
#scores td {
border: 1px solid #999;
text-align: center;
padding: 4px;
}
#scores th {
color: black;
font-weight: bold;
}
#scores th:first-child {
color: #444;
}
.scores-player-name {
padding-left: 1.5em;
padding-right: 1.5em;
}