]> git.sesse.net Git - remoteglot/blob - www/css/chessboard-0.3.0.css
Make sure the SVG pieces are in front of the letters.
[remoteglot] / www / css / chessboard-0.3.0.css
1 /*
2  * chessboard.js v0.3.0+asn
3  *
4  * Copyright 2013 Chris Oakman
5  * Portions copyright 2022 Steinar H. Gunderson
6  * Released under the MIT license
7  * https://github.com/oakmac/chessboardjs/blob/master/LICENSE
8  *
9  * Date: 10 Aug 2013
10  */
11
12 /* clearfix */
13 .clearfix-7da63 {
14   clear: both;
15 }
16
17 /* board */
18 .board-b72b1 {
19   border: 2px solid #404040;
20   -moz-box-sizing: content-box;
21   box-sizing: content-box;
22 }
23
24 /* square */
25 .square-55d63 {
26   float: left;
27   position: relative;
28
29   /* disable any native browser highlighting */
30   -webkit-touch-callout: none;
31     -webkit-user-select: none;
32      -khtml-user-select: none;
33        -moz-user-select: none;
34         -ms-user-select: none;
35             user-select: none;
36 }
37
38 /* white square */
39 .white-1e1d7 {
40   background-color: #f0d9b5;
41   color: #b58863;
42 }
43
44 /* black square */
45 .black-3c85d {
46   background-color: #b58863;
47   color: #f0d9b5;
48 }
49
50 /* highlighted square */
51 .highlight1-32417, .highlight2-9c5d2 {
52   -webkit-box-shadow: inset 0 0 3px 3px yellow;
53   -moz-box-shadow: inset 0 0 3px 3px yellow;
54   box-shadow: inset 0 0 3px 3px yellow;
55 }
56
57 /* notation */
58 .notation-322f9 {
59   cursor: default;
60   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
61   font-size: 14px;
62   position: absolute;
63 }
64 .alpha-d2270 {
65   bottom: 1px;
66   right: 3px;
67 }
68 .numeric-fc462 {
69   top: 2px;
70   left: 2px;
71 }
72
73 .piece-417db {
74   transform: translate(0,0);  /* Force a new stacking context for SVG pieces. */
75 }