-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
89 lines (89 loc) · 1.69 KB
/
style.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
83
84
85
86
87
88
89
body{
font-family: 'Orbitron', sans-serif;
background-color: black;
color: white;
}
.main-heading{
text-align: center;
font-size: 40px;
margin: 10px auto;
}
.chessBoard{
display: grid;
border: 1px solid black;
height: 550px;
width: 550px;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: repeat(8, 1fr);
}
.chessBoard > div{
text-align: center;
padding: 10px;
background-color: #DBDBDB;
}
.chessBoard > div:nth-child(16n+1),
.chessBoard > div:nth-child(16n+3),
.chessBoard > div:nth-child(16n+5),
.chessBoard > div:nth-child(16n+7),
.chessBoard > div:nth-child(16n+10),
.chessBoard > div:nth-child(16n+12),
.chessBoard > div:nth-child(16n+14),
.chessBoard > div:nth-child(16n+16){
background-color: #639C56;
}
.white{
color: #AC2525;
}
.black{
color: #2A2A2A;
}
.picked{
background-color: orange !important;
}
.drop{
background-color: skyblue !important;
border: 1px solid black;
}
.cut{
background-color: tomato !important;
}
.main-div{
display: flex;
align-items: center;
justify-content: space-evenly;
background-color: #30452B;
margin: 5px auto;
width: 90%;
}
.main-div > div {
margin: 20px;
}
.stats > * {
margin: 10px;
}
.playerChance{
width: 500px;
font-size: 30px;
}
.stats button{
font-size: 20px;
font-family: 'Orbitron', sans-serif;
padding: 10px 20px;
border: none;
background-color: lime;
color: white;
border-radius: 10px;
}
.stats input{
font-family: 'Orbitron', sans-serif;
font-size: 25px;
padding: 10px;
}
.alert{
color: red;
}
@media screen and (max-width: 1000px){
.main-div{
flex-direction: column-reverse;
}
}