Skip to content

Commit

Permalink
fix(style): style conflict between 'strong' and 'a' tag (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Mar 14, 2020
1 parent 344f2f8 commit ca0996a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 0 additions & 8 deletions assets/css/_core/_base.scss
Expand Up @@ -75,12 +75,4 @@ a {
}
}

b, strong {
font-weight: bold;

.dark-theme & {
color: #ddd;
}
}

@import "../_partial/dynamic-to-top";
12 changes: 10 additions & 2 deletions assets/css/_page/_single.scss
Expand Up @@ -86,20 +86,28 @@
margin: .5rem 0;
}

b, strong {
font-weight: bold;

.dark-theme & {
color: #ddd;
}
}

a {
word-break: break-all;
word-break: break-word;
color: $single-link-color;

.dark-theme & {
.dark-theme &, .dark-theme & b, .dark-theme & strong {
color: $single-link-color-dark;
}
}

a:hover {
color: $single-link-hover-color;

.dark-theme &:hover {
.dark-theme &, .dark-theme & b, .dark-theme & strong {
color: $single-link-hover-color-dark;
}
}
Expand Down

Large diffs are not rendered by default.

0 comments on commit ca0996a

Please sign in to comment.