Skip to content

Commit

Permalink
[ticket/14844] Add CSS classes for strong and italics text to BBCodes
Browse files Browse the repository at this point in the history
PHPBB3-14844
  • Loading branch information
marc1706 committed Mar 19, 2017
1 parent 0f95e60 commit 051644d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions phpBB/styles/prosilver/template/bbcode.html
Expand Up @@ -18,13 +18,13 @@
<!-- BEGIN inline_attachment_open --><div class="inline-attachment"><!-- END inline_attachment_open -->
<!-- BEGIN inline_attachment_close --></div><!-- END inline_attachment_close -->

<!-- BEGIN b_open --><strong><!-- END b_open -->
<!-- BEGIN b_open --><strong class="text-strong"><!-- END b_open -->
<!-- BEGIN b_close --></strong><!-- END b_close -->

<!-- BEGIN u_open --><span style="text-decoration: underline"><!-- END u_open -->
<!-- BEGIN u_close --></span><!-- END u_close -->

<!-- BEGIN i_open --><em><!-- END i_open -->
<!-- BEGIN i_open --><em class="text-italics"><!-- END i_open -->
<!-- BEGIN i_close --></em><!-- END i_close -->

<!-- BEGIN color --><span style="color: {COLOR}">{TEXT}</span><!-- END color -->
Expand Down
8 changes: 8 additions & 0 deletions phpBB/styles/prosilver/theme/common.css
Expand Up @@ -146,10 +146,18 @@ b, strong {
font-weight: bold;
}

.text-strong {
font-weight: bold;
}

i, em {
font-style: italic;
}

.text-italics {
font-style: italic;
}

u {
text-decoration: underline;
}
Expand Down

0 comments on commit 051644d

Please sign in to comment.