Alright I just went ahead and put it in an external css file instead of in the theme's custom css so it works now.