feat: XDXF: distinguish ex_orig and ex_tran

* this will make xdxf_ex_marked to inherit color, thus don't set it
to black.
This commit is contained in:
shenleban tongying 2023-06-23 14:35:49 -04:00
parent 967236857e
commit 48f2c94d0c
No known key found for this signature in database

View file

@ -306,6 +306,10 @@ div.xdxf
content:"]"
}
.xdxf_ex_orig{
color: #8761d9;
}
.xdxf_ex_tran:before
{
content:"— "
@ -357,8 +361,11 @@ div.xdxf
/* The words in examples that are meaked out; they are marked out only when placed into <ex> tag */
.xdxf_ex .xdxf_ex_markd, .xdxf_ex_old .xdxf_ex_markd
{
color:black;
background-color:lightgray;
margin-left: 0.2em;
margin-right: 0.2em;
padding-left: 0.1em;
padding-right: 0.1em;
}
.xdxf_opt