Skip to content

Commit 59fb055

Browse files
author
Tim Bannister
committed
Update banner styles
Allow text to be any color, not just white. Leave white text as the default.
1 parent 446ae17 commit 59fb055

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

assets/scss/_custom.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -634,12 +634,12 @@ body.td-documentation {
634634

635635
a {
636636
color: inherit;
637-
border-bottom: 1px solid #fff;
637+
text-decoration: underline;
638638
}
639639

640640
a:hover {
641641
color: inherit;
642-
border-bottom: none;
642+
text-decoration: initial;
643643
}
644644
}
645645

@@ -648,6 +648,9 @@ body.td-documentation {
648648
}
649649

650650
#announcement {
651+
// default background is blue; overrides are possible
652+
color: #fff;
653+
651654
.announcement-main {
652655
margin-left: auto;
653656
margin-right: auto;
@@ -660,9 +663,8 @@ body.td-documentation {
660663
}
661664

662665

663-
/* always white */
664666
h1, h2, h3, h4, h5, h6, p * {
665-
color: #ffffff;
667+
color: inherit; /* defaults to white */
666668
background: transparent;
667669

668670
img.event-logo {

0 commit comments

Comments
 (0)