<script type="text/javascript">
window.cnblogsConfig = {
info: {
name: 'Martian148', // 用户名 || 不配置默认取博客园名称
startDate: '2018-10-13', // 入园时间,年-月-日。入园时间查看方法:鼠标停留园龄时间上,会显示入园时间
avatar: 'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112115339.jpg', // 用户头像
},
sidebar: {
// 列表数据 ['导航名称', '链接', 'icon']
navList: [
['随笔', 'https://i.cnblogs.com/posts/edit', 'icon-brush-fill'],
['GitHub', 'https://github.com/chengyiwei', 'icon-github'],
['Cnblogs', 'https://www.cnblogs.com/martian148/', 'icon-cnblogs'],
['刷题列表', 'https://placid-gate-165.notion.site/483ee7a18b614e339b456f3777a3642d?v=61ff664b1ca24247b59d73c2382607e6&pvs=4', 'icon-book'],
['友链', 'https://www.cnblogs.com/martian148/p/17826681.html', 'icon-lianjie'],
],
//侧边栏背景图片
infoBackground: 'https://images.cnblogs.com/cnblogs_com/wangyang0210/1943283/o_220918180339_wallhaven-g7og6e_522x929.webp',
//侧边栏 title 信息
titleMsg: '欢迎访问Martian148的博客~',
},
banner: {
home: {
//主页 banner 图片 Url,推荐尺寸>= 1920*1080,支持多张,每次刷新随机设置一张。
background: [
'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112111259.jpg',
'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112112149.jpg',
'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112112242.jpg',
'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112112340.jpg',
'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112112409.jpg',
'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112112433.jpg',
'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112112553.png',
],
//主页 banner 标语,随机从数组中获取一条文字显示
title: ['学无止境 谦卑而行', '心具不死 踏尸前行'],
//文章页
},
article: {
//banner 图片 图片 Url,推荐尺寸>= 1920*1080,支持多张,每次刷新随机设置一张。
background: [
'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112111404.jpg',
],
},
},
//页脚样式
footer: {
style: 1,
},
//友链
links: {
page: [
{
title: '友情链接', // 标题
icon: 'icon-lianjie', // iconfont
style: 'color: #a78bfa;',
links: [
{
name: 'Martian148', // 昵称
introduction: '蒟蒻本人', // 简介
avatar: 'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112115339.jpg', // 头像
url: 'https://www.cnblogs.com/martian148' // 友链地址
},
]
},
],
},
//日/夜间模式配置
switchDayNight: {
enable: true, //是否开启日/夜间模式切换按钮
nightMode: false, // 强制夜间模式
},
// 动效设置
animate: {
homeBanner: { //主页下面冒气泡
enable: true,
options: {
radius: 15,
},
},
mouse: { //鼠标特效
mouse: { //鼠标变圆圈
enable: true,
options: {
size: 8,
sizeF: 36,
},
},
bubble: { //气泡跟随鼠标移动
enable: false,
options: {
live: 30,
colors: ['149, 197, 252', '224, 199, 252'],
quantity: 15,
size: 5,
},
},
},
avatar: { //点一下侧边栏的头像会转一下
enable: true,
},
},
code: { //代码设置
type: 'hljs',
options: {
hljs: {
theme: 'atom-one-dark-reasonable',
languages: ['Bash', 'CSS', 'Dockerfile', 'Go', 'HTML', 'XML', 'HTTP','cpp','python'],
},
maxHeight: '70vh', //代码框高度限制
line: true, //是否开启行号
macStyle: false, //Mac风格代码框
},
},
articleSuffix: {
aboutHtml: '一名热爱文学的理科生', //关于博主
copyrightHtml: '如需转载,请标明出处', //版权声明
},
rtMenu: { //底部右下角菜单
qrCode: 'https://pic-1301573324.cos.ap-chengdu.myqcloud.com/20231112113233.png', //二维码
},
memorialDays: [], //纪念日,网站编程灰色
articleContent: {
commentBackground: {
enabled: true,
options: {
day: 'rgba(0, 0, 0, 0) url("https://images.cnblogs.com/cnblogs_com/wangyang0210/1943283/o_230301073716_comment_bg_day.png") no-repeat scroll 100% 31% / 35% padding-box border-box',
night: 'rgba(0, 0, 0, 0) url("https://images.cnblogs.com/cnblogs_com/wangyang0210/1943283/o_230301073520_comment_bg_dark.png") no-repeat scroll 100% 31% / 35% padding-box border-box',
},
},
},
}
</script>
<script src="https://cdn.jsdelivr.net/gh/wangyang0210/[email protected]/dist/simple-memory.js" defer></script>
标签:cos,cnblogs,侧边,https,com,myqcloud,chengdu
From: https://www.cnblogs.com/martian148/p/17826997.html