2022-07-27 21:39:29 +08:00
|
|
|
/* XXX: bleurgh, what is this? These classes totally break the component */
|
|
|
|
/* naming scheme; it's completely unclear where or how they're being used */
|
|
|
|
/* --Matthew */
|
2018-04-12 07:23:35 +08:00
|
|
|
|
|
|
|
.mx_Markdown_BOLD {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Markdown_ITALIC {
|
|
|
|
font-style: italic;
|
2019-07-10 01:15:10 +08:00
|
|
|
/*
|
2019-01-31 18:51:26 +08:00
|
|
|
// interestingly, *not* using the explicit italic font
|
|
|
|
// variant seems yield better results.
|
2019-01-16 20:53:46 +08:00
|
|
|
|
|
|
|
// compensate for Nunito italics being terrible
|
2022-07-27 21:39:29 +08:00
|
|
|
// https://github.com/google/fonts/issues/172
|
2019-01-16 20:53:46 +08:00
|
|
|
transform: skewX(-14deg);
|
|
|
|
display: inline-block;
|
2019-07-10 01:15:10 +08:00
|
|
|
*/
|
2018-04-12 07:23:35 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Markdown_CODE {
|
2022-12-12 19:24:14 +08:00
|
|
|
padding: 0.2em 0;
|
2018-04-12 07:23:35 +08:00
|
|
|
margin: 0;
|
|
|
|
font-size: 85%;
|
|
|
|
background-color: $rte-code-bg-color;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Markdown_HR {
|
|
|
|
display: block;
|
|
|
|
background: $rte-bg-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mx_Markdown_STRIKETHROUGH {
|
|
|
|
text-decoration: line-through;
|
|
|
|
}
|
2022-05-06 08:16:05 +08:00
|
|
|
|
|
|
|
.mx_Emoji {
|
2022-07-27 21:39:29 +08:00
|
|
|
/* Should be 1.8rem for our default message bodies, and scale with the */
|
|
|
|
/* surrounding text */
|
2022-05-06 08:16:05 +08:00
|
|
|
font-size: max($font-18px, 1em);
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|