-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
71 lines (69 loc) · 3.18 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<meta name="description" content="Description">
<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/[email protected]/lib/themes/vue.css">
<script src="//unpkg.com/vue"></script>
<script src="custom/js/plugins/footer.js"></script>
<link rel="stylesheet" href="custom/css/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css"
integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://cdn.bootcss.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"
integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="custom/css/mystyle.css">
</head>
<body>
<div id="app"></div>
<button onclick="topFunction()" id="topBtn" type="button" class="btn btn-info btn-sm" title="Go to top"><i class="fa fa-angle-double-up"></i> Top</button>
<script>
window.$docsify = {
name: '<b>CB</b>oard v0.4',
repo: 'https://github.com/yzhang921/CBoard',
auto2top: true,
loadSidebar: true,
loadNavbar: true,
maxLevel: 4,
subMaxLevel: 4,
search : {
paths: 'auto'
},
coverpage: true,
plugins: [my_footer]
}
</script>
<script>
// When the user scrolls down 20px from the top of the document, show the button
window.onscroll = function() {scrollFunction()};
function scrollFunction() {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
document.getElementById("topBtn").style.display = "block";
} else {
document.getElementById("topBtn").style.display = "none";
}
}
// When the user clicks on the button, scroll to the top of the document
function topFunction() {
document.body.scrollTop = 0;
document.documentElement.scrollTop = 0;
}
</script>
<script src="//unpkg.com/[email protected]/lib/docsify.min.js"></script>
<script src="//unpkg.com/[email protected]/lib/plugins/search.js"></script>
<script src="//unpkg.com/[email protected]/lib/plugins/emoji.js"></script>
<!--<script src="//unpkg.com/[email protected]/lib/plugins/zoom-image.js"></script>-->
<script async defer src="https://buttons.github.io/buttons.js"></script>
<script src="//unpkg.com/[email protected]/dist/docsify-pagination.min.js"></script>
</body>
</html>