music-encoding / music-encoding.github.io

The MEI website
http://music-encoding.org
Educational Community License v2.0
15 stars 37 forks source link

Update teimec2023 logo #597

Closed peterstadler closed 3 months ago

peterstadler commented 3 months ago

using a (smaller) version without the text to better fit the card header – as proposed by @musicEnfanthen in #591

NB, I did not update the json+ld image URL on purpose (since I think the full logo makes sense there) but will align those URLs if told so

peterstadler commented 3 months ago

The image fits better now but it's still not fully visible. For that, it might be worth considering to change the CSS for .img-fit-cover from object-fit: cover to object-fit: contain

musicEnfanthen commented 3 months ago

Thank you @peterstadler, looks better indeed. Yes, I also think there is no need to adjust the json-ld.

For the CSS: Playing around with it, it seems that completely removing the .img-fit-cover class from the card image gives the best results whereas the object-fit: contain rule adds some margins next to the images.