Repository navigation
Expand file tree
/
Copy pathChessAI.css
More file actions
116 lines (106 loc) · 1.84 KB
/
Copy pathChessAI.css
File metadata and controls
116 lines (106 loc) · 1.84 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
body{
padding: 0px;
}
#choice {
float: left;
clear: both;
}
#capturedPieces{
position: absolute;
margin: 0px;
display: inline-block;
}
#compPieces{
width: 200px;
position: absolute;
margin-top: 5vh;
display: inline-block;
}
#playPieces{
width: 200px;
position: absolute;
margin-top: 75vh;
display: inline-block;
}
#white {
height: 100px;
border: none;
margin: 38vh 20vw;
text-align: center;
text-decoration: none;
display: inline-block;
transition: transform .5s;
}
#black {
height: 100px;
margin: 38vh 20vw;
border: none;
text-align: center;
text-decoration: none;
display: inline-block;
transition: transform .5s;
}
#resetBtn{
position: absolute;
margin-top: 85vh;
cursor: pointer;
padding: 7px;
border: none;
background-color: #3b4045;
color: white;
margin-left:30vw;
transition: transform .3s;
}
#restartBtn{
position: absolute;
margin-top: 85vh;
cursor: pointer;
padding: 7px;
border: none;
background-color: #3b4045;
color: white;
margin-left: 38vw;
transition: transform .3s;
}
#board{
position:absolute;
margin-top: 20px;
margin-left: 18vw;
width: 500px;
-moz-box-shadow:3px 3px 5px 6px #ccc;
-webkit-box-shadow: 3px 3px 5px 6px #ccc;
box-shadow:3px 3px 5px 6px #ccc;
}
#info{
position: absolute;
margin-left: 70vw;
width: 250px;
float: right;
}
h4{
height: 20px;
}
/*#compTimer{
padding: 10px;
margin-top: 20px;
background-color: black;
color: white;
}
#playerTimer{
padding: 10px;
margin-top: 200px;
background-color: black;
color: white;
}*/
#toShow{
display:none;
}
.pgn{
height:40px;
}
#white:hover, #black:hover {
transform: scale(1.3);
}
#restartBtn:hover, #resetBtn:hover {
transform: scale(1.1);
}