基本设置
代码高亮
定制 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;
}