1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 10:00:52 +01:00

Update css for custom admonition example

This commit is contained in:
Andre_601 2021-03-08 08:35:55 +01:00 committed by GitHub
parent acae0328e1
commit 1d215e93f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -402,6 +402,7 @@ following CSS to an [additional stylesheet][14]:
.md-typeset .pied-piper > .admonition-title, .md-typeset .pied-piper > .admonition-title,
.md-typeset .pied-piper > summary { .md-typeset .pied-piper > summary {
background-color: rgba(43, 155, 70, 0.1); background-color: rgba(43, 155, 70, 0.1);
border-color: rgb(43, 155, 70);
} }
.md-typeset .pied-piper > .admonition-title::before, .md-typeset .pied-piper > .admonition-title::before,
.md-typeset .pied-piper > summary::before { .md-typeset .pied-piper > summary::before {
@ -426,6 +427,7 @@ colors. [You can even add animations][15].
.md-typeset .pied-piper > .admonition-title, .md-typeset .pied-piper > .admonition-title,
.md-typeset .pied-piper > summary { .md-typeset .pied-piper > summary {
background-color: rgba(43, 155, 70, 0.1); background-color: rgba(43, 155, 70, 0.1);
border-color: rgb(43, 155, 70);
} }
.md-typeset .pied-piper > .admonition-title::before, .md-typeset .pied-piper > .admonition-title::before,
.md-typeset .pied-piper > summary::before { .md-typeset .pied-piper > summary::before {