2025-08-14 20:07:44 +09:00
|
|
|
body {
|
2025-08-08 22:45:17 +09:00
|
|
|
text-align: center;
|
|
|
|
vertical-align: middle;
|
|
|
|
font-weight: bold;
|
2025-08-15 13:18:42 +09:00
|
|
|
background-color: red;
|
2025-08-08 22:45:17 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#scoreA {
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
width: fit-content;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 45px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#display {
|
|
|
|
width: 100%;
|
|
|
|
height: 100vh;
|
|
|
|
font-size: 8vh;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#question {
|
|
|
|
height: 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#word {
|
|
|
|
font-size: 8vh;
|
2025-08-14 20:07:44 +09:00
|
|
|
font-family: 'Microsoft YaHei', sans-serif;
|
2025-08-08 22:45:17 +09:00
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
#pronunc {
|
|
|
|
font-size: 4vh;
|
2025-08-15 13:18:42 +09:00
|
|
|
color: gold;
|
2025-08-08 22:45:17 +09:00
|
|
|
}
|
|
|
|
|
2025-08-15 20:57:59 +09:00
|
|
|
#BGMButton {
|
|
|
|
font-family: 'Microsoft YaHei', sans-serif;
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
padding: 5px;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 2rem;
|
|
|
|
border: 3px solid gold;
|
|
|
|
background-color: red;
|
|
|
|
color: gold;
|
|
|
|
font-size: 4vh;
|
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
transition: all 0.3s;
|
|
|
|
box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
|
|
|
|
}
|
|
|
|
|
|
|
|
#BGMButton:hover{
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
2025-08-08 22:45:17 +09:00
|
|
|
#ans_0 {
|
|
|
|
width: 50%;
|
|
|
|
height: 40%;
|
2025-08-15 13:18:42 +09:00
|
|
|
color: black;
|
|
|
|
background-color: red;
|
|
|
|
border: 5px solid gold;
|
2025-08-08 22:45:17 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#ans_0:hover {
|
|
|
|
opacity: 0.6;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ans_1 {
|
|
|
|
width: 50%;
|
2025-08-15 13:18:42 +09:00
|
|
|
color: black;
|
|
|
|
background-color: red;
|
|
|
|
border: 5px solid gold;
|
2025-08-08 22:45:17 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#ans_1:hover {
|
|
|
|
opacity: 0.6;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ans_2 {
|
|
|
|
height: 40%;
|
2025-08-15 13:18:42 +09:00
|
|
|
color: black;
|
|
|
|
background-color: red;
|
|
|
|
border: 5px solid gold;
|
2025-08-08 22:45:17 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#ans_2:hover {
|
|
|
|
opacity: 0.6;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#ans_3 {
|
2025-08-15 13:18:42 +09:00
|
|
|
color: black;
|
|
|
|
background-color: red;
|
|
|
|
border: 5px solid gold;
|
2025-08-08 22:45:17 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#ans_3:hover {
|
|
|
|
opacity: 0.6;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#result {
|
|
|
|
width: fit-content;
|
2025-08-14 20:07:44 +09:00
|
|
|
font-family: 'Microsoft YaHei', sans-serif;
|
2025-08-08 22:45:17 +09:00
|
|
|
min-width: 26vw;
|
|
|
|
padding: 0.5em 1em;
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: left;
|
2025-08-15 13:18:42 +09:00
|
|
|
border: 5px solid gold;
|
|
|
|
background-color: red;
|
2025-08-15 20:57:59 +09:00
|
|
|
color:black;
|
2025-08-08 22:45:17 +09:00
|
|
|
box-shadow: 0 3px 6px rgba(0, 0, 0, .4);
|
|
|
|
}
|
|
|
|
|
|
|
|
#scoreB {
|
|
|
|
padding: 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
border-bottom: 1px solid black;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#perfect {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: "center";
|
|
|
|
font-size: 14vw;
|
|
|
|
background-color: black;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
#replay,
|
|
|
|
.playAnother {
|
|
|
|
position: relative;
|
|
|
|
display: block;
|
|
|
|
width: 24vw;
|
|
|
|
padding: auto;
|
|
|
|
margin: 10px auto;
|
|
|
|
border-radius: 1rem;
|
2025-08-15 13:18:42 +09:00
|
|
|
background-color: gold;
|
|
|
|
color: red !important;
|
2025-08-08 22:45:17 +09:00
|
|
|
font-size: 4vw;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all 0.3s;
|
|
|
|
box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
|
|
|
|
}
|
|
|
|
|
|
|
|
#replay:hover,
|
|
|
|
.playAnother:hover {
|
|
|
|
background-color: orange;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
font-size: 4vh;
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: blue;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer a:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes gaming {
|
|
|
|
0% {
|
|
|
|
background-color: magenta;
|
|
|
|
}
|
|
|
|
|
|
|
|
33% {
|
|
|
|
background-color: yellow;
|
|
|
|
}
|
|
|
|
|
|
|
|
66% {
|
|
|
|
background-color: Cyan;
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
background-color: magenta;
|
|
|
|
}
|
|
|
|
}
|