Re: Tip Admonition Icon has Yellowish Shadow
Posted by
mojavelinux on
Oct 09, 2019; 7:25pm
URL: https://discuss.asciidoctor.org/Tip-Admonition-Icon-has-Yellowish-Shadow-SOLVED-tp7201p7206.html
Yes, this is by design.
If you want to modify it, you need to override the following CSS:
.admonitionblock td.icon .icon-tip::before{
content: "\f0eb";
text-shadow: 1px 1px 2px rgba(155,155,0,.8);
color: #111
}
It's the text-shadow property you want to change.
Best,
-Dan
On Wed, Oct 9, 2019 at 5:21 AM TheMagician [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
When I use Font Awesome as a source for the admonition icons then the tip admonition icon always has a slightly yellow shadow whereas all the other admonition icons have grey shadows.
This behavior persists even if I use custom CSS in a docinfo file:
.admonitionblock td.icon .icon-tip::before {
content: "\f0eb";
color:black;
}
Is this the intended behavior?
--