diff --git a/_assets/stylesheets/less/pgn4web.less b/_assets/stylesheets/less/pgn4web.less index f08e54a..0771860 100644 --- a/_assets/stylesheets/less/pgn4web.less +++ b/_assets/stylesheets/less/pgn4web.less @@ -36,30 +36,27 @@ body, html { height: 100%; } @tableBorder: 1px solid #ddd; -#GameTextWrapper { +#GameText { position: absolute; top: 0; bottom: 0; left: @boardSize + 10px; display: block; - width: 180px; + width: 170px; overflow-y: auto; } -#GameText { - display: table; - border-left: @tableBorder; - #ShowPgnText > :nth-child(-n+4) { border-top: @tableBorder; } +#ShowPgnText { + > * { float: left; } + > *:nth-child(-n+4) { border-top: @tableBorder; } + > *:nth-child(5n+1) { border-left: @tableBorder; } .move { - display: table-cell; - float: left; border-bottom: @tableBorder; border-right: @tableBorder; text-align: center; } span.move { width: 40px; } a.move { width: 50px; } - .variation { float: left; } } .moveOn, .variationOn { background-color: #ccc; } diff --git a/_layouts/game.html b/_layouts/game.html index 573efb2..282df3e 100644 --- a/_layouts/game.html +++ b/_layouts/game.html @@ -19,9 +19,7 @@ layout: default

-
-
-
+