mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-10 17:53:36 +02:00
docs: don't treat readme shields as normal images
This commit is contained in:
parent
3fce0c4090
commit
5ddc97200e
@ -88,12 +88,12 @@ main img {
|
|||||||
box-shadow: var(--ifm-global-shadow-lw);
|
box-shadow: var(--ifm-global-shadow-lw);
|
||||||
}
|
}
|
||||||
|
|
||||||
main p > img {
|
main p > img:not([src^="https://img.shields.io/"]) {
|
||||||
/* give inline images a border */
|
/* give inline images a border */
|
||||||
border: var(--ifm-global-border-width) solid var(--unleash-color-gray);
|
border: var(--ifm-global-border-width) solid var(--unleash-color-gray);
|
||||||
}
|
}
|
||||||
|
|
||||||
main :is(p, figure) > img {
|
main :is(p, figure) > img:not([src^="https://img.shields.io/"]) {
|
||||||
/* round corners to match the rest of the page */
|
/* round corners to match the rest of the page */
|
||||||
border-radius: var(--ifm-global-radius);
|
border-radius: var(--ifm-global-radius);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user