Unless I don’t understand what you’re asking, this is a Discourse setting. Look for “desktop category page style” setting, it will be the “Box with sub-categories” value.

Then you can apply custom CSS to subcategories names.
6 Likes