Custom Font in Fenced Code Blocks?

I wasn’t sure where to ask this question, I haven’t seen it asked or answered online — Is it possible to set a custom font-family to be used only for fenced code blocks with kramdown/html/(s)css?

I tried styling the code block with an ALD, {:style="font-family: random font;"} but that was unsuccessful. Any suggestions welcome!

Duh! I just had to style the <code> element in my scss.