add style rules for inputs