How to edit the "#nav li a {" within CSS? Custom?

I would like to have a custom.css file that I can edit so if there's an update nothing will change.

How do I go about doing this? thanks!