-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckers2.css
More file actions
128 lines (112 loc) · 1.92 KB
/
Copy pathcheckers2.css
File metadata and controls
128 lines (112 loc) · 1.92 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
128
* {
box-sizing: border-box;
}
.board {
display: flex;
flex-wrap: wrap;
width: 560px;
height: 560px;
outline: 5px solid green;
margin: 100px auto;
margin-bottom: 200px;
}
.box {
width: 70px;
height: 70px;
display: flex;
flex-wrap: wrap;
margin: 0 auto;
justify-content: center;
align-content: center;
}
.white {
background-color: rgb(224, 210, 162);
}
.black {
background-color: black;
}
.king {
border-radius: 50%;
width: 100%;
height: 100%;
border: 2px solid red;
}
.piece {
border-radius: 50%;
width: 50%;
height: 50%;
border: 2px solid red;
}
.white_piece {
background-color: rgb(233, 224, 173);
}
.black_piece {
background-color: rgb(57, 11, 11);
}
.no_piece {
display: none;
}
.clicked {
border: 8px solid blue;
}
.turn {
display: flex;
flex-wrap: wrap;
width: 360px;
height: 60px;
outline: 5px solid green;
margin: 30px auto;
}
.player {
display: flex;
flex-wrap: wrap;
width: 90px;
height: 60px;
margin: 30px auto;
font-weight: 900;
font-size: 150%;
}
.modal {
display: none;
position: fixed;
z-index: 1;
padding-top: 100px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
}
.close {
color: #aaaaaa;
float: center;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
#js-new-game {
position: fixed;
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
margin: 4px 2px;
cursor: pointer;
}