页面定制CSS代码
#loading{bottom:0;left:0;position:fixed;right:0;top:0;z-index:9999;background-color:#f4f5f5;pointer-events:none;}.loader-inner{will-change:transform;width:40px;height:40px;position:absolute;top:50%;left:50%;margin:-20px 0 0 -20px;background-color:#3742fa;border-radius:50%;animation:scaleout 0.6s infinite ease-in-out forwards;text-indent:-99999px;z-index:999991;}@keyframes scaleout{0%{transform:scale(0);opacity:0;}40%{opacity:1;}100%{transform:scale(1);opacity:0;}}
页首HTML代码
<div id="loading"><div class="loader-inner"></div></div>
页脚HTML代码
<script type="text/javascript" language="javascript">
//Setting ico for cnblogs
var linkObject = document.createElement('link');
linkObject.rel = "shortcut icon";
linkObject.href = "https://blog-static.cnblogs.com/files/blogs/524473/bitbug_favicon.ico";
document.getElementsByTagName("head")[0].appendChild(linkObject);
</script>
<script src="https://blog-static.cnblogs.com/files/guangzan/loader.min.js"></script>
<script>
const config = {
// 默认启用皮肤 'reacg'
// 在这里添加自定义配置
// 当前为全部使用默认配置
theme:{
// 主题名称
name: 'geek',
// 头像
// avatar: 'https://pic.cnblogs.com/avatar/2811394/20220324105253.png',
avatar: 'https://images.cnblogs.com/cnblogs_com/blogs/524473/galleries/1577632/t_230508082346_blackRoles.jpg',
title: 'Harley博客',
favicon: 'https://pic.cnblogs.com/avatar/2811394/20220324105253.png',
// log: '嘿嘿嘿! 看我控制台干什么,要美化可别联系我!',
color: '#FFB3CC',
// headerBackground: 'https://www.toopic.cn/public/uploads/small/1642749404919164274940482.jpg',
headerBackground: 'https://www.toopic.cn/public/uploads/small/1634201952212163420195232.jpg',
//headerBackground: 'https://www.toopic.cn/public/uploads/small/1642746777809164274677740.jpg',
},
// 个性签名部分
signature: {
enable: true,
contents: [
"欢迎来到 <b style='color:#ff6b81'>Harley</b> 的博客园.",
"道德经·第一章",
"道可道,非常道;名可名,非常名。",
"无名,天地之始,有名,万物之母。",
"故常无欲,以观其妙,常有欲,以观其徼。",
"此两者,同出而异名,同谓之玄,玄之又玄,众妙之门。",
"道德经·第二章",
"天下皆知美之为美,斯恶已,皆知善之为善,斯不善已。",
"故有无相生,难易相成,长短相形,高下相倾,音声相和,前后相随。",
"是以圣人处无为之事,行不言之教,万物作焉而不辞,生而不有,为而不恃,功成而弗居。",
"夫惟弗居,是以不去。",
"道德经·第三章",
"不尚贤,使民不争;不贵难得之货,使民不为盗;不见可欲,使民心不乱。",
"是以圣人之治,虚其心,实其腹,弱其志,强其骨,常使民无知无欲。",
"使夫知者不敢为也。",
"为无为,则无不治。",
"道德经·第四章",
"道冲,而用之或不盈。",
"渊兮,似万物之宗。",
"挫其锐,解其纷,和其光,同其尘。",
"湛兮,似或存,吾不知其谁之子,象帝之先。",
"道德经·第五章",
"天地不仁,以万物为刍狗,圣人不仁,以百姓为刍狗。",
"天地之间,其犹橐籥乎?",
"虚而不屈,动而愈出。",
"多言数穷,不如守中。",
"道德经·第六章",
"谷神不死,是谓玄牝。",
"玄牝之门,是谓天地根。",
"绵绵若存,用之不勤。",
"道德经·第七章",
"天长地久。",
"天地所以能长且久者,以其不自生,故能长生。",
"是以圣人后其身而身先,外其身而身存。",
"非以其无私邪?",
"故能成其私。",
],
},
// 表情包
emoji: {
enable: true,
buttonIcon: "
标签:enable,cnblogs,博客园,主题,value,label,https,true,用过
From: https://www.cnblogs.com/harleyblogs/p/17429098.html