208 lines
4.7 KiB
CSS
208 lines
4.7 KiB
CSS
/* config.css - Version Poker PAF Harmonisée */
|
|
:root {
|
|
--table-green: radial-gradient(circle, #277d46 0%, #1a5e33 100%);
|
|
--poker-border: #2c1b18;
|
|
--gold: #d4af37;
|
|
--gold-light: #f9e27d;
|
|
--dark-bg: #0a0a0a;
|
|
--white: #ffffff;
|
|
--wood-dark: #1a0f0d;
|
|
--danger: #b71c1c;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--dark-bg);
|
|
background-image: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
|
|
color: var(--white);
|
|
font-family: 'Segoe UI', Roboto, sans-serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* --- LE CONTENEUR (Exactement comme l'accueil) --- */
|
|
.container {
|
|
background: var(--table-green);
|
|
padding: 40px 50px;
|
|
border-radius: 40px; /* Carré arrondi comme l'accueil */
|
|
border: 15px solid var(--poker-border);
|
|
box-shadow: 0 25px 50px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,0,0,0.6);
|
|
width: 100%;
|
|
max-width: 500px;
|
|
position: relative;
|
|
outline: 2px solid #3d2b27;
|
|
}
|
|
|
|
/* --- LE LISERÉ BLANC --- */
|
|
.container::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
|
border-radius: 30px;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
h1 {
|
|
color: var(--gold);
|
|
text-transform: uppercase;
|
|
font-size: 1.8rem;
|
|
margin-bottom: 30px;
|
|
text-align: center;
|
|
letter-spacing: 1px;
|
|
text-shadow: 2px 2px 0px rgba(0,0,0,0.8);
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* --- FORMULAIRE ET INPUTS --- */
|
|
form {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
color: var(--gold);
|
|
font-weight: bold;
|
|
margin-bottom: 8px;
|
|
text-transform: uppercase;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
label.info {
|
|
text-transform: none;
|
|
font-size: 0.8rem;
|
|
color: rgba(255,255,255,0.5);
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
input[type="number"],
|
|
input[type="text"] {
|
|
width: 100%;
|
|
padding: 12px;
|
|
margin-bottom: 20px;
|
|
border: 2px solid rgba(212, 175, 55, 0.5);
|
|
border-radius: 10px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
color: white;
|
|
font-size: 1rem;
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
input:focus {
|
|
outline: none;
|
|
border-color: var(--gold);
|
|
background: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
/* --- LIGNES JOUEURS --- */
|
|
.player-row {
|
|
display: flex;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.player-row p {
|
|
color: var(--gold);
|
|
font-weight: bold;
|
|
margin: 0;
|
|
min-width: 20px;
|
|
}
|
|
|
|
.player-row input {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
/* --- BOUTONS --- */
|
|
button, input[type="submit"] {
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
transition: all 0.3s;
|
|
border: none;
|
|
}
|
|
|
|
/* Ajouter un joueur */
|
|
button[type="button"] {
|
|
background-color: rgba(0,0,0,0.4);
|
|
color: var(--white);
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
padding: 10px 15px;
|
|
border-radius: 8px;
|
|
margin: 10px 0 20px 0;
|
|
width: 100%;
|
|
}
|
|
|
|
button[type="button"]:hover {
|
|
background-color: rgba(255,255,255,0.1);
|
|
border-color: var(--white);
|
|
}
|
|
|
|
/* Poubelle */
|
|
.player-row button {
|
|
background-color: var(--danger);
|
|
color: white;
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
width: auto;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Bouton Démarrer (Gros bouton doré comme l'accueil) */
|
|
input[type="submit"] {
|
|
width: 100%;
|
|
background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
|
|
color: var(--wood-dark);
|
|
padding: 18px;
|
|
font-size: 1.2rem;
|
|
border-radius: 50px;
|
|
margin-top: 10px;
|
|
box-shadow: 0 8px 0px #927521, 0 15px 20px rgba(0,0,0,0.4);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
input[type="submit"]:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 0px #927521, 0 20px 25px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
/* Bouton Retour */
|
|
.btn-back {
|
|
position: absolute;
|
|
top: 25px;
|
|
left: 30px;
|
|
color: var(--gold);
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
font-size: 0.8rem;
|
|
background: none !important;
|
|
border: none !important;
|
|
padding: 0 !important;
|
|
z-index: 10;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.btn-back:hover {
|
|
opacity: 1;
|
|
transform: translateX(-3px);
|
|
}
|
|
|
|
/* --- ADAPTATION MOBILE --- */
|
|
@media (max-width: 600px) {
|
|
body { align-items: flex-start; }
|
|
.container {
|
|
padding: 30px 20px;
|
|
border-width: 10px;
|
|
border-radius: 30px;
|
|
}
|
|
.container::before { top: 7px; left: 7px; right: 7px; bottom: 7px; }
|
|
.btn-back { position: relative; top: 0; left: 0; margin-bottom: 20px; }
|
|
} |