fix: fix <em> styling

This commit is contained in:
Piggy NL 2022-01-22 11:13:21 +08:00
parent 78eb216f19
commit 1ae467b417
No known key found for this signature in database
GPG key ID: A2B522033B71526D
3 changed files with 12 additions and 0 deletions

View file

@ -769,11 +769,14 @@
.heti--annotation em {
-webkit-text-emphasis: filled circle;
-webkit-text-emphasis-position: under;
text-emphasis: filled circle;
text-emphasis-position: under right;
font-weight: 400;
}
.heti--annotation em:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)), .heti--annotation em:not(:lang(zh)) {
-webkit-text-emphasis: none;
text-emphasis: none;
}
.heti--annotation .heti-meta {
@ -883,10 +886,13 @@
.heti .heti-em {
-webkit-text-emphasis: filled circle;
-webkit-text-emphasis-position: under;
text-emphasis: filled circle;
text-emphasis-position: under right;
}
.heti .heti-em:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)), .heti .heti-em:not(:lang(zh)) {
-webkit-text-emphasis: none;
text-emphasis: none;
}
.heti .heti-ruby--inline {

View file

@ -13,9 +13,12 @@
#{$root-selector}-em {
-webkit-text-emphasis: filled circle;
-webkit-text-emphasis-position: under;
text-emphasis: filled circle;
text-emphasis-position: under right;
@include non-cjk-block {
-webkit-text-emphasis: none;
text-emphasis: none;
}
}

View file

@ -16,10 +16,13 @@
em {
-webkit-text-emphasis: filled circle;
-webkit-text-emphasis-position: under;
text-emphasis: filled circle;
text-emphasis-position: under right;
font-weight: $font-weight-normal;
@include non-cjk-block {
-webkit-text-emphasis: none;
text-emphasis: none;
}
}