Make the shadow on admonitions the same color as the label.

This commit is contained in:
tastytea 2021-07-10 13:16:15 +02:00
parent 4060810f38
commit 970ffff1a8
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 26 additions and 1 deletions

View File

@ -113,7 +113,7 @@ div.admonitionblock td.icon
div.admonitionblock table div.admonitionblock table
{ {
background-color: var(--bg-dark); background-color: var(--bg-dark);
box-shadow: 0 0 0.1em 0 var(--link-hover); /* box-shadow: 0 0 0.1em 0 var(--link-hover); */
} }
div.note td.icon div.note td.icon
@ -121,26 +121,51 @@ div.note td.icon
color: LimeGreen; color: LimeGreen;
} }
div.note table
{
box-shadow: 0 0 0.1em 0 LimeGreen;
}
div.tip td.icon div.tip td.icon
{ {
color: CornflowerBlue; color: CornflowerBlue;
} }
div.tip table
{
box-shadow: 0 0 0.1em 0 CornflowerBlue;
}
div.important td.icon div.important td.icon
{ {
color: Gold; color: Gold;
} }
div.important table
{
box-shadow: 0 0 0.1em 0 Gold;
}
div.caution td.icon div.caution td.icon
{ {
color: Orange; color: Orange;
} }
div.caution table
{
box-shadow: 0 0 0.1em 0 Orange;
}
div.warning td.icon div.warning td.icon
{ {
color: OrangeRed; color: OrangeRed;
} }
div.warning table
{
box-shadow: 0 0 0.1em 0 OrangeRed;
}
/* Overwrite background color for highlighted sections. */ /* Overwrite background color for highlighted sections. */
.highlight .highlight
{ {