Here is a very good tutorial by Miriam Laidlaw who was a Moderator in this forum. You might like to take a look at it as I think It will help you with learning where to find the css for a given element in Moodle and how to customise it.
https://www.youtube.com/embed/9YbPuZhemP0?rel=0&wmode=transparent