Optimize and drop support for old Firefox

Dropped support for Firefox older than v10 and done some minor
optimizations in the CSS too