mirror of
https://github.com/EDeev/web-tech.git
synced 2026-06-15 19:11:07 +03:00
103 lines
No EOL
1.7 KiB
CSS
103 lines
No EOL
1.7 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.container {
|
|
background: white;
|
|
padding: 40px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
|
max-width: 400px;
|
|
width: 100%;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin: 0 0 30px 0;
|
|
color: #333;
|
|
}
|
|
|
|
.game-info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 15px;
|
|
padding-bottom: 15px;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
color: #666;
|
|
}
|
|
|
|
.game-stats {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 30px;
|
|
color: #666;
|
|
}
|
|
|
|
.game-info span,
|
|
.game-stats span {
|
|
font-size: 14px;
|
|
}
|
|
|
|
#question-container {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#question {
|
|
font-size: 32px;
|
|
margin-bottom: 25px;
|
|
color: #333;
|
|
}
|
|
|
|
#answer {
|
|
width: 100%;
|
|
padding: 12px;
|
|
font-size: 16px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
box-sizing: border-box;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
#answer:focus {
|
|
outline: none;
|
|
border-color: #4CAF50;
|
|
}
|
|
|
|
button {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
padding: 12px 30px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
margin: 5px;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #45a049;
|
|
}
|
|
|
|
#feedback {
|
|
text-align: center;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
min-height: 25px;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
#result-container {
|
|
text-align: center;
|
|
}
|
|
|
|
#result-container h2 {
|
|
margin-bottom: 25px;
|
|
color: #333;
|
|
} |