/*
Theme Name: diywptheme2
Description: Used to style blocks.
*/

* {
	margin:0;
	padding:0;
}
html,body {
	font-family:"Microsoft YaHei","Hiragino Sans GB",Tahoma,Helvetica,Arial,sans-serif,"WenQuanYi Micro Hei",Verdana;
	font-size:16px;
	height:100%;
}
a {
	text-decoration:none;
}
ul, li {
	list-style-type: none;
}
.headertop {
	display:flex;
	flex-direction:column;
	width:980px;
	height:100%;
	margin:0 auto;
}
header {
	flex:0 0 auto;
}
.logo {
	display:inline-block;
}
.logo img {
	width:150px;
	margin-top:30px;
}
.navlink {
	float:right;
	line-height:80px;
}
.navlink a {
	margin:0 0 0 20px;
	background-color:#2196f3;
	border-radius:3px;
	color:#fff;
	padding:10px;
}
.notetip {
    text-align: center;
    margin: 30px 0 30px 0;
    padding: 15px;
    border-radius: 5px;
    font-size: 18px;
    background: radial-gradient(circle, #72aee6 0%, #2196f3 100%);
    color: #fff;
    font-weight: bold;
}

.pshow {
    display: flex;
    margin: 100px 0 100px 0;
}
.pshow .col2 {
    margin: 0 auto;
}
.pshow .col2 .ptitle {
    display: block;
    text-align: center;
}
.content {
	flex:1 0 auto;
	margin-top:30px;
	margin-bottom:10px;
}
.content h3 {
	border-left:5px #2196f3 solid;
	height:28px;
	border-radius:3px;
}
.newslist ul {
    margin: 20px 0 50px 0;
}
.newslist ul li {
    position: relative;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    border-bottom: 1px #ccc dotted;
}
.newslist ul li span {
    position: absolute;
    right: 0;
    color: #ccc;
}
.diydivbox {
    margin-top: 20px;
}


.categorylist ul {
    margin-top: 20px;
}
.categorylist ul li {
    font-size: 14px;
    border-bottom: 1px #ccc dotted;
    margin-bottom: 40px;
}
.list {
	background:#f6f6f6;
	padding:20px 2px 20px 2px;
	margin-top:10px;
	border-radius:5px;
}

/*内容页*/
div#primary {
    border: 1px #ddd solid;
}
header.entry-header {
    text-align: center;
}
h1.entry-title {
    border-bottom: 1px #ddd;
    border-bottom-style: dashed;
}
.post-date {
    padding: 5px 0 5px 0;
    border-bottom: 1px #eee;
    border-bottom-style: solid;
}
.entry-content {
	width: 900px;
    margin: 0 auto;
    padding: 30px 0 30px 0;
}
pre.wp-block-code {
    margin: 20px auto;
    padding: 20px;
    background-color: #eee;
    white-space: pre-wrap;
    word-wrap: break-word;
    letter-spacing: 0;
    font: 14px/26px 'courier new';
    position: relative;
    border-radius: 3px;
}


/*分页美化*/
.post-page-numbers {
    padding: 4px 10px;
    text-align: center;
    margin: 20px 0 10px 0;
}
span.page-numbers.current {
    color: #ffffff;
    background: #2196f3;
    width: 35px;
    height: 35px;
    line-height: 35px;
}
.post-page-numbers span, .post-page-numbers a {
    display: inline-block;
}
a.page-numbers {
    margin: 0 5px;
	color: #999999;
    background: #FFFFFF;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border: 1px solid #dfdfdf;
}
a.prev.page-numbers, a.next.page-numbers {
    color: #999999;
    background: #FFFFFF;
    width: 75px;
    height: 35px;
    line-height: 35px;
    border: 1px solid #dfdfdf;
}

footer {
	background:#f6f6f6;
	flex:0 0 auto;
	border-radius:5px;
}
.footer_copyright {
	padding:20px 5px 2px 5px;
	font-size:14px;
}
.fleft {
	display:inline-block;
}
.fleft a {
	margin-left:5px;
}
.fright {
	float:right;
}

