Refactored BBCode stylesheet to use nested rules.