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 font-family: 'pgn4web Liberation Sans', sans-serif; 19 color: black; 20 background: white; 21} 22 23div, span, table, tr, td { 24 font-family: 'pgn4web Liberation Sans', sans-serif; /* fixes IE9 body css issue */ 25} 26 27a { 28 color: black; 29 text-decoration: none; 30} 31 32.boardTable { 33 width: 366px; 34 height: 366px; 35 border-style: double; 36 border-color: black; 37 border-width: 3px; 38} 39 40.pieceImage { 41 width: 36px; 42 height: 36px; 43} 44 45.whiteSquare, 46.blackSquare, 47.highlightWhiteSquare, 48.highlightBlackSquare { 49 width: 41px; 50 height: 41px; 51 border-style: solid; 52 border-width: 2px; 53} 54 55.whiteSquare, 56.highlightWhiteSquare { 57 border-color: #ede8d5; 58 background: #ede8d5; 59} 60 61.blackSquare, 62.highlightBlackSquare { 63 border-color: #cfcbb3; 64 background: #cfcbb3; 65} 66 67.highlightWhiteSquare, 68.highlightBlackSquare { 69 border-color: yellow; 70 border-style: solid; 71} 72 73.selectControl { 74/* a "width" attribute here must use the !important flag to override default settings */ 75 width: 100% !important; 76} 77 78.optionSelectControl { 79} 80 81.buttonControlPlay, 82.buttonControlStop, 83.buttonControl { 84/* a "width" attribute here must use the !important flag to override default settings */ 85} 86 87.buttonControlSpace { 88/* a "width" attribute here must use the !important flag to override default settings */ 89} 90 91.searchPgnButton { 92/* a "width" attribute here must use the !important flag to override default settings */ 93 width: 10% !important; 94} 95 96.searchPgnExpression { 97/* a "width" attribute here must use the !important flag to override default settings */ 98 width: 90% !important; 99} 100 101.move, 102.variation, 103.comment { 104 color: black; 105 line-height: 1.3em; 106 font-weight: normal; 107 text-decoration: none; 108} 109 110.move, 111.variation, 112.commentMove { 113 font-family: 'pgn4web ChessSansUsual', 'pgn4web Liberation Sans', sans-serif; 114} 115 116a.move, 117a.variation, 118.commentMove { 119 white-space: nowrap; 120} 121 122.comment, 123.variation { 124 color: gray; 125} 126 127a.variation { 128 color: gray; 129} 130 131.moveOn, 132.variationOn { 133 background: yellow; 134} 135 136.label { 137 color: gray; 138} 139 140.loading { 141 color: gray; 142 white-space: nowrap; 143} 144 145