Update banner styles

Allow text to be any color, not just white. Leave white text as the
default.
This commit is contained in:
Tim Bannister
2022-05-13 14:02:36 +01:00
parent 446ae174d8
commit 59fb055140
+6 -4
View File
@@ -634,12 +634,12 @@ body.td-documentation {
a { a {
color: inherit; color: inherit;
border-bottom: 1px solid #fff; text-decoration: underline;
} }
a:hover { a:hover {
color: inherit; color: inherit;
border-bottom: none; text-decoration: initial;
} }
} }
@@ -648,6 +648,9 @@ body.td-documentation {
} }
#announcement { #announcement {
// default background is blue; overrides are possible
color: #fff;
.announcement-main { .announcement-main {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
@@ -660,9 +663,8 @@ body.td-documentation {
} }
/* always white */
h1, h2, h3, h4, h5, h6, p * { h1, h2, h3, h4, h5, h6, p * {
color: #ffffff; color: inherit; /* defaults to white */
background: transparent; background: transparent;
img.event-logo { img.event-logo {