mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 20:39:08 +00:00
[ticket/14844] Add CSS classes for strong and italics text to BBCodes
PHPBB3-14844
This commit is contained in:
parent
0f95e607ff
commit
051644d663
2 changed files with 10 additions and 2 deletions
|
@ -18,13 +18,13 @@
|
||||||
<!-- BEGIN inline_attachment_open --><div class="inline-attachment"><!-- END inline_attachment_open -->
|
<!-- BEGIN inline_attachment_open --><div class="inline-attachment"><!-- END inline_attachment_open -->
|
||||||
<!-- BEGIN inline_attachment_close --></div><!-- END inline_attachment_close -->
|
<!-- 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 b_close --></strong><!-- END b_close -->
|
||||||
|
|
||||||
<!-- BEGIN u_open --><span style="text-decoration: underline"><!-- END u_open -->
|
<!-- BEGIN u_open --><span style="text-decoration: underline"><!-- END u_open -->
|
||||||
<!-- BEGIN u_close --></span><!-- END u_close -->
|
<!-- 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 i_close --></em><!-- END i_close -->
|
||||||
|
|
||||||
<!-- BEGIN color --><span style="color: {COLOR}">{TEXT}</span><!-- END color -->
|
<!-- BEGIN color --><span style="color: {COLOR}">{TEXT}</span><!-- END color -->
|
||||||
|
|
|
@ -146,10 +146,18 @@ b, strong {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-strong {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
i, em {
|
i, em {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-italics {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
u {
|
u {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue