if (screen.width >= 900) {
document.write("<style type='text/css'>body {margin-top:3em}</style>");
} 
 if (screen.width >= 1100) {
document.write("<style type='text/css'>body {margin-top:5em}</style>");
}