From 6049a8b6cd08e1deef66b0cd68317eb373b8f782 Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Sat, 10 Jul 2021 17:43:14 -0400 Subject: [PATCH 1/7] Kindof fix title, switch to using css varriables --- style.css | 38 ++++++++++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/style.css b/style.css index 72c85cb..aeb5cd9 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,14 @@ +:root { + --term-colour: #9C64FE; + --term-bg-colour: #191919; + --main-colour: white; + --main-bg-colour: #3C3C3C; + --body-bg-colour: black; +} + body { text-align: center; - background-color: black; + background-color: var(--body-bg-colour); font-family: "Courier New", monospace; } @@ -20,15 +28,25 @@ p { display:inline-block; font-weight: bolder; } +h2#terminal { + margin: 10px; + padding-left: 12%; + align-content: center; +} #infobox { text-align: center; background: rgb(60, 60, 60); - color:white; + color: var(--main-colour); width: 50%; height: 10%; margin-left: 25%; margin-top: 5%; + padding-bottom: 10px; +} + +h4 { + padding: 5px; } #roundedtop { @@ -37,14 +55,14 @@ p { border-color: rgb(60, 60, 60); border-bottom: solid; border-bottom-color: darkgray; - border-width: 1px; + border-width: 2px; height: 5%; width: 50%; margin-top: 5%; margin-left: 25%; background-color: rgb(60, 60, 60); position: relative; - color:white; + color: var(--main-colour); font-weight: bolder; word-spacing: 10px; text-align: center; @@ -53,8 +71,8 @@ p { #userText { margin-left: 25%; justify-content: center; - background-color: rgb(60, 60, 60); - color: white; + background-color: var(--term-bg-colour); + color: var(--term-colour); text-align: left; height: 45%; width: 50%; @@ -68,13 +86,13 @@ p { background-image: url('./greaterthans.png'); background-position: 10px 10px; background-repeat: no-repeat; - background: rgb(60, 60, 60); - color: white; + background: var(--term-bg-colour); + color: var(--term-colour); border-top: solid; border-color: darkgray; - border-width: 1px; + border-width: 2px; } #userInput:focus { outline: none; -} \ No newline at end of file +} From cab9dc5193819e5e5776d0f9cbb7754697a9d16f Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Sat, 10 Jul 2021 17:45:00 -0400 Subject: [PATCH 2/7] Switch back to default colours --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index aeb5cd9..9078e4f 100644 --- a/style.css +++ b/style.css @@ -1,6 +1,6 @@ :root { - --term-colour: #9C64FE; - --term-bg-colour: #191919; + --term-colour: white; + --term-bg-colour: #3C3C3C; --main-colour: white; --main-bg-colour: #3C3C3C; --body-bg-colour: black; From ec0fd8488416b484b5b0e6e746ff9da9ff0e660f Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Sat, 10 Jul 2021 17:58:46 -0400 Subject: [PATCH 3/7] Add a little bit of rounding to the infobox, and make the input text monospace as well --- style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/style.css b/style.css index 9078e4f..177cf90 100644 --- a/style.css +++ b/style.css @@ -43,6 +43,7 @@ h2#terminal { margin-left: 25%; margin-top: 5%; padding-bottom: 10px; + border-radius: 2px; } h4 { @@ -91,6 +92,7 @@ h4 { border-top: solid; border-color: darkgray; border-width: 2px; + font-family: monospace; } #userInput:focus { From c725e941959a2945fdb88ab5dc3d51f0edae1f79 Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Sat, 10 Jul 2021 18:03:00 -0400 Subject: [PATCH 4/7] Make contact info link to website --- index.html | 4 ++-- style.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 13a2fe0..d597626 100644 --- a/index.html +++ b/index.html @@ -7,9 +7,9 @@

-

Info:

This game and website are a complete work in progress. None of this is final. If you have any suggestions feel free to contact Luna.

+

Info:

This game and website are a complete work in progress. None of this is final. If you have any suggestions feel free to contact Luna.

- \ No newline at end of file + diff --git a/style.css b/style.css index 177cf90..fcd7a5f 100644 --- a/style.css +++ b/style.css @@ -16,6 +16,10 @@ p { padding-left: 1%; } +a { + color: #fdffea; +} + #fakebuttons { margin: auto; padding-top: 1%; From 65eb297d1896b19780af290e1940970710320856 Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Sat, 10 Jul 2021 18:05:50 -0400 Subject: [PATCH 5/7] Make buttons unselectable --- style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/style.css b/style.css index fcd7a5f..0dc2aee 100644 --- a/style.css +++ b/style.css @@ -26,6 +26,7 @@ a { text-align: right; float: right; padding-right: 2%; + user-select: none; } #terminal { From d02600d9605612e8bb6e585a0769c98dd887dba9 Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Sat, 10 Jul 2021 18:16:43 -0400 Subject: [PATCH 6/7] Add various niceties to index.html --- index.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/index.html b/index.html index d597626..70a1c13 100644 --- a/index.html +++ b/index.html @@ -1,15 +1,33 @@ + + + + + + + + + + + + +

Terminal

_ ☐ X

+

+ +

Info:

This game and website are a complete work in progress. None of this is final. If you have any suggestions feel free to contact Luna.

+ + From 3deca3734b22d6794468b7a4d28919e5f16efaf7 Mon Sep 17 00:00:00 2001 From: Erin Nova Date: Sat, 10 Jul 2021 18:18:32 -0400 Subject: [PATCH 7/7] Add robots.txt file --- robots.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 robots.txt diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..1990297 --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-agent: Googlebot +Disallow: /