From e0ba9f3c92ce7ae40aa4f13b5213ef5ff1690a6b Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Tue, 19 Jul 2022 15:12:41 -0400 Subject: [PATCH] Start switching the layout to use CSS grids --- game.js | 4 +- stroll.html | 42 +++++++++--------- style.css | 124 +++++++++++++++++++++++----------------------------- 3 files changed, 79 insertions(+), 91 deletions(-) diff --git a/game.js b/game.js index 2c6d361..605f703 100644 --- a/game.js +++ b/game.js @@ -5293,7 +5293,9 @@ function startGame(e) { enable_growth_part("paws"); - document.getElementById("log-area").style.display = 'inline'; + document.querySelector(".game-area").style.display = 'grid'; + document.getElementById("log").style.display = 'inline'; + document.getElementById("react-log").style.display = 'inline'; document.getElementById("character-build-area").style.display = 'none'; document.getElementById("action-panel").style.display = 'flex'; diff --git a/stroll.html b/stroll.html index 2a919a5..b7cfcad 100644 --- a/stroll.html +++ b/stroll.html @@ -185,32 +185,32 @@ - - - - - - +
+ + + + + + +
-
-
-
Welcome to Stroll
-
 
-
-
 
-
This game features 18+ content
-
 
-
-
-
It's a nice day for a walk.
-
 
-
This log will show automatic actions.
-
 
-
+
+
Welcome to Stroll
+
 
+
+
 
+
This game features 18+ content
+
 
+
+
+
It's a nice day for a walk.
+
 
+
This log will show automatic actions.
+