From 1828897ba4ac9ad932eb36c26fd1ff104de71db9 Mon Sep 17 00:00:00 2001 From: jessikitty Date: Tue, 26 May 2026 10:02:14 +1000 Subject: [PATCH] =?UTF-8?q?fix:=20Preview=20=E2=80=94=20white=20default=20?= =?UTF-8?q?bg,=20black=20text,=20dark=20borders=20on=20tables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Views/Slides/Preview.cshtml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Views/Slides/Preview.cshtml b/Views/Slides/Preview.cshtml index 715e9c7..7d41e3b 100644 --- a/Views/Slides/Preview.cshtml +++ b/Views/Slides/Preview.cshtml @@ -1,7 +1,7 @@ @model Slide @{ Layout = null; - var bgStyle = $"background: {Model.BackgroundColor ?? "#1a1a2e"};"; + var bgStyle = $"background: {Model.BackgroundColor ?? "#ffffff"};"; if (!string.IsNullOrEmpty(Model.BackgroundImage)) { bgStyle += $" background-image: url('{Model.BackgroundImage}'); background-size: {Model.BackgroundSize ?? "cover"}; background-position: center; background-repeat: no-repeat;"; @@ -18,7 +18,7 @@ html, body { width: 100%; height: 100%; overflow: hidden; } body { @Html.Raw(bgStyle) - color: #fff; + color: #000; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } .slide-content { @@ -28,11 +28,11 @@ } .slide-content img { max-width: 100%; height: auto; } .slide-content table { border-collapse: collapse; } - .slide-content table td, .slide-content table th { border: 1px solid rgba(255,255,255,0.3); padding: 8px 12px; } + .slide-content table td, .slide-content table th { border: 1px solid rgba(0,0,0,0.2); padding: 8px 12px; } iframe.embed-frame { width: 100%; height: 100%; border: none; } .ics-events { padding: 2em; } .ics-events h2 { margin-bottom: 1em; font-size: 2em; } - .event-card { background: rgba(255,255,255,0.1); border-radius: 12px; padding: 1.2em; margin-bottom: 1em; } + .event-card { background: rgba(0,0,0,0.05); border-radius: 12px; padding: 1.2em; margin-bottom: 1em; } .event-card h3 { font-size: 1.3em; margin-bottom: 0.3em; } .event-meta { opacity: 0.7; font-size: 0.9em; } .back-link { position: fixed; top: 10px; right: 10px; z-index: 999; }