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