Move shared LESS rules to separate file

I put style rules shared between the light and dark themes into a separate file. Now the theme files only contain colour rules while the "core" contains transitions, positioning, and so forth.

There was no issue attached to this, I was just about to modify the stylesheet and thought I'd reorganize some of it while I was at it.