-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
46 lines (46 loc) · 847 Bytes
/
style.css
File metadata and controls
46 lines (46 loc) · 847 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.boardSpan{
width: 50px;
height: 50px;
font-size: 30px;
text-align: center;
border: 1px solid black;
}
.boardLabel{
width: 50px;
height: 50px;
font-size: 30px;
padding-top: 5px;
text-align: center;
font-weight: bold;
}
#board{
display: flex;
flex-wrap: wrap;
width: calc(9*50px);
}
.boardSpanBlue:nth-child(2n){
background-color: #1E6EC7;
}
.boardSpanRed:nth-child(2n){
background-color: #c92626;
}
.boardSpanGreen:nth-child(2n){
background-color: #20972a;
}
.boardSpanGrey:nth-child(2n){
background-color: #888888;
}
.boardSpanPurple:nth-child(2n){
background-color: #7e0faa;
}
.boardSpanBrown:nth-child(2n){
background-color: #83572e;
}
.boardSpanYellow:nth-child(2n){
background-color: #FFC807;
}