93 lines
1.6 KiB
CSS
93 lines
1.6 KiB
CSS
body {
|
|
font-family: 'Segoe UI', sans-serif;
|
|
background: #f0f4f8;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
}
|
|
|
|
.game-container {
|
|
text-align: center;
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 12px;
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.1);
|
|
width: 90%;
|
|
max-width: 500px;
|
|
}
|
|
|
|
#dark-mode-toggle {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#session-timer {
|
|
font-size: 0.9rem;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#high-score {
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.gif-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#word-display {
|
|
font-size: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#word-input {
|
|
font-size: 1.2rem;
|
|
padding: 0.5rem;
|
|
border: 2px solid #ccc;
|
|
border-radius: 8px;
|
|
width: 100%;
|
|
}
|
|
|
|
.stats {
|
|
margin-top: 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.tip-box {
|
|
margin-top: 1rem;
|
|
padding: 0.5rem;
|
|
background: #e6f7ff;
|
|
border-left: 5px solid #1890ff;
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.stretch-popup {
|
|
margin-top: 1rem;
|
|
color: #d48806;
|
|
font-weight: bold;
|
|
}
|
|
|
|
body.dark-mode {
|
|
background: #1a1a1a;
|
|
color: #ffffff;
|
|
}
|
|
|
|
body.dark-mode .game-container {
|
|
background: #2c2c2c;
|
|
color: #ffffff;
|
|
}
|
|
|
|
body.dark-mode input {
|
|
background: #333;
|
|
color: #fff;
|
|
border: 2px solid #888;
|
|
}
|
|
|