-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (127 loc) · 2.36 KB
/
style.css
File metadata and controls
127 lines (127 loc) · 2.36 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
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
html, body {
width: 100%;
height: 100%;
background-color: #333;
color: white;
margin: 0;
font-family: 'Open Sans Condensed', sans-serif;
}
.playerEntry {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
background-color: #333;
transition: opacity linear 0.5s;
}
.playerEntry.hidden {
opacity: 0;
pointer-events: none;
}
.playerEntry .header {
font-size: 0;
}
.playerEntry .header span {
display: inline-block;
text-align: center;
width: 40px;
font-size: 16px;
}
.player {
font-size: 0;
height: 30px;
margin: 5px 0;
display: flex;
align-items: center;
}
.player span {
display: inline-block;
width: 24px;
height: 24px;
border: 1px solid white;
border-radius: 20px;
box-sizing: border-box;
position: relative;
margin: 0 5px;
cursor: pointer;
}
.player span.checked::after {
content: "";
display: block;
width: 14px;
height: 14px;
background-color: white;
border-radius: 20px;
position: absolute;
left: 4px;
top: 4px;
}
.player input {
height: 30px;
width: 200px;
background-color: #333;
color: white;
border: 1px solid white;
box-sizing: border-box;
margin: 0 15px;
padding: 0 5px;
}
.player button {
width: 30px;
height: 30px;
border: 1px solid white;
background-color: transparent;
color: white;
font-size: 20px;
margin: 0 5px;
padding: 0;
text-align: center;
cursor: pointer;
}
.player button.disabled {
color: #777;
border-color: #777;
cursor: default;
}
.player button:not(.disabled):hover {
background-color: white;
color: #333;
}
.playerEntry > button {
width: 150px;
height: 30px;
border: 1px solid white;
margin: 5px 0;
background-color: transparent;
color: white;
}
.playerEntry > button:hover {
background-color: white;
color: #333;
}
.playerEntry .startGame {
margin-top: 30px;
}
.scoring {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.scoreTable {
display: table;
border-collapse: collapse;
}
.scoreTable .row {
display: table-row;
}
.scoreTable .cell {
display: table-cell;
border: 1px solid white;
padding: 5px;
}