1
0
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:
Thomas Heartman 2023-01-09 09:39:51 +01:00
parent 3fce0c4090
commit 5ddc97200e
No known key found for this signature in database
GPG Key ID: 47CFBB2D87C87664

View File

@ -88,12 +88,12 @@ main img {
box-shadow: var(--ifm-global-shadow-lw);
}
main p > img {
main p > img:not([src^="https://img.shields.io/"]) {
/* give inline images a border */
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 */
border-radius: var(--ifm-global-radius);