]> git.cworth.org Git - lmno.games/commitdiff
tictactoe: Increase the size of the board a bit
authorCarl Worth <cworth@cworth.org>
Wed, 27 May 2020 05:24:52 +0000 (22:24 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 27 May 2020 05:24:52 +0000 (22:24 -0700)
This is a fixed size, not yet dynamic (and also not yet centered) but
it's something at least.

tictactoe/tictactoe.css

index d505c7ded3f4b356548b3b40b38c92f3c284dae4..52a8e87b0d81895374560a61a11ad29087d79fe6 100644 (file)
@@ -17,15 +17,20 @@ ol, ul {
   color: black;
   border: 1px solid #999;
   float: left;
   color: black;
   border: 1px solid #999;
   float: left;
-  font-size: 24px;
+  font-size: 64px;
   font-weight: bold;
   font-weight: bold;
-  line-height: 34px;
-  height: 34px;
+  line-height: 90px;
+  width: 90px;
+  height: 90px;
   margin-right: -1px;
   margin-top: -1px;
   padding: 0;
   text-align: center;
   margin-right: -1px;
   margin-top: -1px;
   padding: 0;
   text-align: center;
-  width: 34px;
+  border-radius: 4px;
+}
+
+.square:hover {
+    background-color: var(--accent-color-bright);
 }
 
 .square:focus {
 }
 
 .square:focus {