From 34314cbdfb6e0866617e45ce023b1cc0dd8ab5c5 Mon Sep 17 00:00:00 2001 From: qdegrandmaison Date: Wed, 30 Nov 2022 13:20:25 +0100 Subject: [PATCH 1/3] feat(css): add customization --- src/index.html | 748 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 725 insertions(+), 23 deletions(-) diff --git a/src/index.html b/src/index.html index dc6abc1..058aba2 100644 --- a/src/index.html +++ b/src/index.html @@ -1,34 +1,736 @@ - + + + + + + + Secret Santa + + + + + +

Secret Santa!

- - - + -Secret Santa +

-

Secret Santa

+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- + + -
- - + .then((response) => response.text()) + .then((text) => { + document.getElementById( + "result" + ).textContent = `Your draw: ${text}`; + document.getElementById("person").remove(); + }); + }); + + + + -- 2.49.1 From 4358baa1b7be40b2efc0ebe48d8bd03c5788aa23 Mon Sep 17 00:00:00 2001 From: qdegrandmaison Date: Wed, 30 Nov 2022 14:01:11 +0100 Subject: [PATCH 2/3] fix(css): dirty support of multiple viewports --- src/index.html | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/src/index.html b/src/index.html index 058aba2..f830ee1 100644 --- a/src/index.html +++ b/src/index.html @@ -2,7 +2,7 @@ - + Secret Santa @@ -10,10 +10,11 @@ -

Secret Santa!

+

Secret Santa

@@ -70,7 +71,7 @@ @@ -100,22 +103,32 @@ align-items: center; margin: 0; padding: 0; + overflow: hidden; } h1 { color: white; font-family: Arial, Helvetica, sans-serif; font-size: 5em; + text-align: center; + z-index: 10; + } + + select { + z-index: 10; } h2 { color: white; font-family: Arial, Helvetica, sans-serif; font-size: 3em; + text-align: center; + z-index: 10; + background: rgba(0, 0, 0, 0.5); } #christmas-container { - position: absolute; + position: fixed; right: 20%; bottom: 30%; } @@ -141,24 +154,12 @@ height: 0; border-left: 90px solid transparent; border-right: 90px solid transparent; - border-bottom: 270px solid #127475; + border-bottom: 270px solid #0e9594; border-radius: 30px; top: -250px; left: -75px; } - .tree:after { - content: ""; - position: relative; - width: 0; - height: 0; - border-right: 90px solid transparent; - border-bottom: 270px solid #0e9594; - border-bottom-right-radius: 30px; - top: -250px; - left: -165px; - } - .chain { width: 85px; height: 85px; -- 2.49.1 From a17ce6ad8ad0a50aadee732c057eadcad354ab2d Mon Sep 17 00:00:00 2001 From: qdegrandmaison Date: Wed, 30 Nov 2022 14:08:11 +0100 Subject: [PATCH 3/3] fix(js): remove test data --- src/index.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/index.html b/src/index.html index f830ee1..9f3f874 100644 --- a/src/index.html +++ b/src/index.html @@ -14,7 +14,6 @@ @@ -71,7 +70,7 @@ -- 2.49.1