make some css tweaks to automatically size the logos correctly...I think?

This commit is contained in:
Paul Visscher 2025-04-25 18:12:09 -04:00
parent 99c04fcff9
commit 5f2c5f6706
2 changed files with 9 additions and 0 deletions

View file

@ -694,3 +694,10 @@ details summary {
{ {
background-color: var(--orange-dimmer); background-color: var(--orange-dimmer);
} }
.sponsor-logo-sizing {
max-height: 250px;
max-width: 250px;
width: auto;
height: auto;
}

View file

@ -27,6 +27,7 @@ contributions. Conservancy graciously thanks these sponsors for their
support, but doesn't necessarily endorse nor promote any specific activity of support, but doesn't necessarily endorse nor promote any specific activity of
any of its sponsors.</p> any of its sponsors.</p>
<div class="sponsor-logo-sizing">
<!-- logos should be 250x250 maximum. --> <!-- logos should be 250x250 maximum. -->
<ul id="sponsor"> <ul id="sponsor">
<li></li> <li></li>
@ -47,6 +48,7 @@ any of its sponsors.</p>
<li><img src="{% static 'img/sponsors/bloomberg.png' %}" height="244" width="250" alt="bloomberg engineering" /></li> <li><img src="{% static 'img/sponsors/bloomberg.png' %}" height="244" width="250" alt="bloomberg engineering" /></li>
<li><img src="{% static 'img/sponsors/codethink.png' %}" height="244" width="250" alt="codethink" /></li> <li><img src="{% static 'img/sponsors/codethink.png' %}" height="244" width="250" alt="codethink" /></li>
</ul> </ul>
</div>
<!-- This section will be added when we have in-kind contributions --> <!-- This section will be added when we have in-kind contributions -->