-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstylesheet.css
82 lines (69 loc) · 1.13 KB
/
stylesheet.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
#chessboard {
width: 600px;
height: 600px;
border: 1px solid black;
margin: 30px auto;
position: relative;
}
.chessboard-modal-background {
position: absolute;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
.chessboard-modal {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
border-radius: 5px;
}
.piece-select-prompt {
text-align: center;
margin: 10px;
}
.piece-select {
margin: 10px 10px;
}
.new-game {
margin: 10px auto;
display: block;
}
.green, .brown, .white {
text-align: center;
font-size: 70px;
line-height: 75px;
float: left;
cursor: pointer;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.brown, .white {
width: 75px;
height: 75px;
}
.brown {
background: chocolate;
}
.white {
background: white;
}
.green {
background: green;
width: 73px;
height: 73px;
border: 1px solid black;
}
.selected-piece {
color: blue;
}
.group:after {
display: block;
content: "";
clear: both;
}