Added styling for language text

master
Aadhavan Srinivasan 2 weeks ago
parent 9cc650a467
commit 0c11a302e3

@ -39,21 +39,25 @@
fill-opacity: 0.8; fill-opacity: 0.8;
stroke-width: 1; stroke-width: 1;
} }
.languageText, .romanizationText { .translationText, .romanizationText {
/* visibility: hidden; */ /* visibility: hidden; */
font-family: "Noto Sans"; font-family: "Noto Sans";
font-size:1.25em; font-size:1.25em;
pointer-events: none;
} }
/* .romanizationText {
.language:hover ~ .languageText { pointer-events: none;
visibility: visible; }
}
.language:hover ~ .romanizationText { .languageText {
visibility: visible; pointer-events: none;
} font-weight: bold;
*/ font-family: sans-serif;
visibility: hidden;
}
.language:hover ~ .languageText {
visibility: visible;
}
.testClass:hover { .testClass:hover {
fill: red; fill: red;

Loading…
Cancel
Save