dtext: fix tag colors bleeding through [spoiler] tags.
https://danbooru.donmai.us/forum_topics/9127?page=283#forum_post_160443
This commit is contained in:
@@ -112,6 +112,15 @@ div.prose {
|
|||||||
a.dtext-wiki-does-not-exist, a.dtext-tag-does-not-exist {
|
a.dtext-wiki-does-not-exist, a.dtext-tag-does-not-exist {
|
||||||
text-decoration: dotted underline;
|
text-decoration: dotted underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.spoiler, .spoiler * {
|
||||||
|
color: var(--dtext-spoiler-color);
|
||||||
|
background: var(--dtext-spoiler-background-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.spoiler:hover, .spoiler:hover * {
|
||||||
|
color: var(--dtext-spoiler-hover-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// avoid empty gaps beneath dtext blocks in table rows.
|
// avoid empty gaps beneath dtext blocks in table rows.
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
.spoiler, .spoiler a {
|
|
||||||
color: var(--dtext-spoiler-color);
|
|
||||||
background: var(--dtext-spoiler-background-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.spoiler:hover, .spoiler:hover a {
|
|
||||||
color: var(--dtext-spoiler-hover-color);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user