-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
68 lines (52 loc) · 1.04 KB
/
styles.scss
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
$CELL_DIMENSIONS: 55px;
#board-content table, th, td {
border: 1px solid black;
}
#board-content {
& td.cell {
&.white {
background-color: lightgoldenrodyellow;
&:hover {
background-color: khaki;
}
}
&.black {
background-color: lightcoral;
&:hover {
background-color: crimson;
}
}
&.selected {
background-color: deepskyblue;
&:hover {
background-color: dodgerblue;
}
}
&.possible-move {
background-color: skyblue;
&:hover {
background-color: lightcyan;
}
}
& div.piece.team {
color: deeppink;
&.team-white {
color: aliceblue;
text-shadow: 2px 2px 6px #000;
}
&.team-black {
color: midnightblue;
text-shadow: 2px 2px 6px #aaa;
}
}
user-select: none;
cursor: pointer;
width: $CELL_DIMENSIONS;
height: $CELL_DIMENSIONS;
text-align: center;
font-size: 40px;
}
& th.board-border {
background-color: lightgray;
}
}