c0dba3730c2fc52d1a7273335a9d5bfb2f3f4a38
4 background-color: #f8f8f8;
5 font-family: Arial
, Verdana
, Tahoma
, sans-serif
;
8 #gameInfos, #boardContainer
, #gameStopped
, #pendingSeek
, #pendingRematch
, #newGameForm
{
26 background-color: green
;
31 text-decoration: none
;
32 display: inline-block
;
40 background-color: darkblue
;
45 margin: 30px auto
20px auto
;
58 left: calc
(100% - 25px);
62 #upLeftInfos > img
, #upRightStop
> img
{
75 /* Options when starting custom game */
81 background-color: lightblue
;
84 /* Game link div + custom game "button" */
85 #gameLink span
, #gameLink a
, #playCustom
{
86 text-decoration: underline
;
95 /* Board container (without reserves) */
101 /* Board container can be resized */
113 background-size: cover
;
115 will-change: transform
;
116 pointer-events: none
;
119 /* Drawing of the board */
137 /* Pieces' counter for reserves */
146 /* Choices div after a promotion (TODO: do not hide board) */
152 /* https://theanam.github.io/css-only-loaders/ ("hour-glass") */
154 --loader-width: 70px;
155 --loader-height: 70px;
156 --loader-color-primary: #141D58;
157 --loader-color-secondary: #EEE;
159 --animation-duration: 3s;
160 --loader-initial-scale: 0.1;
162 .loader,.loader:before,.loader:after{
163 box-sizing: border-box
;
170 transform: translateY
(0%);
173 transform: translateY
(100%);
176 transform: translateY
(100%);
179 transform: translateY
(0%);
182 transform: translateY
(0%);
188 transform: rotate
(0deg);
191 transform: rotate
(0deg);
194 transform: rotate
(180deg);
197 transform: rotate
(180deg);
200 transform: rotate
(360deg);
206 width: var
(--loader-width
, 100px);
207 height: var
(--loader-height
, 100px);
208 background-color: var
(--loader-color-primary
, #00f);
209 -webkit-clip-path: polygon
(0% 0%, 100% 0%, 50% 50%, 100% 100%, 0% 100%, 50% 50%);
210 clip-path: polygon
(0% 0%, 100% 0%, 50% 50%, 100% 100%, 0% 100%, 50% 50%);
212 animation: spin var
(--animation-duration
, 4s) infinite ease-in-out
;
221 width: var
(--loader-width
, 100px);
223 background-color: var
(--loader-color-secondary
, #eee);
224 animation: slide var
(--animation-duration
, 4s) infinite ease-in-out
;