Update vue theme

This commit is contained in:
qingwei.li 2016-11-22 23:28:31 +08:00
commit 3d54f9d001
3 changed files with 19 additions and 3 deletions

View file

@ -2,9 +2,11 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>docsify</title> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css"> <link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">
</head> </head>
<body></body> <body>
<script src="//unpkg.com/docsify"></script> <div id="app"></div>
</body>
<script src="//unpkg.com/docsify/lib/docsify.pack.min.js"></script>
</html> </html>

View file

@ -12,6 +12,10 @@
"build": "node build/build.js", "build": "node build/build.js",
"test": "eslint src test" "test": "eslint src test"
}, },
"repository": {
"type": "git",
"url": "https://github.com/QingWei-Li/docsify.git"
},
"keywords": [ "keywords": [
"doc", "doc",
"docs", "docs",

View file

@ -97,6 +97,16 @@ main {
padding-top: 20px; padding-top: 20px;
} }
@media screen(max-width: 600px) {
.sidebar {
left: -300px;
}
.content {
left: 0;
}
}
/* markdown content found on pages */ /* markdown content found on pages */
.markdown-section { .markdown-section {
position: relative; position: relative;