fix alignment of phantom pieces in reversed board
This commit is contained in:
parent
3df80ed59a
commit
aa33042c30
|
|
@ -266,11 +266,11 @@ button:disabled .silhouette {
|
||||||
height: 65%;
|
height: 65%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cb-lt-piece {
|
#cb_board .cb-lt-piece {
|
||||||
left: -2.5%;
|
left: -2.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cb-dk-piece {
|
#cb_board .cb-dk-piece {
|
||||||
left: 47.5%;
|
left: 47.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -282,12 +282,12 @@ button:disabled .silhouette {
|
||||||
left: -2.5%;
|
left: -2.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cb_phantom > .cb-dk-piece {
|
#cb_board #cb_phantom .cb-dk-piece {
|
||||||
top: 22.5%;
|
top: 22.5%;
|
||||||
left: 22.5%;
|
left: 22.5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cb_phantom > .cb-lt-piece {
|
#cb_board #cb_phantom .cb-lt-piece {
|
||||||
top: 22.5%;
|
top: 22.5%;
|
||||||
left: 22.5%;
|
left: 22.5%;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue