Browse Source

More crimes

Thibaut Girka 4 weeks ago
parent
commit
57a1c42f3c
1 changed files with 26 additions and 0 deletions
  1. 26
    0
      app/javascript/styles/mastodon/components.scss

+ 26
- 0
app/javascript/styles/mastodon/components.scss View File

@@ -712,6 +712,11 @@
712 712
   &:not(.rich-text) {
713 713
     del {
714 714
       text-decoration: none;
715
+
716
+      &::before,
717
+      &::after {
718
+        content: '~~';
719
+      }
715 720
     }
716 721
 
717 722
     code {
@@ -720,6 +725,11 @@
720 725
 
721 726
     u {
722 727
       text-decoration: none;
728
+
729
+      &::before,
730
+      &::after {
731
+        content: '__';
732
+      }
723 733
     }
724 734
 
725 735
     h1::before {
@@ -741,6 +751,22 @@
741 751
     h5::before {
742 752
       content: '##### ';
743 753
     }
754
+
755
+    b,
756
+    strong {
757
+      &::before,
758
+      &::after {
759
+        content: '**';
760
+      }
761
+    }
762
+
763
+    em,
764
+    i {
765
+      &::before,
766
+      &::after {
767
+        content: '*';
768
+      }
769
+    }
744 770
   }
745 771
 
746 772
   &:not(.rich-blocks) {

Loading…
Cancel
Save