Le jeu fonctionne yipa !

This commit is contained in:
batche
2022-12-14 12:12:10 +01:00
parent 0877cd284f
commit c2242c481b
2 changed files with 9 additions and 8 deletions

View File

@@ -96,6 +96,7 @@
<p>grid on/off: 'g'</p> <p>grid on/off: 'g'</p>
</div> </div>
{/if} {/if}
<div id="canvas_container"> <div id="canvas_container">
<!-- <p> =) </p> --> <!-- <p> =) </p> -->
</div> </div>

View File

@@ -10,10 +10,10 @@
user = await fetch('http://transcendance:8080/api/v2/user') user = await fetch('http://transcendance:8080/api/v2/user')
.then( (x) => x.json() ); .then( (x) => x.json() );
}) })
</script> </script>
<!-- is this if excessive? --> <!-- is this if excessive? -->
@@ -115,7 +115,7 @@
/* Glittery Star Stuff */ /* Glittery Star Stuff */
:root { :root {
--purple: rgb(123, 31, 162); --purple: rgb(123, 31, 162);
--violet: rgb(103, 58, 183); --violet: rgb(103, 58, 183);
--pink: rgb(244, 143, 177); --pink: rgb(244, 143, 177);
@@ -126,7 +126,7 @@
from { from {
background-position: 0% center; background-position: 0% center;
} }
to { to {
background-position: -200% center; background-position: -200% center;
} }
@@ -136,7 +136,7 @@
from, to { from, to {
transform: scale(0); transform: scale(0);
} }
50% { 50% {
transform: scale(1); transform: scale(1);
} }
@@ -146,7 +146,7 @@
from { from {
transform: rotate(0deg); transform: rotate(0deg);
} }
to { to {
transform: rotate(180deg); transform: rotate(180deg);
} }
@@ -191,7 +191,7 @@
var(--purple) var(--purple)
); );
background-size: 200%; background-size: 200%;
/* Keep these for Safari and chrome */ /* Keep these for Safari and chrome */
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
@@ -203,4 +203,4 @@
white-space: nowrap; white-space: nowrap;
} }
</style> </style>