diff --git a/assets/chessground.brown.css b/assets/chessground.brown.css index f23e87c8..79262af1 100644 --- a/assets/chessground.brown.css +++ b/assets/chessground.brown.css @@ -43,16 +43,20 @@ cg-board square.current-premove { } /** Alternating colors in rank/file/square labels */ -.cg-wrap coords:nth-child(odd) coord:nth-child(even), -.cg-wrap coords.squares:nth-child(even) coord:nth-child(odd), -.cg-wrap.orientation-black coords.files:nth-child(even) coord:nth-child(odd), -.cg-wrap coords.files:nth-child(even) coord:nth-child(even) { +.orientation-white .ranks :nth-child(odd), +.orientation-white .files :nth-child(even), +.orientation-black .ranks :nth-child(even), +.orientation-black .files :nth-child(odd), +coords.squares:nth-of-type(odd) :nth-child(even), +coords.squares:nth-of-type(even) :nth-child(odd) { color: rgba(72, 72, 72, 0.8); } -.cg-wrap coords:nth-child(odd) coord:nth-child(odd), -.cg-wrap coords.squares:nth-child(even) coord:nth-child(even), -.cg-wrap.orientation-black coords.files:nth-child(even) coord:nth-child(even), -.cg-wrap coords.files:nth-child(even) coord:nth-child(odd) { +.orientation-white .ranks :nth-child(even), +.orientation-white .files :nth-child(odd), +.orientation-black .ranks :nth-child(odd), +.orientation-black .files :nth-child(even), +coords.squares:nth-of-type(odd) :nth-child(odd), +coords.squares:nth-of-type(even) :nth-child(even) { color: rgba(255, 255, 255, 0.8); }