#game-container { border: 1px dotted black; padding-bottom: 20%; } #game-inventory-table { display: table; max-width: 70%; text-align: center; font-size: 3.2vw; } .game-inventory-cell { display: table-cell; } piece { cursor: move; border: 1px solid black; background-color: blanchedalmond; width: 100%; height: 0; padding-bottom: 5%; } #game-board { display: table; table-layout: fixed; position: static; width: 100%; height: 100%; max-height: 70%; max-width: 70%; text-align: center; font-size: 3.2vw; /* roughly 15 / table width */ } .game-board-header { display: table-row-group; } .game-board-header-cell { display: table-cell; width: 100%; height: 0; padding-bottom: 1%; } .game-board-col-header { display: table-column-group; } .game-board-col-header-cell { display: table-cell; width: 100%; height: 0; padding-bottom: 1%; } .game-board-row { display: table-row; } .game-board-cell { display: table-cell; width: 100%; height: 0; padding-bottom: 1%; font-size: 2vw; /* roughly 15 / table width */ background: radial-gradient(circle, rgba(255,255,255,1) 38%, rgba(244,244,244,1) 94%); } .double-word { background: radial-gradient(circle, rgba(255,180,243,1) 32%, rgba(255,159,245,1) 84%); } .tripple-word { background: radial-gradient(circle, rgba(249,129,117,1) 32%, rgba(252,101,101,1) 84%); } .tripple-letter { background: radial-gradient(circle, rgba(185,180,255,1) 32%, rgba(180,159,255,1) 84%); } .double-letter { background: radial-gradient(circle, rgba(170,230,255,1) 32%, rgba(159,204,255,1) 84%); } .center-star { background: lightsalmon; }