X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=www%2Fcss%2Fchessboard-0.3.0.css;h=557f28349c3e407fd3dfb72fbbe0e8ec5257e193;hb=249993293db3218abf9cfa7a88fd9fd2dd5e1101;hp=38ad11876d91b2a9d6e0ed7aec4741bbae453f69;hpb=bc02784ba087de2fe7d3698dc4e33b55f25f304d;p=remoteglot diff --git a/www/css/chessboard-0.3.0.css b/www/css/chessboard-0.3.0.css index 38ad118..557f283 100644 --- a/www/css/chessboard-0.3.0.css +++ b/www/css/chessboard-0.3.0.css @@ -1,4 +1,4 @@ -/*! +/* * chessboard.js v0.3.0+asn * * Copyright 2013 Chris Oakman @@ -9,30 +9,21 @@ * Date: 10 Aug 2013 */ -/* clearfix */ -.clearfix-7da63 { - clear: both; -} - /* board */ .board-b72b1 { - border: 2px solid #404040; - -moz-box-sizing: content-box; - box-sizing: content-box; + outline: 2px solid #404040; + display: grid; + grid-template-rows: repeat(8, 12.5%); + grid-template-columns: repeat(8, 12.5%); + grid-gap: 0px; + width: 100%; + aspect-ratio: 1; } /* square */ .square-55d63 { - float: left; - position: relative; - /* disable any native browser highlighting */ - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; + user-select: none; } /* white square */ @@ -49,13 +40,11 @@ /* highlighted square */ .highlight1-32417, .highlight2-9c5d2 { - -webkit-box-shadow: inset 0 0 3px 3px yellow; - -moz-box-shadow: inset 0 0 3px 3px yellow; box-shadow: inset 0 0 3px 3px yellow; } /* notation */ -.notation-322f9 { +.alpha-d2270, .numeric-fc462 { cursor: default; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; @@ -69,3 +58,10 @@ top: 2px; left: 2px; } + +.piece-417db { + transform: translate(0,0); /* Force a new stacking context for SVG pieces. */ + position: absolute; + width: 12.5%; + height: 12.5%; +}