The Style Text Obsidian plugin allows to create as many CSS Styles as you wish: Then, they will be available to be applied to the selected text in the editor via Commands (Command Palette): Each ...
To use this plugin, simply go into its settings and add a new frame, either from a preset shipped with the plugin, or a custom one that you can edit yourself. To open a Custom Frame as a pane, you can ...