Fixed the main.less

There were still some differences in css rule positions but the
behaviour is the same now.