making relative css path easier to deal with, cleaning up variables considerably to avoid duplicates