-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathindex.html
More file actions
442 lines (397 loc) · 12.4 KB
/
index.html
File metadata and controls
442 lines (397 loc) · 12.4 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>码上Java</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="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/pure.css">
<!-- 谷歌站点收录 -->
<meta name="google-site-verification" content="qTFCf1hJ275saQ7H1kin5t2DVpznBKAj0Gi50XMOVMo" />
<!-- 百度站点收录-->
<meta name="baidu-site-verification" content="SZyWUIzWiU" />
<style>
/*加重描述strong*/
.markdown-section strong {
color: rgb(255, 0, 15);
}
.markdown-section > div > img, .markdown-section pre {
box-shadow: 2px 2px 20px 6px rgb(255, 255, 255) !important;
}
.markdown-section a:not(:hover) {
text-decoration: none;
}
h1 span{
display:inline-block;
background: rgb(66, 185, 131);
color:#ffffff;
padding: 10px 16px;
border-radius:5px;
box-shadow: 1px 1px 3px black;
}
/*代码块背景*/
p code{
background-color: rgb(255, 255, 255) !important;
}
.markdown-section p.tip,
.markdown-section tr:nth-child(1n) {
font-size: 16px !important;
}
.markdown-section h1 {
margin: 3rem 0 2rem 0;
}
.markdown-section h2 {
margin: 2rem 0 1rem;
}
img,
pre {
border-radius: 5px;
}
/*添加代码块复制按钮样式*/
.docsify-copy-code-button {
background: #894ea8 !important;
color: #FFFFFF !important;
font-size: 13px !important;
}
::after{
color: #9da2fd !important;
font-size: 13px !important;
}
.markdown-section>p {
font-size: 16px !important;
}
/*代码块头部图标 start*/
.markdown-section pre:before {
content: '';
display: block;
background: url(https://gitee.com/wugenqiang/PictureBed/raw/master/images01/20200716201955.png);
height: 30px;
background-size: 40px;
background-repeat: no-repeat;
background-color: #1C1C1C;
background-position: 10px 10px;
}
/*代码块头部图标 end*/
.markdown-section pre>code {
color: #c0c3c1 !important;
font-family: 'Inconsolata', consolas,"PingFang SC", "Microsoft YaHei", monospace !important;
background-color: #212121 !important; //#accfff #282c34
font-size: 15px !important;
white-space: pre !important;
line-height: 1.5 !important;
-moz-tab-size: 4 !important;
-o-tab-size: 4 !important;
tab-size: 4 !important;
/*border-radius: .3em;*/
}
ol, ul, li{
line-height: 27px !important;
font-size: 16px !important;
}
@media (min-width:600px) {
.markdown-section pre>code {
font-size: 15px !important;
letter-spacing: 1.1px !important;
}
}
@media (max-width:600px) {
.markdown-section pre>code {
padding-top: 5px;
padding-bottom: 5px;
padding-left: 16px !important;
}
pre:after {
content: "" !important;
}
}
section.cover h1 {
margin: 0;
}
pre {
background-color: #212121 !important;
}
@media (min-width:600px) {
pre code {
/*box-shadow: 2px 1px 20px 2px #aaa;*/
/*border-radius: 10px !important;*/
padding-left: 20px !important;
}
}
@media (max-width:600px) {
pre {
padding-left: 3px !important;
padding-right: 3px !important;
margin-left: -20px !important;
margin-right: -20px !important;
box-shadow: 0px 0px 20px 0px #f7f7f7 !important;
}
/*代码块复制按钮默认隐藏*/
.docsify-copy-code-button {
display: none;
}
.advertisement{
display: none;
}
}
.markdown-section pre {
padding-left: 0 !important;
padding-right: 0px !important;
}
.markdown-section {
margin: 0 3.2% !important;
}
/*修改代码块代码颜色显示*/
.token.directive.keyword{
color: #4faee2 !important;
}
/*修改代码块代码颜色显示*/
.token.directive.keyword{
color: #4faee2 !important;
}
.token.keyword{
color: #c678dd !important;
}
.token.comment{
color: #737c8b !important;
}
.token.tag{
color: #a589ad !important;
}
.token.attr-name{
color: #de916c !important;
}
.token.attr-value{
color: #4faee2 !important;
}
.token.macro.property{
color: #4faee2 !important;
}
.token.function{
color: #e6b456 !important;
}
.token.string{
color: #98b755 !important;
}
.token.punctuation{
color: #c0c3c1 !important;
}
.token.number{
color:#c0c3c1 !important;
}
/*侧边栏*/
.sidebar {
padding-top: 6px;
}
@media (max-width:600px) {
pre {
padding-left: 3px !important;
padding-right: 3px !important;
margin-left: -20px !important;
margin-right: -20px !important;
box-shadow: 0px 0px 20px 0px #f7f7f7 !important;
}
/*代码块复制按钮默认隐藏*/
.docsify-copy-code-button {
display: none;
}
.advertisement{
display: none;
}
}
.advertisement {
position: fixed;
right: 20px;
top: 100px;
width: 130px;
box-shadow: -1px 0 2px 0px #c5ebda;
padding: 10px;
z-index: 99;
background-color: #fff;
text-align: center;
}
.advertisement p,
h4 {
margin: 0;
padding: 0;
}
.advertisement .Tencent_code h4 {
font-size: 15px;
color: #25a46a;
margin-bottom: 10px;
}
</style>
</head>
<body>
<div id="app">🏃 💨 嘟嘟嘟 疯狂 加载中...</div>
<div class="aside_container">
<div class="advertisement">
<div class="Tencent_code">
<h4>关注微信公众号:码上Java</h4>
<p style="font-size: 12px;">一起进步,一起成为更好的自己~</p>
<img src="https://cdn.jsdelivr.net/gh/msJavaCoder/msJava@master/image/公众号二维码.jpg" alt="EnjoyToShare" />
</div>
</div>
</div>
<script>
// 离线支持
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
window.$docsify = {
name: '🔥 码上Java',
repo: 'https://github.com/msJavaCoder/msJava',
maxLevel: 5,//最大支持渲染的标题层级+Z z--
subMaxLevel: 5, // 最大支持渲染的子标题层级
homepage: "README.md",
coverpage: true, //开启封面
loadSidebar:true,/* 加载自定义的侧边栏,默认加载_sidebar.md,加载别的文件把true改成“xxx.md” */
loadNavbar:true,/* 加载自定义的导航栏,默认加载_navbar.md,加载别的文件把true改成“xxx.md” */
auto2top: true,//切换页面后是否自动跳转到页面顶部
mergeNavbar: true,/* 小屏设备下合并导航栏到侧边栏 */
externalLinkTarget: '_blank', //外链打开方式:_blank表示在新标签页中打开
disqus: 'shortname',
search: {
//maxAge: 86400000, // 过期时间,单位毫秒,默认一天
paths: 'auto',
placeholder: ' 🔍 Type to search',
noData: '😞 No Results!',
depth: 3, // 搜索标题的最大程级, 1 - 6
},
pagination: {
previousText: '上一章',
nextText: '下一章',
}
}
</script>
<script>
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('sw.js')
}
</script>
<!-- 开启封面支持 -->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
<!-- 图片缩放插件 -->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<!-- 全文搜索-->
<script src="https://cdn.bootcss.com/docsify/4.5.9/plugins/search.min.js"></script>
<!-- 图片缩放 -->
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.js"></script>
<!--Java代码高亮-->
<script src="//unpkg.com/prismjs/components/prism-java.js"></script>
<!--sql代码高亮-->
<script src="//unpkg.com/prismjs/components/prism-sql.js"></script>
<!--shell代码高亮-->
<script src="//unpkg.com/prismjs/components/prism-bash.js"></script>
<!--分页插件-->
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
<!-- 字数统计 -->
<script src="//unpkg.com/docsify-count/dist/countable.js"></script>
<!-- 表情 -->
<script src="//unpkg.com/docsify/lib/plugins/emoji.js"></script>
<!-- 复制到剪贴板 -->
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script>
<script src="https://eqcn.ajz.miesnfu.com/wp-content/plugins/wp-3d-pony/live2dw/lib/L2Dwidget.min.js"></script>
<script>
L2Dwidget.init({
"model": {
//jsonpath控制显示那个小萝莉模型,
//(切换模型需要改动)
// 小可爱(女)
jsonPath: "https://unpkg.com/[email protected]/assets/koharu.model.json",
// 小可爱(男)
// jsonPath: "https://unpkg.com/[email protected]/assets/haruto.model.json",
//萌娘
// jsonPath: "https://unpkg.com/[email protected]/assets/shizuku.model.json",
// 小帅哥
// jsonPath: "https://unpkg.com/[email protected]/assets/chitose.model.json",
// 初音
// jsonPath: "https://unpkg.com/[email protected]/assets/miku.model.json",
"scale": 2
},
"display": {
"position": "right", //看板娘的表现位置
"width": 100, //小萝莉的宽度
"height": 200, //小萝莉的高度
"hOffset": 35,
"vOffset": -20
},
"mobile": {
"show": true,
"scale": 0.5
},
"react": {
"opacityDefault": 0.7,
"opacityOnHover": 0.2
}
});
</script>
<!-- 回到顶部功能 -->
<script src="https://cdn.jsdelivr.net/gh/wugenqiang/NoteBook@master/plugin/jquery.js"></script>
<script src="https://cdn.jsdelivr.net/gh/wugenqiang/NoteBook@master/plugin/jquery.goup.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$.goup({
trigger: 100,
bottomOffset: 52,
locationOffset: 25,
//title: 'TOP',
titleAsText: true
});
});
</script>
<!-- mouse click -->
<!--<script src="https://cdn.jsdelivr.net/gh/wugenqiang/NoteBook@master/plugin/click_heart.js"></script>-->
<!--<script src="https://blog-static.cnblogs.com/files/melodyjerry/cursor-effects.js"></script>-->
<script type="text/javascript">
//定义获取词语下标
var a_idx = 0;
jQuery(document).ready(function ($) {
//点击body时触发事件
$("body").click(function (e) {
//需要显示的词语
var a = new Array("富强", "民主", "文明", "和谐", "自由", "平等", "公正", "法治", "爱国", "敬业", "诚信", "友善");
// var a = new Array("Java", "Python", ",MySQL", "Redis", "Spring", "SpringMVC",
// "MyBatis", "SpringBoot", "SpringCloud", "Linux","设计模式","");
//设置词语给span标签
var $i = $("<span/>").text(a[a_idx]);
//下标等于原来下标+1 余 词语总数
a_idx = (a_idx + 1) % a.length;
//获取鼠标指针的位置,分别相对于文档的左和右边缘。
//获取x和y的指针坐标
var x = e.pageX, y = e.pageY;
//在鼠标的指针的位置给$i定义的span标签添加css样式
$i.css({
"z-index": 999,
"top": y - 20,
"left": x,
"position": "absolute",
"font-weight": "bold",
"color": rand_color()
});
// 随机颜色
function rand_color() {
return "rgb(" + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + "," + ~~(255 * Math.random()) + ")"
}
//在body添加这个标签
$("body").append($i);
//animate() 方法执行 CSS 属性集的自定义动画。
//该方法通过CSS样式将元素从一个状态改变为另一个状态。CSS属性值是逐渐改变的,这样就可以创建动画效果。
//详情请看http://www.w3school.com.cn/jquery/effect_animate.asp
$i.animate({
//将原来的位置向上移动180
"top": y - 180,
"opacity": 0
//1500动画的速度
}, 1500, function () {
//时间到了自动删除
$i.remove();
});
});
})
;
</script>
</body>
</html>