8000 fix(admonition): links should inherit the admonition color · Pelican-Elegant/elegant@60c9184 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 60c9184

Browse files
committed
fix(admonition): links should inherit the admonition color
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.
1 parent 1269684 commit 60c9184

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

static/css/admonition.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ div.admonition p {
1616
padding: 0;
1717
}
1818

19+
div.admonition p a {
20+
color: inherit !important;
21+
}
22+
1923
div.admonition pre {
2024
margin: 0.4em 1em 0.4em 1em;
2125
}

0 commit comments

Comments
 (0)
0