From 57a1c42f3c27d80367d99eea004c5f856f5a66e1 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Sat, 27 Apr 2019 17:19:22 +0200 Subject: [PATCH] More crimes --- .../styles/mastodon/components.scss | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index dd49068e7..1a7578268 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -712,6 +712,11 @@ &:not(.rich-text) { del { text-decoration: none; + + &::before, + &::after { + content: '~~'; + } } code { @@ -720,6 +725,11 @@ u { text-decoration: none; + + &::before, + &::after { + content: '__'; + } } h1::before { @@ -741,6 +751,22 @@ h5::before { content: '##### '; } + + b, + strong { + &::before, + &::after { + content: '**'; + } + } + + em, + i { + &::before, + &::after { + content: '*'; + } + } } &:not(.rich-blocks) {