remove italics CSS skew

This commit is contained in:
Matthew Hodgson 2019-01-31 11:51:26 +01:00
parent bc83a79ac6
commit 2fc6f89953
3 changed files with 11 additions and 1 deletions

View file

@ -79,11 +79,15 @@
.mx_Markdown_ITALIC {
font-style: italic;
/*
// interestingly, *not* using the explicit italic font
// variant seems yield better results.
// compensate for Nunito italics being terrible
// https://github.com/google/fonts/issues/1726
transform: skewX(-14deg);
display: inline-block;
*/
}
.mx_Markdown_CODE {

View file

@ -453,12 +453,17 @@ limitations under the License.
display: inline ! important;
}
/*
// actually, removing the Italic TTF provides
// better results seemingly
// compensate for Nunito italics being terrible
// https://github.com/google/fonts/issues/1726
.mx_EventTile_content .markdown-body em {
transform: skewX(-14deg);
display: inline-block;
}
*/
/* end of overrides */