XF 1.4 Dynamic header height?



I would like to have an image as my header, that would cover all the #logoBlock part basically. However I'd like that the whole header's height changes depending on the resolution of the user.

The image itself is quite large... 2560 x 500. However for say 720p users, I would like the image to be resized to 1366x x 267. So of course I would like the whole header height to adjust in consequence.

The problem with this is that there seems to be a lot of absolute positionning in XenForo. It seems like it needs a fixed height to work correctly..

Has anyone ever tried this?