moving a bunch of scss functions to ruby functions
moving functions around, some new functions added