mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-27 17:00:54 +01:00
Fixed background repeat of (some) custom admonition icons
This commit is contained in:
parent
584c3135d0
commit
5593b54a4f
@ -140,6 +140,7 @@ $admonitions: (
|
||||
height: px2rem(20px);
|
||||
background-color: $clr-blue-a200;
|
||||
mask-image: var(--md-admonition-icon--note);
|
||||
mask-repeat: no-repeat;
|
||||
content: "";
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
@ -187,6 +188,7 @@ $admonitions: (
|
||||
&::before {
|
||||
background-color: $tint;
|
||||
mask-image: var(--md-admonition-icon--#{$name});
|
||||
mask-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -141,6 +141,7 @@
|
||||
height: px2rem(16px);
|
||||
background-color: currentColor;
|
||||
mask-image: var(--md-footnotes-icon);
|
||||
mask-repeat: no-repeat;
|
||||
content: "";
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
|
@ -100,6 +100,7 @@
|
||||
height: px2rem(20px);
|
||||
background-color: currentColor;
|
||||
mask-image: var(--md-details-icon);
|
||||
mask-repeat: no-repeat;
|
||||
transform: rotate(0deg);
|
||||
transition: transform 250ms;
|
||||
content: "";
|
||||
|
@ -71,6 +71,7 @@
|
||||
height: px2em(20px);
|
||||
background-color: var(--md-default-fg-color--lightest);
|
||||
mask-image: var(--md-tasklist-icon);
|
||||
mask-repeat: no-repeat;
|
||||
content: "";
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
|
Loading…
Reference in New Issue
Block a user