-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchess_css.css
More file actions
95 lines (78 loc) · 1.41 KB
/
chess_css.css
File metadata and controls
95 lines (78 loc) · 1.41 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
.dad-container {
display: flex;
align-items: center;
justify-content: center;
margin-top: 2rem;
}
.square {
background-color: #FAC69B;
/* border: 1px solid #000; */
width: 70px;
height: 70px;
}
.main-container {
display: grid;
border-radius: 5px;
grid-template-columns: repeat(8, 1fr);
height: 560px;
/* 70px * 8 = 560px */
width: 560px;
overflow: hidden;
}
.files:nth-of-type(odd) .square:nth-of-type(even) {
background-color: #B5753E;
}
.files:nth-of-type(even) .square:nth-of-type(odd) {
background-color: #B5753E;
}
img {
width: 100%;
image-rendering: optimizeQuality;
}
.circle {
width: 30%;
height: 30%;
background-color: rgba(0, 0, 0, 0.15);
border-radius: 50%;
}
.flex {
display: flex;
align-items: center;
justify-content: center;
}
.square-common {
width: 70px;
height: 70px;
}
.color-dark{
background-color: #ff0101;
}
.color-light{
background-color: #020202;
}
.rank-style{
width: 560px;
height: 70px;
display: flex;
}
.red-border {
border: 4px solid red;
}
.loading {
display: flex;
justify-content: center;
align-items: center;
margin-top:272px;
}
.loading-container {
position: fixed;
width:100%;
height: 560px;
margin-top: 3.7rem;
left:0;
right:0;
z-index: 9999;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
}