-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
57 lines (48 loc) · 824 Bytes
/
style.css
File metadata and controls
57 lines (48 loc) · 824 Bytes
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
* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #efefef;
}
.board {
width: 640px;
height: 640px;
display: flex;
flex-wrap: wrap;
box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.25);
}
.board .square {
position: relative;
width: 80px;
height: 80px;
cursor: pointer;
font-size: 48px;
border: 1px solid #601010;
}
.square.black {
background-color: #601010;
}
.square.white {
background-color: #c1ad9b;
}
.piece {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.fas.white {
color: white;
text-shadow: 0px 0px 15px rgba(0, 0, 0, 0.25);
}
.fas.black {
color: black;
text-shadow: 0px 0px 15px rgba(255, 255, 255, 0.25);
}