Some bugfixes
[blog.git] / _scss / highlight.scss
index afc40b8..6d27b13 100644 (file)
@@ -1,23 +1,31 @@
-$bg-color: #002B36;
-$base01:   #9F9F9F;
-$body:     #839496;
-$orange:   #FF8900;
-$red:      #FF2B27;
-$blue:     #6DC2FD;
-$cyan:     #69FFF4;
-$green:    #3AE25C;
-
 .highlight {
+
     background-color: $bg-color; color: $body;
     border: solid 1px;
     padding: 1vmax;
     overflow: auto;
 
     font:{
-        weight: 300;
         family: $font-family-mono;
-        size: 1.3 * $base-font-pct;
-        size: 1.3 * $base-font-rel;
+        size: 0.75 * $base-font-pct;
+        size: 0.98 * $base-font-rel;
+    }
+
+    p, pre {
+        margin-bottom: 0;
+    }
+
+    .lineno {
+        color: #ccc;
+        display:inline-block;
+        padding: 0 5px;
+        border-right:1px solid #ccc;
+    }
+    pre code {
+        display: block;
+        white-space: pre;
+        overflow-x: auto;
+        word-wrap: normal;
     }
 
     .c { color: $base01; } /* Comment */