refacto css posts