Console.log custom fonts in google chrome

I’ve been making game which is played in the browsers console, and I’m interested of the possibility of using custom fonts. I’m working with chrome and don’t really care about compatibility with other browsers. I know that console.log() can be styled with CSS, but I haven’t had any success with trying to get it to work with custom fonts. My css looks like this: and my Js looks like this: I’ve allso tried using ”: Both are in the same html file in their respective tags (no external css or js files) css on the top and js on the