1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 03:24:20 +00:00

Add support for strong, em, del

This commit is contained in:
Steffo 2021-07-23 03:37:01 +02:00
parent fded762269
commit 5166f2dcde
Signed by: steffo
GPG key ID: 6965406171929D01
6 changed files with 29 additions and 12 deletions

View file

@ -246,7 +246,8 @@
<li><i>Italic</i></li>
<li><u>Underlined</u></li>
<li><s>Struck</s></li>
<li><b><i><u><s>All of them together</s></u></i></b></li>
<li><code>Code</code></li>
<li><b><i><u><s><code>All of them together</code></s></u></i></b></li>
</ul>
</section>
</div>

View file

@ -1814,7 +1814,9 @@ body .size-xxs {
.base-skeleton .style-bold,
body .style-bold,
.base-skeleton b,
body b {
body b,
.base-skeleton strong,
body strong {
font-weight: bold;
--bluelib-color-r: 24;
--bluelib-color-g: 24;
@ -1823,7 +1825,9 @@ body b {
.base-skeleton .style-italic,
body .style-italic,
.base-skeleton i,
body i {
body i,
.base-skeleton em,
body em {
font-style: italic;
}
.base-skeleton .style-underline,
@ -1835,7 +1839,11 @@ body u {
.base-skeleton .style-strike,
body .style-strike,
.base-skeleton strike,
body strike {
body strike,
.base-skeleton s,
body s,
.base-skeleton del,
body del {
text-decoration-line: line-through;
}
.base-skeleton .style-monospace,

File diff suppressed because one or more lines are too long

View file

@ -1814,7 +1814,9 @@ body .size-xxs {
.base-skeleton .style-bold,
body .style-bold,
.base-skeleton b,
body b {
body b,
.base-skeleton strong,
body strong {
font-weight: bold;
--bluelib-color-r: 255;
--bluelib-color-g: 255;
@ -1823,7 +1825,9 @@ body b {
.base-skeleton .style-italic,
body .style-italic,
.base-skeleton i,
body i {
body i,
.base-skeleton em,
body em {
font-style: italic;
}
.base-skeleton .style-underline,
@ -1835,7 +1839,11 @@ body u {
.base-skeleton .style-strike,
body .style-strike,
.base-skeleton strike,
body strike {
body strike,
.base-skeleton s,
body s,
.base-skeleton del,
body del {
text-decoration-line: line-through;
}
.base-skeleton .style-monospace,

File diff suppressed because one or more lines are too long

View file

@ -36,10 +36,10 @@
@size-s: ~".size-s, h5";
@size-xs: ~".size-xs, h6";
@size-xxs: ~".size-xxs";
@style-bold: ~".style-bold, b";
@style-italic: ~".style-italic, i";
@style-bold: ~".style-bold, b, strong";
@style-italic: ~".style-italic, i, em";
@style-underline: ~".style-underline, u";
@style-strike: ~".style-strike, strike";
@style-strike: ~".style-strike, strike, s, del";
@style-monospace: ~".style-monospace, code";
@style-keyboard: ~".style-keyboard, kbd";
@color-red: ~".color-red";