fix many css problems and document it