Skip to content

Commit

Permalink
fix(admonition): links should inherit the admonition color
Browse files Browse the repository at this point in the history
Without this patch, links inside admonition get black color. The color that we use for links inside
articles. But we don't wants links to standout in admonition. Therefore, they should inherit the
color.
  • Loading branch information
talha131 committed Jul 1, 2019
1 parent 1269684 commit 60c9184
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static/css/admonition.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ div.admonition p {
padding: 0;
}

div.admonition p a {
color: inherit !important;
}

div.admonition pre {
margin: 0.4em 1em 0.4em 1em;
}
Expand Down

0 comments on commit 60c9184

Please sign in to comment.