X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=tictactoe%2Ftictactoe.css;fp=tictactoe%2Ftictactoe.css;h=0e56082c8fa7e495d1c82200f2103ea5d073a557;hb=f0c30f7cd59ecfca24e6a7332910f87a6b2045e6;hp=0000000000000000000000000000000000000000;hpb=265bf0229c5805d5e5823240f6faadd2df902856;p=lmno.games diff --git a/tictactoe/tictactoe.css b/tictactoe/tictactoe.css new file mode 100644 index 0000000..0e56082 --- /dev/null +++ b/tictactoe/tictactoe.css @@ -0,0 +1,50 @@ +body { + font: 14px "Century Gothic", Futura, sans-serif; + margin: 20px; +} + +ol, ul { + padding-left: 30px; +} + +.board-row:after { + clear: both; + content: ""; + display: table; +} + +.status { + margin-bottom: 10px; +} + +.square { + background: #fff; + border: 1px solid #999; + float: left; + font-size: 24px; + font-weight: bold; + line-height: 34px; + height: 34px; + margin-right: -1px; + margin-top: -1px; + padding: 0; + text-align: center; + width: 34px; +} + +.square:focus { + outline: none; +} + +.kbd-navigation .square:focus { + background: #ddd; +} + +.game { + display: flex; + flex-direction: row; +} + +.game-info { + margin-left: 20px; +}