tightening up css with variables for dimensions