Frans 7 年 前
コミット
dd9b3a9784

+ 2 - 2
build/webpack.doc.base.conf.js

@@ -27,13 +27,13 @@ module.exports = merge(webpackBaseConf, {
             entry:'./src',
             entry:'./src',
             output:'./sites/doc/view/',
             output:'./sites/doc/view/',
             template:'./doc-site/template.html',
             template:'./doc-site/template.html',
-            nav:'left' // left top right bottom
+            nav:'left'
         }),
         }),
         new mdtohtml({
         new mdtohtml({
             entry:'./docs',
             entry:'./docs',
             output:'./sites/doc/page/',
             output:'./sites/doc/page/',
             template:'./doc-site/template.html',
             template:'./doc-site/template.html',
-            nav:'left', // left top right bottom
+            nav:'left',
             nohead:true
             nohead:true
         }),
         }),
         new HtmlWebpackPlugin({
         new HtmlWebpackPlugin({

+ 1 - 1
build/webpack.doc.dev.conf.js

@@ -1,7 +1,7 @@
 
 
 const path = require('path');
 const path = require('path');
 const baseConf = require('./webpack.doc.base.conf.js');
 const baseConf = require('./webpack.doc.base.conf.js');
-const merge = require('webpack-merge')
+const merge = require('webpack-merge');
 
 
 
 
 module.exports = merge(baseConf, {
 module.exports = merge(baseConf, {

+ 10 - 11
sites/doc/asset/css/common.scss

@@ -1,4 +1,3 @@
-
 @charset "utf-8";
 @charset "utf-8";
 html,
 html,
 body,
 body,
@@ -56,8 +55,8 @@ video {
     padding: 0;
     padding: 0;
     border: 0;
     border: 0;
     font: inherit;
     font: inherit;
-   
 }
 }
+
 ol,
 ol,
 ul {
 ul {
     list-style: none;
     list-style: none;
@@ -68,11 +67,9 @@ table {
     border-spacing: 0;
     border-spacing: 0;
 }
 }
 
 
-
-
 html,
 html,
 body {
 body {
-    font-family: Helvetica Neue, Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
+    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
     -webkit-font-smoothing: antialiased;
     -webkit-font-smoothing: antialiased;
 }
 }
 
 
@@ -142,13 +139,13 @@ pre {
     &>i {
     &>i {
         cursor: pointer;
         cursor: pointer;
         position: absolute;
         position: absolute;
-        top:10px;
-        width:16px;
-        height:16px;
+        top: 10px;
+        width: 16px;
+        height: 16px;
         background-repeat: no-repeat;
         background-repeat: no-repeat;
-        background-size:cover;
+        background-size: cover;
         opacity: .8;
         opacity: .8;
-        &:hover{
+        &:hover {
             opacity: 1;
             opacity: 1;
         }
         }
     }
     }
@@ -272,5 +269,7 @@ pre {
 }
 }
 
 
 pre.prettyprint {
 pre.prettyprint {
-    font: 14px/24px SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace; //background: transparent;
+    code {
+        font: 14px/24px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
+    }
 }
 }