about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss12
1 files changed, 5 insertions, 7 deletions
diff --git a/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss b/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
index a0933ac4d..830997934 100644
--- a/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
+++ b/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
@@ -117,11 +117,9 @@
   del { text-decoration: line-through; }
   h6 { font-size: 8px; font-weight: bold; }
   hr { border-color: lighten($dark-text-color, 10%); }
-  pre {
-    &, code {
-      color: #6c6;
-      text-shadow: 0 0 4px #0f0;
-    }
+  pre, code {
+    color: #6c6;
+    text-shadow: 0 0 4px #0f0;
 
     background: linear-gradient(
       to bottom,
@@ -129,9 +127,9 @@
       #232 1px
     );
     background-size: 100% 2px;
+  }
+  pre {
     padding: 10px;
-    margin: 10px;
-
     border: 2px solid darken($ui-base-color, 20%);
   }
   mark {