Merge pull request #2415 from Andre601/patch-6

Update css for custom admonition example
This commit is contained in:
Martin Donath 2021-03-09 21:43:26 +01:00 committed by GitHub
commit fdfe5d886b
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 {