Changing the font of the h2 'site text logo'

I’d like to change this font to a custom font that I’ve uploaded to the upload folder specified.

If I want to change the site-text-logo font to Roboto for example, here is how I would do it:

@import url('');

#site-text-logo {
    font-family: 'Roboto', sans-serif;