forked from Prorock201/chess-game-js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchess.css
More file actions
91 lines (76 loc) · 1.32 KB
/
chess.css
File metadata and controls
91 lines (76 loc) · 1.32 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
body {
background-color: #F3E0FF;
user-select: none;
-webkit-user-select: none;
cursor: default;
}
.info {
height: 32px;
text-align: center;
padding: 50px;
font-family: Verdana;
font-size: 20pt;
color: #7F0037;
}
.content {
margin-left: 250px;
}
.content-board, .image {
float: left;
}
.image {
padding-top: 140px;
padding-left: 50px;
padding-right: 50px;
}
.board {
border: 10px groove gray;
background-color: white;
float: left;
}
.board > div {
clear: left;
}
.row div {
width: 41px;
height: 41px;
border: 1px solid black;
float: left;
}
.board div:nth-child(odd) div:nth-child(even), .board div:nth-child(even) div:nth-child(odd) {
background-color: #7F0037;
/*#CC5F0C*/
}
.pickUp {
background-color: yellow !important;
}
#example {
float: right;
position: relative;
}
.frame1, .frame4 {
width: 344px;
height: 43px;
padding: 10px;
margin-left: 63px;
}
.frame2, .frame3 {
width: 43px;
height: 344px;
padding: 10px;
float: left;
}
.frame4 {
clear: left;
}
.frame1 div, .frame2 div, .frame3 div, .frame4 div {
width: 43px;
height: 43px;
line-height: 43px;
font-size: 18pt;
font-family: fantasy;
text-align: center;
}
.frame1 div, .frame4 div {
float: left;
}