Spaces:
Paused
Paused
| body { | |
| font-family: Arial, sans-serif; | |
| background-color: #1a1a1a; | |
| color: #ffffff; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| height: 100vh; | |
| margin: 0; | |
| } | |
| .container { | |
| text-align: center; | |
| background-color: #2a2a2a; | |
| padding: 2rem; | |
| border-radius: 10px; | |
| box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); | |
| } | |
| h1 { | |
| margin-bottom: 2rem; | |
| } | |
| button { | |
| background-color: #4caf50; | |
| border: none; | |
| color: white; | |
| padding: 15px 32px; | |
| text-align: center; | |
| text-decoration: none; | |
| display: inline-block; | |
| font-size: 16px; | |
| margin: 4px 2px; | |
| cursor: pointer; | |
| border-radius: 5px; | |
| transition: background-color 0.3s; | |
| } | |
| button:hover { | |
| background-color: #45a049; | |
| } | |
| input[type="text"] { | |
| padding: 10px; | |
| font-size: 16px; | |
| border: 2px solid #4caf50; | |
| border-radius: 5px; | |
| margin-right: 10px; | |
| background-color: #333; | |
| color: white; | |
| } | |
| #sessionInfo, | |
| #joinGame { | |
| margin-top: 20px; | |
| } | |
| #hangmanSvg { | |
| width: 200px; | |
| height: 220px; | |
| margin: 20px auto; | |
| } | |
| .word-display { | |
| font-size: 24px; | |
| letter-spacing: 5px; | |
| margin: 20px 0; | |
| } | |
| .guesses { | |
| margin-bottom: 20px; | |
| } | |
| .player-turn { | |
| font-weight: bold; | |
| margin-bottom: 10px; | |
| } | |
| #guessInput { | |
| width: 30px; | |
| text-align: center; | |
| } | |
| #message { | |
| margin-top: 20px; | |
| font-weight: bold; | |
| } | |