焕然一新

之前这个日记一直用的 WordPress 2021 年的默认主题,界面挺简约的很喜欢,今天又想在原有的基础上美化一番,

对比一下差别吧:

代码分享:

//原创,转载请著名本文地址:https://drizzle.vip/archives/1059

.site-content .entry-content{
	padding:20px;
	background-color:#ccccff6b;
	max-width:610px;
	border-radius:8px
}

.site-content .drizzle{
	max-width:660px;
}

#wpadminbar{
	background-color:#b5b5ce;
}

.post-877 .entry-content{
	padding:20px;
	background-color:#d8d8d863;
	max-width:540px;
	
	border-radius:8px
}

.post-877 header h2 a{
	color:white;
	background-color: #12217c7d;
	border-radius:12px;
	padding:8px;
	text-decoration:none;
	font-size:24px
}

.post-877 header h2 a:hover{
	border:3px solid #12217c7d;
	background-color:white;
	color:#00a2b3bd;
}


.post-877 .entry-content{
	margin-top:15px;
}


.post-877 footer{
	display:none;
}

.more-link{
	display:none;
}

.primary-menu-container li a{
	font-size:18px;
	padding: 10px;
	display:inline-block;
	color:white!important;
	border-radius:8px;
	margin:2px;
	background-color:#00a2b3bd;
}

.primary-menu-container li a:hover{
	padding:8px;
	border:2px solid #00a2b3bd;
	background-color:white;
	color:#00a2b3bd!important;
}

#main{
	padding:20px;
	background-color:#fff;
	border-radius:40px;
	margin:0 auto;
	max-width:1200px;
}

.entry-title{
 text-align:center;	
}

.site-title{
	color:white;
}

.site-description{
	color:white;
}

header h1{
	font-size:42px!important;
}

.singular .entry-header{
	border-bottom:3px solid #00a2b3bd;
}

aside{
	color:#444444b8!important;
}

aside a{
	color:#444444b8!important;
}

.site-title > a {
	text-decoration-color:white;
}

.menu-button-container #primary-mobile-menu{
	color:white;
}
	

8条评论

林林进行回复 取消回复

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