-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
71 lines (69 loc) · 1.42 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>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>VirtualSquare</title>
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="docsify-vue-4.13.1.css">
<style>
.app-nav {
position: fixed;
padding: 1em;
margin: 0;
background-color: rgba(255,255,255,0.8);
backdrop-filter: blur(8px);
border-bottom-left-radius: 1rem;
}
.note {
background: #dbeafe;
padding: 1em;
}
.warning {
background: #fef9c3;
padding: 1em;
}
.hint {
background: #dcfce7;
padding: 1em;
}
img[src*='pictures/umps3-'] {
width: 50%;
}
</style>
</head>
<body>
<div id="app"></div>
<script>
window.$docsify = {
name: 'VirtualSquare',
logo: '/v2.png',
homepage: 'index.md',
loadNavbar: 'navigation.md',
alias: {
'/.*/navigation.md': '/navigation.md'
},
mergeNavbar: true,
relativePath: true,
auto2top: true,
markdown: {
renderer: {
paragraph: function(text) {
if (text.startsWith("Note:")) {
return `<p class="note">${text}</p>`;
}
if (text.startsWith("Warning:")) {
return `<p class="warning">${text}</p>`;
}
if (text.startsWith("Hint:")) {
return `<p class="hint">${text}</p>`;
}
return `<p>${text}</p>`;
}
},
},
};
</script>
<script src="docsify-4.13.1.js"></script>
</body>
</html>