chessboard.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*!
  2. * chessboard.js v0.3.0
  3. *
  4. * Copyright 2013 Chris Oakman
  5. * Released under the MIT license
  6. * https://github.com/oakmac/chessboardjs/blob/master/LICENSE
  7. *
  8. * Date: 10 Aug 2013
  9. */
  10. td {
  11. font-size: 1.5em;
  12. }
  13. /* clearfix */
  14. .clearfix-7da63 {
  15. clear: both;
  16. }
  17. /* board */
  18. .board-b72b1 {
  19. border: 2px solid #404040;
  20. -moz-box-sizing: content-box;
  21. box-sizing: content-box;
  22. }
  23. /* square */
  24. .square-55d63 {
  25. float: left;
  26. position: relative;
  27. /* disable any native browser highlighting */
  28. -webkit-touch-callout: none;
  29. -webkit-user-select: none;
  30. -khtml-user-select: none;
  31. -moz-user-select: none;
  32. -ms-user-select: none;
  33. user-select: none;
  34. }
  35. /* white square */
  36. .white-1e1d7.blocked {
  37. background-color: #999999;
  38. color: #333333;
  39. }
  40. /* black square */
  41. .black-3c85d.blocked {
  42. background-color: #333333;
  43. color: #999999;
  44. }
  45. /* white square */
  46. .white-1e1d7 {
  47. background-color: #f0d9b5;
  48. color: #b58863;
  49. }
  50. /* black square */
  51. .black-3c85d {
  52. background-color: #b58863;
  53. color: #f0d9b5;
  54. }
  55. /* white square */
  56. .square-55d63.win {
  57. background-color: #339900;
  58. color: #999999;
  59. }
  60. /* black square */
  61. .square-55d63.lose {
  62. background-color: #990000;
  63. color: #333333;
  64. }
  65. /* notation */
  66. .notation-322f9 {
  67. cursor: default;
  68. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  69. font-size: 14px;
  70. position: absolute;
  71. }
  72. .alpha-d2270 {
  73. bottom: 1px;
  74. right: 3px;
  75. }
  76. .numeric-fc462 {
  77. top: 2px;
  78. left: 2px;
  79. }