Make the shadow on admonitions the same color as the label.
This commit is contained in:
parent
4060810f38
commit
970ffff1a8
|
@ -113,7 +113,7 @@ div.admonitionblock td.icon
|
|||
div.admonitionblock table
|
||||
{
|
||||
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
|
||||
|
@ -121,26 +121,51 @@ div.note td.icon
|
|||
color: LimeGreen;
|
||||
}
|
||||
|
||||
div.note table
|
||||
{
|
||||
box-shadow: 0 0 0.1em 0 LimeGreen;
|
||||
}
|
||||
|
||||
div.tip td.icon
|
||||
{
|
||||
color: CornflowerBlue;
|
||||
}
|
||||
|
||||
div.tip table
|
||||
{
|
||||
box-shadow: 0 0 0.1em 0 CornflowerBlue;
|
||||
}
|
||||
|
||||
div.important td.icon
|
||||
{
|
||||
color: Gold;
|
||||
}
|
||||
|
||||
div.important table
|
||||
{
|
||||
box-shadow: 0 0 0.1em 0 Gold;
|
||||
}
|
||||
|
||||
div.caution td.icon
|
||||
{
|
||||
color: Orange;
|
||||
}
|
||||
|
||||
div.caution table
|
||||
{
|
||||
box-shadow: 0 0 0.1em 0 Orange;
|
||||
}
|
||||
|
||||
div.warning td.icon
|
||||
{
|
||||
color: OrangeRed;
|
||||
}
|
||||
|
||||
div.warning table
|
||||
{
|
||||
box-shadow: 0 0 0.1em 0 OrangeRed;
|
||||
}
|
||||
|
||||
/* Overwrite background color for highlighted sections. */
|
||||
.highlight
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue