Update .incorrect positioning, add hint css

This commit is contained in:
willerbee 2020-09-25 16:26:55 +08:00 committed by GitHub
parent 2936a0892f
commit fc97372e28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1686,6 +1686,19 @@ key {
.word letter.incorrect {
color: var(--error-color);
position:relative;
}
.word letter.incorrect hint {
position: absolute;
bottom: -1.2em;
color: var(--text-color);
line-height: 1em;
font-size: .8em;
text-shadow: none;
padding: 1px;
left: 0;
opacity: .5;
}
.word letter.incorrect.extra {