Apply a <body class="[SomeClass]"> depending on what CSS media query is in effect.