refactoring using Purecss