Is there any way to let the user edit the stylesheet file?

Try the liquid plugin.

Start here. http://wiki.rubyonrails.org/rails/pages/Liquid+Plugin