Commit d5e8fcb312db77e5f86815eec404294a4b3cf900

Authored by Dmitriy Zaporozhets
1 parent 57001c23

Fix no-highlight code blocks for dark themes

app/assets/stylesheets/generic/typography.scss
@@ -90,9 +90,6 @@ a:focus { @@ -90,9 +90,6 @@ a:focus {
90 90
91 font-size: 14px; 91 font-size: 14px;
92 line-height: 1.6; 92 line-height: 1.6;
93 - .white .highlight pre {  
94 - background: #f5f5f5;  
95 - }  
96 ul { 93 ul {
97 padding: 0; 94 padding: 0;
98 margin: 0 0 9px 25px !important; 95 margin: 0 0 9px 25px !important;
app/assets/stylesheets/highlight/dark.scss
@@ -9,6 +9,10 @@ @@ -9,6 +9,10 @@
9 border-left: 1px solid #444; 9 border-left: 1px solid #444;
10 } 10 }
11 11
  12 + .no-highlight {
  13 + color: #DDD;
  14 + }
  15 +
12 .line-numbers a { 16 .line-numbers a {
13 color: #666; 17 color: #666;
14 } 18 }
app/assets/stylesheets/highlight/monokai.scss
@@ -9,6 +9,10 @@ @@ -9,6 +9,10 @@
9 background: #558; 9 background: #558;
10 } 10 }
11 11
  12 + .no-highlight {
  13 + color: #DDD;
  14 + }
  15 +
12 .line-numbers a { 16 .line-numbers a {
13 color: #666; 17 color: #666;
14 } 18 }
app/assets/stylesheets/highlight/solarized_dark.scss
@@ -9,6 +9,10 @@ @@ -9,6 +9,10 @@
9 background: #000; 9 background: #000;
10 } 10 }
11 11
  12 + .no-highlight {
  13 + color: #DDD;
  14 + }
  15 +
12 pre { 16 pre {
13 background-color: #002B36; 17 background-color: #002B36;
14 color: #eee; 18 color: #eee;