本站使用的 Bogaty Lite 主题的优化

外观 – 自定义 – 额外 CSS 中添加如下代码

#content img {
	box-shadow:0px 0px 10px rgba(0,0,0,0.1);
	max-height:1024px;
}
video {
	max-height: 668px;
}
.page .entry-content > p:first-child, .single .entry-content > p:first-child{
	font-size:unset;
	font-weight:unset;
}
.entry-content p.read-more,.more-link{
	display:inline-block;
	border-radius:50px;
	padding:8px 15px;
	font-size:15px;
	margin-top:10px
}
.home.blog .entry-content p:nth-last-child(2){
	display:none;	
}
article{
	padding: 20px 0 20px;
}
body, button, input, select, textarea,.widget{
	font-size: 1.5rem;
}
.site-description{
	font-size: 1.5rem;
}
p,pre{
	margin: 0 0 1.2em;	
}
pre{
	padding:12px 15px;
	border-radius:5px;
	line-height:1.4em;
}
h1{
	font-size:3rem;
}
h2{
	font-size:2.6rem;
}
.entry-content p:first-child{
	font-size:unset;
}
.entry-footer .edit-link{
	margin-top:0;
}
.entry-content, .entry-summary{
	margin: 1em 0 0;
}
.site-content{
	margin-top:20px;
}
p.has-background{
	padding:14px 15px;
	border-radius:5px;
	display:inline-block;
}
.entry-content blockquote{
	padding:12px 25px 8px;
}
.entry-content>p>a{
	background: #f5f5f5;
 	padding: 8px 10px;
	border-radius:5px;
}
.entry-content>p>img,.wp-block-image>img{	
	background: #f5f5f5;
	border-radius:5px;
}
ol > li.pingback{
	margin-bottom:0;
}
.pingback .comment-body{
	padding-top:10px;
}
ol.comment-list > .comment > article{
	padding:20px 0 15px;
}
ol.comment-list .children .comment > article{
	margin-bottom:15px;
}
.comment-author .avatar{
	border-radius:4px;
}
ol.comment-list > .comment p{
	padding-right:15px;
}
.comment-form .form-submit input{
	margin:unset;
}
.comments-area{
	margin-bottom:20px;
}
.comment-form label{
	padding-top:10px;
}
article{
	border-bottom:unset;
}
li > ul, li > ol,ol > li > ul{
	margin:unset;
}
/* h4{
	padding: 14px 15px;
	border-radius: 5px;
	display: inline-block;
	background-color: #0693e3;
	color:white;
	font-weight:500;
	font-size:unset;
	line-height:unset;
	margin-bottom:1em;
	margin-top:0.4em;
	line-height:2.0em;
} */
h3,h4 {	
	margin: 0 0 1em 0;
	padding: 15px 20px 15px 26px;
	position: relative;
	font-weight:600;
	line-height: 30px;
	background-color: #f6f6f6;
}
h3:before,h4:before{
	content: "";
	border-left: 8px solid #0693e3;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
}
h3{
	font-size:1.8rem;
}
h4{
	font-size:1.6rem;
}
h3:before{
	border-left:8px solid rgb(255, 105, 0);
}
p{
	line-height:2.0em;
	margin-bottom:0.5em;
}
code{
	font-size: 1.3rem;
	line-height: 1;
	color:#676767;
}
.hentry{
	margin:0;
	position:relative;
}
.entry-footer .edit-link{
	position: absolute;
	top: 25px;
	right: 0;
}
.tagcloud.tags-links{
	margin-bottom:10px;
}
article{
	padding-bottom:0 ;
}

2 Comments

发表评论

电子邮件地址不会被公开。 必填项已用*标注