From f4e6c3ffdbeed93a99c69f905f1cf203478d2eb6 Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 9 Jul 2021 20:47:57 -0700 Subject: [PATCH] More Updates to website --- index.html | 2 +- index.js | 3 ++- style.css | 33 ++++++++++++++++++++------------- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 869d94a..13a2fe0 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ -

Terminal

_ ☐ X

+

Terminal

_ ☐ X

diff --git a/index.js b/index.js index 5438c7d..14dd890 100644 --- a/index.js +++ b/index.js @@ -59,6 +59,7 @@ function isgameOver() { function listCommands() { if (userInput.value.toLowerCase() === "commands") { - printBold(Object.keys(locations[currentLocation].visibleVerbs).join(", ")) + //printBold(Object.keys(locations[currentLocation].visibleVerbs).join(", ")) + printBold("Commands, Look, Inventory, Location.") } } \ No newline at end of file diff --git a/style.css b/style.css index e537a8d..72c85cb 100644 --- a/style.css +++ b/style.css @@ -4,17 +4,21 @@ body { font-family: "Courier New", monospace; } -h3 { - margin: auto; - text-align: right; - float: right; - padding: 1%; +p { + padding-left: 1%; } -h2 { - text-align: center; - display:inline; - padding: 1%; +#fakebuttons { + margin: auto; + padding-top: 1%; + text-align: right; + float: right; + padding-right: 2%; +} + +#terminal { + display:inline-block; + font-weight: bolder; } #infobox { @@ -31,7 +35,9 @@ h2 { border-top: solid; border-radius: 10px 10px 0px 0px; border-color: rgb(60, 60, 60); - border-bottom-style: none; + border-bottom: solid; + border-bottom-color: darkgray; + border-width: 1px; height: 5%; width: 50%; margin-top: 5%; @@ -41,7 +47,7 @@ h2 { color:white; font-weight: bolder; word-spacing: 10px; - + text-align: center; } #userText { @@ -64,8 +70,9 @@ h2 { background-repeat: no-repeat; background: rgb(60, 60, 60); color: white; - padding-left: 40px; - padding-top: 10px; + border-top: solid; + border-color: darkgray; + border-width: 1px; } #userInput:focus {