fix(style): style conflict between 'strong' and 'a' tag (#156)
This commit is contained in:
@@ -75,12 +75,4 @@ a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
b, strong {
|
|
||||||
font-weight: bold;
|
|
||||||
|
|
||||||
.dark-theme & {
|
|
||||||
color: #ddd;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@import "../_partial/dynamic-to-top";
|
@import "../_partial/dynamic-to-top";
|
||||||
|
|||||||
@@ -86,12 +86,20 @@
|
|||||||
margin: .5rem 0;
|
margin: .5rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
b, strong {
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.dark-theme & {
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
color: $single-link-color;
|
color: $single-link-color;
|
||||||
|
|
||||||
.dark-theme & {
|
.dark-theme &, .dark-theme & b, .dark-theme & strong {
|
||||||
color: $single-link-color-dark;
|
color: $single-link-color-dark;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -99,7 +107,7 @@
|
|||||||
a:hover {
|
a:hover {
|
||||||
color: $single-link-hover-color;
|
color: $single-link-hover-color;
|
||||||
|
|
||||||
.dark-theme &:hover {
|
.dark-theme &, .dark-theme & b, .dark-theme & strong {
|
||||||
color: $single-link-hover-color-dark;
|
color: $single-link-hover-color-dark;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user