summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css19
1 files changed, 17 insertions, 2 deletions
diff --git a/style.css b/style.css
index 7d71c39..8e74e3a 100644
--- a/style.css
+++ b/style.css
@@ -4,11 +4,14 @@ body {
--image: url("https://upload.wikimedia.org/wikipedia/commons/0/09/Croatia_Opatija_Maiden_with_the_Seagull_BW_2014-10-10_10-35-13.jpg");
--view-width: 800px;
--view-height: 480px;
+ margin: 0;
+ position: relative;
}
#play-area {
- width: 100vw;
- height: 100vh;
+ width: 90vw;
+ height: 90vh;
+ padding: 5vh 5vw;
position: relative;
user-select: none;
}
@@ -21,3 +24,15 @@ body {
background-size: var(--view-width) var(--view-height);
/* clip-path: path("M0 0 L40 0 L40 40 L0 40 Z"); */
}
+.debug-point {
+ position: absolute;
+ width: 1px;
+ height: 1px;
+ z-index: 999999;
+ background-image: none;
+}
+.debug-relative {
+ position: relative;
+ width: 100%;
+ height: 100%;
+}