博客园设置分享

基本设置

image-20230802103838574

代码高亮

image-20230802104531238

定制 CSS 代码

#home {
width: 1102px;
}
h1.postTitle {
margin: 0;
}
/* 文章标题大小 */
#cb_post_title_url > span {
font-size: 24px;
}
#cnblogs_post_body {
margin-left: 10px;
margin-right: 10px;
}
/* 图片和代码块的圆角&阴影 */
#cnblogs_post_body img,
#cnblogs_post_body pre.highlighter-hljs {
border-radius: 8px;
box-shadow: 0 0px 5px #888;
}
#cnblogs_post_body img {
max-height: 450px;
}
#cnblogs_post_body p > img {
margin-right: 15px;
}
#cnblogs_post_body p > img:nth-child(1) {
margin-left: 0;
}
#cnblogs_post_body > h2 {
margin-top: 30px;
margin-bottom: 10px;
}
/* 高亮字体 `font` */
#cnblogs_post_body :not(pre, div, td) > code {
font-size: inherit;
font-weight: bold;
background-color: inherit;
color: #ff5e03;
}
/* 评论间距 */
.feedbackItem {
margin-top: 0px;
}
posted @   王舰  阅读(10)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
点击右上角即可分享
微信分享提示