From 55a0a3de6550f0142b79ab40645c20b465ddded8 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Mon, 10 Feb 2025 01:29:10 -0500 Subject: first person controls --- src/style.scss | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) (limited to 'src/style.scss') diff --git a/src/style.scss b/src/style.scss index 1bc4d97..23c3679 100644 --- a/src/style.scss +++ b/src/style.scss @@ -23,6 +23,17 @@ /// }}} +.dot { + position: absolute; + top: 50%; + left: 50%; + width: 5px; + height: 5px; + border-radius: 50%; + transform: translate3d(-50%, -50%, 0); + border: 2px solid white; +} + html, body, #root { @@ -39,15 +50,6 @@ html { height: 100%; } -/* body { */ -/* color: everforest.$fg; */ -/* background-color: everforest.$bg1; */ -/* margin: 0 auto; */ -/* max-width: 800px; */ -/* padding: 10px; */ -/* min-height: 100%; */ -/* } */ - a { color: everforest.$blue; } @@ -93,3 +95,24 @@ pre table { color: everforest.$orange; } } + +.textPopup { + /* text-align: center; */ + pointer-events: none; + background-color: everforest.$bg1; + color: everforest.$fg; + border-radius: 5px; + font-size: 15px; + width: 200px; + max-width: 50vw; + padding: 5px; +} + +.unselectable { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} -- cgit v1.2.3