uyk wd<ehsgfesjkhgfvk

This commit is contained in:
2026-03-03 20:10:34 +01:00
parent 60edd9d865
commit aff0a7d0b8
2 changed files with 54 additions and 57 deletions
+25 -37
View File
@@ -430,55 +430,50 @@ button.btn-back {
/* Conteneur principal en overlay */
.win-panel {
/* Positionnement fixe au milieu de l'écran ou du container */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
transform: translate(-50%, -50%); /* Centrage parfait */
/* Style du panneau */
width: 400px;
background-color: rgba(20, 20, 20, 0.95); /* Fond sombre opaque */
border: 3px solid #d4af37; /* Bordure dorée */
border-radius: 15px;
padding: 25px;
width: 450px;
background: rgba(15, 15, 15, 0.98);
border: 3px solid #d4af37;
border-radius: 20px;
padding: 30px;
text-align: center;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
/* S'assurer qu'il passe devant tout */
z-index: 9999;
}
/* Titre du panel */
.win-panel h2 {
color: #ffffff;
font-size: 1.4rem;
margin-bottom: 20px;
font-family: Arial, sans-serif;
z-index: 10000; /* Toujours au-dessus */
box-shadow: 0 0 50px rgba(0, 0, 0, 1);
animation: scaleUp 0.3s ease-out;
}
.win-panel h2 {
color: #d4af37;
margin-bottom: 20px;
font-size: 1.6rem;
}
/* Zone des boutons */
#winner-buttons-area {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
gap: 12px;
}
/* Style des boutons joueurs */
.btn-win {
background: #444;
background: #1a4a31;
color: white;
border: 1px solid #d4af37;
padding: 8px 15px;
border-radius: 5px;
padding: 10px 20px;
border-radius: 8px;
font-weight: bold;
cursor: pointer;
font-size: 0.9rem;
transition: all 0.2s;
}
.btn-win:hover {
background: #d4af37;
color: #000;
color: black;
transform: scale(1.1);
}
/* Bouton Rejouer / Retour Accueil */
@@ -510,16 +505,9 @@ button.btn-back {
filter: brightness(1.2);
}
/* Petite animation d'entrée */
@keyframes fadeInScale {
from {
opacity: 0;
transform: translate(-50%, -60%) scale(0.8);
}
to {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
@keyframes scaleUp {
from { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
/* --- ADAPTATION MOBILE --- */