Sotaro KARASAWA 11 лет назад
Родитель
Сommit
a1d931070f
2 измененных файлов с 6 добавлено и 7 удалено
  1. 2 2
      Gruntfile.js
  2. 4 5
      resource/css/_wiki.scss

+ 2 - 2
Gruntfile.js

@@ -60,11 +60,11 @@ module.exports = function(grunt) {
       dist: {
         files: {
           '<%= dirs.cssDest %>/<%= pkg.name %>.css': [
-            'bower_components/highlightjs/styles/default.css',
+            'bower_components/highlightjs/styles/tomorrow-night.css',
             '<%= dirs.cssDest %>/<%= pkg.name %>-main.css',
           ],
           '<%= dirs.cssDest %>/<%= pkg.name %>.min.css': [
-            'bower_components/highlightjs/styles/default.css', // TODO minimize
+            'bower_components/highlightjs/styles/tomorrow-night.css', // TODO minimize
             '<%= dirs.cssDest %>/<%= pkg.name %>-main.min.css',
           ],
           '<%= dirs.jsDest %>/<%= pkg.name %>.js': [

+ 4 - 5
resource/css/_wiki.scss

@@ -1,8 +1,3 @@
-
-pre.body {
-  border: solid 1px #ccc;
-  background: #f0f0f0;
-}
 div.body {
   padding: 10px;
 }
@@ -105,6 +100,10 @@ div.body {
   pre {
     line-height: 1.4em;
     font-size: .9em;
+    border: solid 1px #333;
+    background: #444;
+    color: #f0f0f0;
+    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
   }
 
   img {