I've modified the xtempleate default css and added new style for a .code block, hoping I can display if on a gray background. It seems to work fine, only the rest of the text seems to loose the existing tags for paragraphs which are generated automatically and treates it as plain text.

What is the right way to modify the css and add new styles?

Thanks,