prettifying the beast: css need some factorization