diff --git a/app/assets/stylesheets/highlight/dark.scss b/app/assets/stylesheets/highlight/dark.scss
index 4196ea7ad2973c382be65758836d6770ce4bccae..02c5d72621c1e6f83a9c8a4165d321d605630405 100644
--- a/app/assets/stylesheets/highlight/dark.scss
+++ b/app/assets/stylesheets/highlight/dark.scss
@@ -1,6 +1,8 @@
 .black .highlight {
+
+  background-color: #333;
+
   pre {
-    background-color: #333;
     color: #eee;
   }
 
diff --git a/app/assets/stylesheets/highlight/monokai.scss b/app/assets/stylesheets/highlight/monokai.scss
index 6d8f740fc0936f2041993ec799399ef63391a5ea..4e039d94348c5239f5328ce72df841a19565a300 100644
--- a/app/assets/stylesheets/highlight/monokai.scss
+++ b/app/assets/stylesheets/highlight/monokai.scss
@@ -8,8 +8,10 @@ $monokai-dark: #3b3a32;
 $monokai-purple: #ae81ff;
 
 .monokai .highlight {
+
+  background-color: #272822;
+
   pre {
-    background-color: #272822;
     color: $monokai-fg;
   }
 
diff --git a/app/assets/stylesheets/highlight/solarized_dark.scss b/app/assets/stylesheets/highlight/solarized_dark.scss
index 3f215b4e0fe0ba5fb1545ffefa398954dd0a9d12..a58918519a37e4ecfc28ab5df4a1132417ac0101 100644
--- a/app/assets/stylesheets/highlight/solarized_dark.scss
+++ b/app/assets/stylesheets/highlight/solarized_dark.scss
@@ -1,6 +1,8 @@
 .solarized-dark .highlight {
+  
+  background-color: #002B36;
+  
   pre {
-    background-color: #002B36;
     color: #eee;
   }
 
diff --git a/app/assets/stylesheets/highlight/white.scss b/app/assets/stylesheets/highlight/white.scss
index f200e1d7b6056ed54b8d6ff7cb09af8f3ef07881..04989f7dfb48aa603b22d640ca502004a3e2be96 100644
--- a/app/assets/stylesheets/highlight/white.scss
+++ b/app/assets/stylesheets/highlight/white.scss
@@ -1,6 +1,8 @@
 .white .highlight {
+  
+  background-color: #fff;
+  
   pre {
-    background-color: #fff;
     color: #333;
   }