WIP: First attempt at media queries for linelabel

Some tests broken.