ada 1 year ago
commit b04eaa469a

Before

Width:  |  Height:  |  Size: 7.3 MiB

After

Width:  |  Height:  |  Size: 7.3 MiB

Before

Width:  |  Height:  |  Size: 7.4 MiB

After

Width:  |  Height:  |  Size: 7.4 MiB

Before

Width:  |  Height:  |  Size: 4.7 MiB

After

Width:  |  Height:  |  Size: 4.7 MiB

Before

Width:  |  Height:  |  Size: 4.4 MiB

After

Width:  |  Height:  |  Size: 4.4 MiB

@ -20,7 +20,7 @@ questions.onreadystatechange = function() {
questions.send(); questions.send();
function preload(){ function preload(){
img=loadImage('wheel2803.svg'); img=loadImage('wheel2803.png');
} }
function setup() { function setup() {
var canvas = createCanvas(windowWidth/2, windowHeight/2); var canvas = createCanvas(windowWidth/2, windowHeight/2);
@ -67,7 +67,7 @@ function draw() {
card(); card();
} }
} }
image (img,0,0,250,250); image (img,0,0,windowWidth/2, windowWidth/2);
} }
</script> </script>
</head> </head>
@ -106,14 +106,14 @@ function draw() {
</div> </div>
<div class="credits"> <div class="credits">
<p>Photo by Guillermo Ferla on Unsplash</p> <p>Photo by Ashwini Chaudhary(Monty) on Unsplash</p>
</div> </div>
<img class="top-left-corner" src="/spin-wheel/svg/moon-stars.svg"> <img class="top-left-corner" src="./svg/moon-stars.svg">
<img class="top-right-corner" src="/spin-wheel/svg/dream-catcher.svg"> <img class="top-right-corner" src="./svg/dream-catcher.svg">
<img class="bottom-left-corner" src="/spin-wheel/svg/crystalsleft.svg"> <img class="bottom-left-corner" src="./svg/crystalsleft.svg">
<img class="bottom-right-corner" src="/spin-wheel/svg/crystalsright.svg"> <img class="bottom-right-corner" src="./svg/crystalsright.svg">

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

@ -88,8 +88,8 @@ html::before { /* Add a pseudo-element to the html element */
} }
button{ button{
color:black; color:whitesmoke;
background-color:cyan; background-color:violet;
position: center; position: center;
top:6%; top:6%;
left:50%; left:50%;
@ -108,7 +108,7 @@ html::before { /* Add a pseudo-element to the html element */
width: fit-content; width: fit-content;
height: fit-content; height: fit-content;
padding: 5%; padding: 5%;
background-color: azure; background-color:azure;
z-index: 3; z-index: 3;
transform: translate(-50%,-50%); transform: translate(-50%,-50%);
display: none; display: none;
@ -121,25 +121,25 @@ html::before { /* Add a pseudo-element to the html element */
text-align: center; text-align: center;
font-family: fantasy; font-family: fantasy;
font-size:5em; font-size:5em;
color:antiquewhite; color:lavender;
} }
h2 { h2 {
text-align: center; text-align: center;
font-family: fantasy; font-family: fantasy;
color:antiquewhite; color:lavender;
} }
h3 { h3 {
text-align: center; text-align: center;
font-family: fantasy; font-family: fantasy;
color:antiquewhite; color:paleturquoise;
} }
p { p {
text-align: center; text-align: center;
font-family: monospace; font-family: monospace;
color:antiquewhite; color:lavender;
font-size: 1.2em; font-size: 1.2em;
padding-right: 15%; padding-right: 15%;
padding-left: 15%; padding-left: 15%;

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 890 B

After

Width:  |  Height:  |  Size: 890 B

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Before

Width:  |  Height:  |  Size: 245 KiB

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Loading…
Cancel
Save