1/* 2 * pgn4web javascript chessboard 3 * copyright (C) 2009-2013 Paolo Casaschi 4 * see README file and http://pgn4web.casaschi.net 5 * for credits, license and more details 6 */ 7 8@import url("fonts/pgn4web-font-LiberationSans.css"); 9@import url("fonts/pgn4web-font-ChessSansUsual.css"); 10 11html, 12body { 13 margin: 0px; 14 padding: 0px; 15} 16 17body { 18 padding: 1.75em; 19 font-family: 'pgn4web Liberation Sans', sans-serif; 20 color: black; 21 background: white; 22} 23 24div, span, table, tr, td { 25 font-family: 'pgn4web Liberation Sans', sans-serif; /* fixes IE9 body css issue */ 26} 27 28.boardTable { 29 border-style: double; 30 border-color: black; 31 border-width: 3px; 32 width: 358px; 33 height: 358px; 34} 35 36.pieceImage { 37 width: 40px; 38 height: 40px; 39} 40 41.whiteSquare, 42.blackSquare, 43.highlightWhiteSquare, 44.highlightBlackSquare { 45 width: 42px; 46 height: 42px; 47 border-style: solid; 48 border-width: 1px; 49} 50 51.whiteSquare, 52.highlightWhiteSquare { 53 border-color: #EFF4EC; 54 background: #EFF4EC; 55} 56 57.blackSquare, 58.highlightBlackSquare { 59 border-color: #C6CEC3; 60 background: #C6CEC3; 61} 62 63.highlightWhiteSquare, 64.highlightBlackSquare { 65 border-style: inset; 66 border-color: gray; 67} 68 69.selectControl { 70/* a "width" attribute here must use the !important flag to override default settings */ 71} 72 73.optionSelectControl { 74} 75 76.buttonControlPlay, 77.buttonControlStop, 78.buttonControl { 79/* a "width" attribute here must use the !important flag to override default settings */ 80} 81 82.buttonControlSpace { 83/* a "width" attribute here must use the !important flag to override default settings */ 84} 85 86.searchPgnButton { 87/* a "width" attribute here must use the !important flag to override default settings */ 88} 89 90.searchPgnExpression { 91/* a "width" attribute here must use the !important flag to override default settings */ 92} 93 94.move, 95.variation, 96.comment { 97 line-height: 1.4em; 98 font-weight: normal; 99} 100 101.move, 102.variation, 103.commentMove { 104 font-family: 'pgn4web ChessSansUsual', 'pgn4web Liberation Sans', sans-serif; 105} 106 107a.move, 108a.variation, 109.commentMove { 110 white-space: nowrap; 111} 112 113.move, 114.variation { 115 text-decoration: none; 116} 117 118a.move:hover, a.variation:hover { 119 text-decoration: underline; 120} 121 122.move { 123 color: black; 124} 125 126.comment, 127.variation, 128.label { 129 color: gray; 130} 131 132a.variation { 133 color: gray; 134} 135 136.moveOn, 137.variationOn { 138 background: #DAF4D7; 139} 140 141