Support media queries

Resolves #33