diff --git a/kjvstudy_org/templates/interlinear.html b/kjvstudy_org/templates/interlinear.html index 1b4e1a6..bac3485 100644 --- a/kjvstudy_org/templates/interlinear.html +++ b/kjvstudy_org/templates/interlinear.html @@ -82,6 +82,18 @@ font-weight: 600; } +.word-strongs a { + color: inherit; + text-decoration: none; + border-bottom: 1px dotted currentColor; + transition: all 0.2s; +} + +.word-strongs a:hover { + border-bottom-style: solid; + opacity: 0.8; +} + .word-english { font-size: 1rem; color: #111; @@ -295,6 +307,10 @@ color: #6699ff; } + .word-strongs a { + color: #6699ff; + } + .word-english { color: #ddd; } @@ -407,6 +423,10 @@ color: #6699ff; } +[data-theme="dark"] .word-strongs a { + color: #6699ff; +} + [data-theme="dark"] .word-english { color: #ddd; } @@ -520,7 +540,19 @@
#{{ word.position }}
{{ word.original }}
{{ word.transliteration }}
-
{{ word.strongs }}
+
+ {% if word.strongs %} + {% set lang = word.strongs[0]|lower %} + {% set num = word.strongs[1:] %} + {% if lang == 'g' %} + {{ word.strongs }} + {% elif lang == 'h' %} + {{ word.strongs }} + {% else %} + {{ word.strongs }} + {% endif %} + {% endif %} +
{{ word.english }}
{{ word.parsing }}
{{ word.definition }}