From 3aa0032189f830a394ac49d92cb00e6829007800 Mon Sep 17 00:00:00 2001 From: TakenPt Date: Sat, 13 Apr 2024 18:20:01 +0900 Subject: [PATCH] =?UTF-8?q?#33=20=E9=9F=B3=E5=A3=B0=E5=86=8D=E7=94=9F?= =?UTF-8?q?=E4=B8=AD=E3=81=AB=E9=81=A9=E7=94=A8=E3=81=95=E3=82=8C=E3=82=8B?= =?UTF-8?q?CSS=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Epub/KoeBook.Epub/Models/EpubDocument.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Epub/KoeBook.Epub/Models/EpubDocument.cs b/Epub/KoeBook.Epub/Models/EpubDocument.cs index e32192f..542699f 100644 --- a/Epub/KoeBook.Epub/Models/EpubDocument.cs +++ b/Epub/KoeBook.Epub/Models/EpubDocument.cs @@ -15,13 +15,13 @@ public class EpubDocument(string title, string author, string coverFilePath, Gui public List CssClasses { get; set; } = [ new CssClass("-epub-media-overlay-active", """ - .-epub-media-overlay-active *{ - background-color: yellow; - color: black !important; + .-epub-media-overlay-active, .-epub-media-overlay-active * { + background-color: yellow; + color: black !important; } """), new CssClass("-epub-media-overlay-unactive", """ - .-epub-media-overlay-unactive * { + html.-epub-media-overlay-unactive * { color: gray; } """),