From 4f3279c55a88e159abbd3daf641b785681c81994 Mon Sep 17 00:00:00 2001 From: stephenmk Date: Sat, 8 Jul 2023 21:26:50 -0500 Subject: [PATCH] Add superscript style --- data/mdict/css/daijirin2.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/mdict/css/daijirin2.css b/data/mdict/css/daijirin2.css index 30da03e..fa512a0 100644 --- a/data/mdict/css/daijirin2.css +++ b/data/mdict/css/daijirin2.css @@ -64,6 +64,11 @@ span[data-name="sub"] { vertical-align: -0.35em; } +span[data-name="sup"] { + font-size: 0.7em; + vertical-align: super; +} + span[data-name="ty2"] span[data-name="sub"] { vertical-align: 0em; }