Child theme causes font size and color to change

I had to create a child theme as I had to reduce the password strength and remove the password hint from WooCommerce. But when I activate the child theme the font color and font sizes go for a toss.

As of now I have added the code to the functions file of main theme, but I need help in moving it to the child theme and get the fonts looking fine.

Please help me with it.