1
0
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:
squidfunk 2020-08-02 23:17:02 +02:00
parent 584c3135d0
commit 5593b54a4f
4 changed files with 5 additions and 0 deletions

View File

@ -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;
}
}

View File

@ -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

View File

@ -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: "";

View File

@ -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