badcamp / badcamp-2018

The magic that is the BADCamp 2018 website!
https://2018.badcamp.net
MIT License
0 stars 2 forks source link

Lock sponsor logo aspect ratio (_sponsor.scss) #170

Closed kthull closed 6 years ago

kthull commented 6 years ago

When square and horizontal logos are mixed in a responsive grid that only takes the grid width into account, square logos like DDEV look disproportionately large next to horizontal logos like Pantheon and Platform in smaller viewports. This code locks all logos into a 16:9 space, keeping them visually consistent.

So this...

screen shot 2018-08-29 at 5 17 11 pm

Becomes this...

screen shot 2018-08-29 at 5 16 59 pm