Simplifying Sass file and getting it to work well with different HTML versions