1/* 2 * pgn4web javascript chessboard 3 * copyright (C) 2009-2015 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-ChessSansPiratf.css"); 10 11html, 12body { 13 margin: 0px; 14 padding: 0px; 15} 16 17body { 18 font-family: 'pgn4web Liberation Sans', sans-serif; 19 font-size: 13px; 20 color: #615F54; 21 background: #EDE8D5; 22} 23 24a { 25 text-decoration: none; 26 color: black; 27} 28 29.boardTable { 30} 31 32.pieceImage { 33 width: 26px; 34 height: 26px; 35} 36 37.whiteSquare, 38.blackSquare, 39.highlightWhiteSquare, 40.highlightBlackSquare { 41 width: 26px; 42 height: 26px; 43 border-style: solid; 44 border-width: 2px; 45} 46 47.whiteSquare, 48.highlightWhiteSquare { 49 border-color: #EDE8D5; 50 background: #EDE8D5; 51} 52 53.blackSquare, 54.highlightBlackSquare { 55 border-color: #CFCBB3; 56 background: #CFCBB3; 57} 58 59.highlightWhiteSquare, 60.highlightBlackSquare { 61 border-style: solid; 62 border-color: #F8CCA0; 63} 64 65.selectControl { 66/* a "width" attribute here must use the !important flag to override default settings */ 67 -moz-appearance: none; 68 -webkit-appearance: none; 69 width: 450px !important; 70 height: 23px; 71 color: #A19E8B; 72 font-size: 13px; 73 padding: 2px; 74 border-style: solid; 75 border-width: 1px; 76 border-radius: 0px; 77 border-color: #CFCBB3; 78 background-color: #EDE8D5; 79} 80 81.optionSelectControl { 82 color: black; 83 background-color: #EDE8D5; 84} 85 86.buttonControlPlay, 87.buttonControlStop, 88.buttonControl { 89/* a "width" attribute here must use the !important flag to override default settings */ 90 font-size: 13px; 91 text-align: center; 92 vertical-align: middle; 93} 94 95.buttonControlSpace { 96/* a "width" attribute here must use the !important flag to override default settings */ 97} 98 99.searchPgnButton { 100/* a "width" attribute here must use the !important flag to override default settings */ 101} 102 103.searchPgnExpression { 104/* a "width" attribute here must use the !important flag to override default settings */ 105} 106 107.header, 108.headerNosize, 109.headerHighlighted, 110.headerHighlightedNosize, 111.helplinkNosize, 112.helplinkNosizeHighlighted, 113.comment { 114 text-decoration: none; 115 font-family: 'pgn4web Liberation Sans', sans-serif; /* fixes IE9 body css issue */ 116} 117 118.header, 119.headerHighlighted { 120 font-size: 13px; 121} 122 123.move, 124.variation, 125.comment { 126 font-size: 12px; 127 line-height: 1.4em; 128} 129 130.move, 131.variation, 132.commentMove { 133 font-family: 'pgn4web ChessSansPiratf', 'pgn4web Liberation Sans', sans-serif; 134} 135 136a.move, 137a.variation, 138.commentMove { 139 white-space: nowrap; 140} 141 142.move, 143.variation { 144 text-decoration: none; 145} 146 147.helplinkNosize { 148 color: #BFBAA5; 149} 150 151.header, 152.headerNosize, 153.move, 154.variation { 155 color: #615F54 !important; 156} 157 158a.variation { 159 color: #615F54 !important; 160} 161 162.comment { 163 color: #A19D8B; 164} 165 166.headerHighlighted, 167.headerHighlightedNosize, 168.moveOn, 169.variationOn { 170 color: black; 171 background: #F8CCA0; 172} 173 174.movebox { 175 scrollbar-base-color: #E8E3D0; 176 text-align: justify; 177} 178 179