From e8b16a8d712aca695338482f7ad75c2ccb180148 Mon Sep 17 00:00:00 2001 From: David Darnes Date: Thu, 7 Nov 2019 17:21:51 +0700 Subject: [PATCH] Fix sub sup offset bug --- assets/css/components/global.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/assets/css/components/global.css b/assets/css/components/global.css index 148ecddc..2a3fa446 100644 --- a/assets/css/components/global.css +++ b/assets/css/components/global.css @@ -102,6 +102,15 @@ mark { background-color: #fdffb6; } +sup, sub { + vertical-align: baseline; + position: relative; + top: -0.4em; +} +sub { + top: 0.4em; +} + a:not([class]) { color: color(var(--color-primary) l(-5%)); text-decoration-skip-ink: auto;