@media screen and (max-height:768px), screen and (max-device-height:768px) { a.action, input.action_button { margin: 1em; padding:.3em; } }