fix(style): style conflict between 'strong' and 'a' tag (#156)

This commit is contained in:
Dillon
2020-03-15 00:56:57 +08:00
committed by GitHub
parent 344f2f809c
commit ca0996ab11
3 changed files with 11 additions and 11 deletions

View File

@@ -75,12 +75,4 @@ a {
}
}
b, strong {
font-weight: bold;
.dark-theme & {
color: #ddd;
}
}
@import "../_partial/dynamic-to-top";

View File

@@ -86,12 +86,20 @@
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;
}
}
@@ -99,7 +107,7 @@
a:hover {
color: $single-link-hover-color;
.dark-theme &:hover {
.dark-theme &, .dark-theme & b, .dark-theme & strong {
color: $single-link-hover-color-dark;
}
}