119 lines
2.5 KiB
CSS
119 lines
2.5 KiB
CSS
/* index.css */
|
|
:root {
|
|
--poker-green: #0e5d32;
|
|
--gold: #d4af37;
|
|
--wood: #3e2723;
|
|
--white: #ffffff;
|
|
}
|
|
|
|
body {
|
|
background-color: #121212;
|
|
background-image: radial-gradient(circle, #1a1a1a 0%, #000000 100%);
|
|
color: var(--white);
|
|
font-family: 'Segoe UI', sans-serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
}
|
|
|
|
.welcome-container {
|
|
background-color: var(--poker-green);
|
|
padding: 50px;
|
|
border-radius: 80px;
|
|
border: 15px solid var(--wood);
|
|
box-shadow: 0 0 60px rgba(0,0,0,0.9), inset 0 0 30px rgba(0,0,0,0.5);
|
|
text-align: center;
|
|
width: 90%;
|
|
max-width: 450px;
|
|
}
|
|
|
|
h1 {
|
|
color: var(--gold);
|
|
text-transform: uppercase;
|
|
font-size: 2.2rem;
|
|
margin-bottom: 40px;
|
|
text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
|
|
}
|
|
|
|
/* Style pour le lien "Démarrer une partie" */
|
|
.btn-start {
|
|
display: inline-block;
|
|
background: linear-gradient(135deg, #d4af37 0%, #f9e27d 50%, #d4af37 100%);
|
|
color: var(--wood);
|
|
text-decoration: none;
|
|
padding: 15px 30px;
|
|
font-weight: bold;
|
|
font-size: 1.2rem;
|
|
border-radius: 40px;
|
|
margin-bottom: 40px;
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.btn-start:hover {
|
|
transform: scale(1.05);
|
|
box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
|
|
}
|
|
|
|
/* Section rejoindre */
|
|
.join-section {
|
|
border-top: 1px solid rgba(255,255,255,0.2);
|
|
padding-top: 30px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
color: var(--gold);
|
|
margin-bottom: 15px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
input[type="text"] {
|
|
background: rgba(255, 255, 255, 0.9);
|
|
border: 2px solid var(--gold);
|
|
border-radius: 5px;
|
|
padding: 12px;
|
|
width: 60%;
|
|
font-size: 1rem;
|
|
margin-bottom: 15px;
|
|
outline: none;
|
|
text-align: center;
|
|
}
|
|
|
|
button {
|
|
background-color: var(--wood);
|
|
color: var(--gold);
|
|
border: 2px solid var(--gold);
|
|
padding: 10px 20px;
|
|
font-weight: bold;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background 0.3s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #5d3a3a;
|
|
}
|
|
|
|
.btn-join-list{
|
|
background-color: transparent;
|
|
color: var(--gold);
|
|
padding-left: 12px;
|
|
border: 1px solid var(--gold);
|
|
padding: 8px 12px;
|
|
border-radius: 5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.btn-join-list:hover {
|
|
background-color: var(--gold);
|
|
color: var(--wood);
|
|
}
|
|
|
|
li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
} |