add game lists

This commit is contained in:
2026-03-30 20:41:02 +02:00
parent 94bdaca023
commit f901952394
2 changed files with 105 additions and 0 deletions
+63
View File
@@ -136,4 +136,67 @@ body {
@media (max-width: 600px) {
.yahtzee-table { border-radius: 40px; padding: 20px; }
.neon-dice { font-size: 2.2rem; }
}
/* Style des lignes de parties */
.game-item-row {
display: flex;
justify-content: space-between;
align-items: center;
background: rgba(26, 42, 108, 0.4); /* Bleu nuit transparent */
border: 1px solid rgba(212, 175, 55, 0.3); /* Bordure dorée subtile */
margin-bottom: 15px;
padding: 15px 25px;
border-radius: 15px;
transition: all 0.3s ease;
}
.game-item-row:hover {
background: rgba(26, 42, 108, 0.7);
transform: translateX(5px);
border-color: var(--gold, #d4af37);
box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.game-info {
display: flex;
flex-direction: column;
text-align: left;
}
.game-name {
font-size: 1.2rem;
font-weight: bold;
color: #fff;
text-transform: uppercase;
}
.game-players-count {
font-size: 0.9rem;
color: var(--gold, #d4af37);
}
/* Bouton rejoindre */
.btn-join {
background: transparent;
border: 2px solid #ff3131; /* Rouge néon */
color: #ff3131;
padding: 8px 20px;
border-radius: 20px;
cursor: pointer;
font-weight: bold;
text-transform: uppercase;
transition: all 0.3s;
}
.btn-join:hover {
background: #ff3131;
color: #fff;
box-shadow: 0 0 15px rgba(255, 49, 49, 0.6);
}
.placeholder-text {
font-style: italic;
opacity: 0.5;
padding: 20px;
}