Skip to content

Commit

Permalink
fix distill hyperlink color (alshedivat#1113)
Browse files Browse the repository at this point in the history
Make distill hyperlink color logic consistent with rest of the theme.

fixes alshedivat#1105
  • Loading branch information
rohandebsarkar authored and artemyk committed Jan 23, 2024
1 parent b5cbefb commit be16dd0
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions _sass/_distill.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,18 @@ d-byline a, d-article d-byline a {
}

d-article {
border-top-color: #e8e8e8 !important;
a, p, h1, h2, h3, h4, h5, h6 {
border-top-color: var(--global-divider-color) !important;
p, h1, h2, h3, h4, h5, h6, li, table {
color: var(--global-text-color) !important;
}
a, h1, h2, hr {
border-bottom-color: $grey-color-light !important;
h1, h2, hr, table, table th, table td {
border-bottom-color: var(--global-divider-color) !important;
}
a:hover {
border-bottom-color: var(--global-hover-color) !important;
a {
color: var(--global-theme-color) !important;
&:hover {
color: var(--global-theme-color) !important;
}
}
}

Expand Down

0 comments on commit be16dd0

Please sign in to comment.