about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-30 14:25:35 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:16 -0500
commit615b9418672de9b6b8fbfe52b1e4ab121847125e (patch)
tree451c2c7730a44f003dd8923cd6768b394989c749 /app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss
parent1e253fc5ef4be554dfc0b4c497c10308f4a38fb5 (diff)
[UI] Theme code and pre separately
Diffstat (limited to 'app/javascript/flavours/glitch/styles/monsterfork/components/formatting.scss')
-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 {