sidebar-search
yuitoTDF opened this issue · 5 comments
yuitoTDF commented
侧边栏搜索问题:
div.sidebar-search {
display: none!important;
}
More Information:
ErrVer
:2.1.2
JS配置
<script type="text/javascript">
window.cnblogsConfig = {
info: {
startDate: '2022-11-23', // 入园时间,年-月-日。入园时间查看方法:鼠标停留园龄时间上,会显示入园时间
avatar: 'https://pic.cnblogs.com/avatar/3044840/20230103180842.png',
},
sidebar: {
titleMsg: 'The sooner you start to code, the longer the program will take. —— Roy Carlson',
},
rtMenu: {
reward: {
wechatpay: 'https://pic.cnblogs.com/avatar/3044840/20230103180842.png'
},
},
switchDayNight: {
auto: {
enable: true
}
},
code: {
options: {
macStyle: true,
maxHeight: '50%',
},
},
banner: {
home: {
title: [
'The sooner you start to code, the longer the program will take. —— Roy Carlson',
'Don\'t debug standing up. It cuts your patience in half, and you need all you can muster. —— Dave Storer',
'Testing can show the presence of bugs, but not their absence. —— Edsger W. Dijkstra',
'Don\'t worry if it doesn\'t work right.If everything did,you\'d be out of a job. —— Mosher\'s Law of Software Engineering',
'Whenever possible, steal code. —— Tom Duff',
],
},
},
}
</script>
<script src="https://cdn.jsdelivr.net/gh/BNDong/Cnblogs-Theme-SimpleMemory@v2.1.2/dist/simpleMemory.js" defer></script>
CSS代码
[Code in <https://github.com/BNDong/Cnblogs-Theme-SimpleMemory/dist/simpleMemory.css>]
img {
border: 1px solid #ddd;
border-radius: 8px;
padding: 5px;
width: 150px;
}
div#blog_post_info_block,
div.postDesc,
div#cnblogs_ch,
div.under-post-card,
div[id^="under_post_card"] {
display: none;
}
div.sidebar-userinfo {
padding-left: 0px!important;
margin-top: 0px!important;
}
div.sidebar-search {
display: none!important;
}
wangyang0210 commented
侧边栏找一找功能没打开吧
wangyang0210 commented
wangyang0210 commented
不过这个未开启显示有问题,的却可以优化下;
yuitoTDF commented
是的,侧边栏搜索不是很喜欢
不过也罢了,虽然!important
不太应该用,但是显示效果可以就行。
yuitoTDF commented
看到新的commit了,感谢🙏