OSDN Git Service

Fix no-highlight code blocks for dark themes
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Thu, 30 Jan 2014 12:02:57 +0000 (14:02 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Thu, 30 Jan 2014 12:02:57 +0000 (14:02 +0200)
app/assets/stylesheets/generic/typography.scss
app/assets/stylesheets/highlight/dark.scss
app/assets/stylesheets/highlight/monokai.scss
app/assets/stylesheets/highlight/solarized_dark.scss

index 4490566..419a63d 100644 (file)
@@ -90,9 +90,6 @@ a:focus {
 
   font-size: 14px;
   line-height: 1.6;
-  .white .highlight pre {
-    background: #f5f5f5;
-  }
   ul {
     padding: 0;
     margin: 0 0 9px 25px !important;
index d370175..ca51da3 100644 (file)
@@ -9,6 +9,10 @@
     border-left: 1px solid #444;
   }
 
+  .no-highlight {
+    color: #DDD;
+  }
+
   .line-numbers a {
     color: #666;
   }
index 1557f82..36bc5df 100644 (file)
@@ -9,6 +9,10 @@
     background: #558;
   }
 
+  .no-highlight {
+    color: #DDD;
+  }
+
   .line-numbers a {
     color: #666;
   }
index 6fd32d2..b9bec22 100644 (file)
@@ -9,6 +9,10 @@
     background: #000;
   }
 
+  .no-highlight {
+    color: #DDD;
+  }
+
   pre {
     background-color: #002B36;
     color: #eee;