fixed scroll and change position of element in index.html

This commit is contained in:
Didictateur 2026-02-23 14:10:39 +01:00
parent a537ed78e6
commit c874df0841
2 changed files with 16 additions and 9 deletions

View file

@ -1,8 +1,13 @@
/* Style global */
html {
height: 100%;
overflow-y: auto;
}
body {
margin: 0;
padding: 0;
overflow: hidden;
min-height: 100%;
background: radial-gradient(circle at center, #1a5c1a 0%, #0d3d0d 100%);
font-family: Arial, sans-serif;
}
@ -13,8 +18,8 @@ body::after {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
width: 100vh;
height: 100vh;
background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.15) 100%);
pointer-events: none;
z-index: -1;

View file

@ -34,9 +34,9 @@
}
#mascotte {
position: fixed;
bottom: 0px;
right: 160px;
position: relative;
bottom: -0px;
right: 0px;
z-index: 999;
transform: scaleX(-1);
cursor: pointer;
@ -49,11 +49,13 @@
}
.speech-bubble {
position: fixed;
bottom: 320px;
right: 170px;
position: relative;
bottom: 0px;
left: 700px;
z-index: 998;
display: flex;
width: 1025px;
height: 560px;
}
.speech-bubble.hidden {