Skip to content

Commit

Permalink
Update special danmaku classname
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Jul 23, 2024
1 parent 71cf8de commit 7086114
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
body.disable-highlight-danmaku-style {
.bili-danmaku-x-high,
.bili-danmaku-x-high-top,
.bili-dm.bili-high,
.b-danmaku-high {
display: block !important;
padding: 0 !important;
line-height: 1.125 !important;
.bili-danmaku-x-high-icon,
.bili-high-icon,
.b-danmaku-high-icon {
display: none !important;
}
.bili-danmaku-x-high-text,
.bili-high-text,
.b-danmaku-high-text {
margin: 0 !important;
Expand All @@ -16,6 +20,7 @@ body.disable-highlight-danmaku-style {
}
}
body.disable-up-danmaku-style {
.bili-danmaku-x-up,
.bili-dm.bili-up,
.b-danmaku-up {
padding: 0 !important;
Expand All @@ -29,15 +34,17 @@ body.disable-up-danmaku-style {
}
}
body.disable-vip-danmaku-style {
.bili-danmaku-x-dm-vip,
.bili-dm-vip {
display: contents !important;
text-shadow: inherit !important;
}
.bili-dm:not([style*='--textShadow']) {
:where(.bili-dm, .bili-danmaku-x-dm):not([style*='--textShadow']) {
--textShadow: var(--danmaku-text-shadow);
}
}
body.disable-upSlogan-danmaku-style {
.bili-danmaku-x-upslogan,
.bili-upslogan {
padding: 0 !important;
opacity: var(--opacity) !important;
Expand Down

0 comments on commit 7086114

Please sign in to comment.