Skip to content

Commit

Permalink
fix: strong elements should inherit their color
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Nov 17, 2021
1 parent 289d8db commit a7a3778
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/_miscs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ strong {
font-weight: 600;
}

// strong elements should inherit font colors
.with-bg-color :is(b, strong) {
color: inherit;
}

/* External links */
.external-link,
.external-link:hover {
Expand Down Expand Up @@ -99,7 +104,8 @@ a.tag:hover {
}

/* Page properties */
.page-properties, .block-properties {
.page-properties,
.block-properties {
margin: 0 0 0.5em -8px;
font-size: 0.8em;
background: var(--ls-secondary-background-color);
Expand All @@ -109,7 +115,8 @@ a.tag:hover {
}

.sidebar-item-list {
.page-properties, .block-properties {
.page-properties,
.block-properties {
background: var(--ls-tertiary-background-color);
}
}
Expand Down

0 comments on commit a7a3778

Please sign in to comment.