From e50bc8778056c18a8bdcff1a3a1f903b50f25af7 Mon Sep 17 00:00:00 2001 From: Sodbileg Gansukh Date: Fri, 5 May 2023 18:22:01 +0800 Subject: [PATCH] Added explicit rules to announcement bar styles refs https://github.com/TryGhost/Team/issues/3143 - due to the reset, some default styles stopped working - this adds those missing explicit styles --- .../src/components/AnnouncementBar.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ghost/announcement-bar/src/components/AnnouncementBar.css b/ghost/announcement-bar/src/components/AnnouncementBar.css index 45dd54a32f..78fda3a60e 100644 --- a/ghost/announcement-bar/src/components/AnnouncementBar.css +++ b/ghost/announcement-bar/src/components/AnnouncementBar.css @@ -26,10 +26,18 @@ color: #fff; } -.gh-announcement-bar * { +.gh-announcement-bar *:not(path) { all: unset; } +.gh-announcement-bar strong { + font-weight: 700; +} + +.gh-announcement-bar :is(i, em) { + font-style: italic; +} + .gh-announcement-bar a { color: #fff; font-weight: 700;