Skip to content

Commit

Permalink
'博客美化'
Browse files Browse the repository at this point in the history
  • Loading branch information
simply-none committed Apr 17, 2022
1 parent f5ba0fd commit fa1e30a
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 22 deletions.
2 changes: 1 addition & 1 deletion 3rdParty/css/buble.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 3rdParty/css/dark.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 3rdParty/css/pure.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 3rdParty/css/vue.css

Large diffs are not rendered by default.

95 changes: 94 additions & 1 deletion 3rdParty/js/docsify-footer-enh.min.js
Original file line number Diff line number Diff line change
@@ -1 +1,94 @@
!function(o){var e={};function t(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return o[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=o,t.c=e,t.d=function(o,e,n){t.o(o,e)||Object.defineProperty(o,e,{enumerable:!0,get:n})},t.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},t.t=function(o,e){if(1&e&&(o=t(o)),8&e)return o;if(4&e&&"object"==typeof o&&o&&o.__esModule)return o;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:o}),2&e&&"string"!=typeof o)for(var r in o)t.d(n,r,function(e){return o[e]}.bind(null,r));return n},t.n=function(o){var e=o&&o.__esModule?function(){return o.default}:function(){return o};return t.d(e,"a",e),e},t.o=function(o,e){return Object.prototype.hasOwnProperty.call(o,e)},t.p="",t(t.s=0)}([function(o,e,t){"use strict";t.r(e),window.$docsify=window.$docsify||{},window.$docsify.plugins=(window.$docsify.plugins||[]).concat((function(o,e){e.config.footer;let t=e.config.footer&&e.config.footer.copy?e.config.footer.copy:"<span>&copy; 2019.</span>",n=e.config.footer&&e.config.footer.auth?e.config.footer.auth:'<span>Published with <a href="https://github.com/docsifyjs/docsify" target="_blank" rel="noreferrer" rel="noopener">docsify</a>.</span>',r=e.config.footer&&e.config.footer.style?`style="${e.config.footer.style}"`:"",f=e.config.footer&&e.config.footer.class?`class="${e.config.footer.class}"`:"";var i=`${e.config.footer&&e.config.footer.pre?""+e.config.footer.pre:""}<footer ${r} ${f}>${t} ${n}</footer>`;o.afterEach((function(o){return o+i}))}))}]);
!(function (o) {
var e = {};
function t(n) {
if (e[n]) return e[n].exports;
var r = (e[n] = { i: n, l: !1, exports: {} });
return o[n].call(r.exports, r, r.exports, t), (r.l = !0), r.exports;
}
(t.m = o),
(t.c = e),
(t.d = function (o, e, n) {
t.o(o, e) || Object.defineProperty(o, e, { enumerable: !0, get: n });
}),
(t.r = function (o) {
"undefined" != typeof Symbol &&
Symbol.toStringTag &&
Object.defineProperty(o, Symbol.toStringTag, { value: "Module" }),
Object.defineProperty(o, "__esModule", { value: !0 });
}),
(t.t = function (o, e) {
if ((1 & e && (o = t(o)), 8 & e)) return o;
if (4 & e && "object" == typeof o && o && o.__esModule) return o;
var n = Object.create(null);
if (
(t.r(n),
Object.defineProperty(n, "default", { enumerable: !0, value: o }),
2 & e && "string" != typeof o)
)
for (var r in o)
t.d(
n,
r,
function (e) {
return o[e];
}.bind(null, r)
);
return n;
}),
(t.n = function (o) {
var e =
o && o.__esModule
? function () {
return o.default;
}
: function () {
return o;
};
return t.d(e, "a", e), e;
}),
(t.o = function (o, e) {
return Object.prototype.hasOwnProperty.call(o, e);
}),
(t.p = ""),
t((t.s = 0));
})([
function (o, e, t) {
"use strict";
t.r(e),
(window.$docsify = window.$docsify || {}),
(window.$docsify.plugins = (window.$docsify.plugins || []).concat(
function (o, e) {
e.config.footer;
let t =
e.config.footer && e.config.footer.copy
? e.config.footer.copy
: "<span>&copy; 2019.</span>",
n =
e.config.footer && e.config.footer.auth
? e.config.footer.auth
: '',
r =
e.config.footer && e.config.footer.style
? `style="${e.config.footer.style}"`
: "",
f =
e.config.footer && e.config.footer.class
? `class="${e.config.footer.class}"`
: "";
var i = `${
e.config.footer && e.config.footer.pre
? "" + e.config.footer.pre
: ""
}<footer>
<div style="float: left;"><a href="https://docsify.js.org" target="_blank" style="color: #afafaf; font-weight: normal; text-decoration: none;">博客模板通过<span style="color: #4ab1f6;">docsify</span>制作</a></div>
<div style="float: right; color: #afafaf;">${t} ${n}</div>
</footer>`;
o.afterEach(function (o) {
return o + i;
});
}
));
},
]);
2 changes: 1 addition & 1 deletion 3rdParty/js/docsify-pagination.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 4 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
window.$docsify = {
timeUpdater: {
text: ">最后更新时间: {docsify-updated}",
formatUpdated: "{YYYY}/{MM}/{DD}",
formatUpdated: "{YYYY}/{MM}/{DD} {HH}:{mm}:{ss}",
whereToPlace: "bottom",
},
// 阅读进度
Expand All @@ -79,8 +79,8 @@
},
// 页脚增强
footer: {
copy: '<span>解璎 &copy; 2022</span>',
auth: 'by 解璎',
copy: '<span>内容整理权归解璎所有&copy; 2022</span>',
auth: '',
pre: '<hr/>',
style: 'text-align: right;',
},
Expand Down Expand Up @@ -283,17 +283,6 @@
},
},
},
plugins: [
function (hook, vm) {
hook.beforeEach(function (html) {
return (
html +
'\n\n----\n\n' +
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
);
})
},
],
};
</script>
<script src="./3rdParty/js/docsify.min.js"></script>
Expand Down Expand Up @@ -346,8 +335,7 @@
border-radius: 0;
outline: 0;
font-size: 0.6em;
background: grey;
background: red;
background: #767676;
color: #fff;
opacity: 0;
}
Expand Down

0 comments on commit fa1e30a

Please sign in to comment.