diff --git a/app/assets/stylesheets/rich-text-content.css b/app/assets/stylesheets/rich-text-content.css index 5e871260f..38c7722e2 100644 --- a/app/assets/stylesheets/rich-text-content.css +++ b/app/assets/stylesheets/rich-text-content.css @@ -28,10 +28,19 @@ } } - :where(b, strong) { + :where(b, strong, .lexxy-content__bold) { font-weight: 700; } + :where(i, em, .lexxy-content__italic) { + font-style: italic; + } + + :where(s, .lexxy-content__strikethrough) { + text-decoration: line-through; + } + + :where(p, blockquote) { letter-spacing: -0.005ch; } @@ -75,10 +84,6 @@ padding-block: var(--block-margin); } - .lexxy-content__strikethrough { - text-decoration: line-through; - } - /* Code */ :where(code, pre) { background-color: var(--color-canvas);