Moved css to an external file to benefit from caching.

Properties using variables still need to be in the .txt file, but this should be improved (some javascript will make it).

Not sure this is wanted but caching is implemented for css and javascript but not used for css