From 0c11a302e3be8a02a136ddbbeab1369191e583fb Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Tue, 18 Mar 2025 15:33:34 -0400 Subject: [PATCH] Added styling for language text --- index.html | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index fa4f3ce..8af9541 100644 --- a/index.html +++ b/index.html @@ -39,21 +39,25 @@ fill-opacity: 0.8; stroke-width: 1; } - .languageText, .romanizationText { + .translationText, .romanizationText { /* visibility: hidden; */ font-family: "Noto Sans"; font-size:1.25em; - pointer-events: none; } - /* - .language:hover ~ .languageText { - visibility: visible; - } - .language:hover ~ .romanizationText { - visibility: visible; - } - */ + .romanizationText { + pointer-events: none; + } + + .languageText { + pointer-events: none; + font-weight: bold; + font-family: sans-serif; + visibility: hidden; + } + .language:hover ~ .languageText { + visibility: visible; + } .testClass:hover { fill: red;