/* Theme Name: 日志内容 */

/*--- 顶部导航 ---*/
.single .site-header .site-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}

/*--- 主体 ---*/
.single .site-content{padding:0}

/*-- 表格 --*/
table{width:100%;border-collapse:collapse}
thead th{border:2px solid #ccc}
th{text-align:left}
tr{border:1px solid #ccc}
td{border:1px solid #ccc;padding:5px}

/*--- 文章 ---*/
.single .site-description span:nth-child(2){color:#999;display:inline-block;padding:0 0 0 .7rem}
.single .site-description a{padding:0 .5rem 0 .7rem;color:#999;display:inline-block}
.single .site-description a:nth-child(4),.single .site-description a:nth-child(5),.single .site-description a:nth-child(6){padding:0;margin:0 0 0 .5rem;display:initial}
.single .entry-title{margin:2rem .5rem;font-size:1.5em;font-weight:700;line-height:2.5rem}
.single .site-content p{margin:1.25rem .5rem;line-height:1.8rem}
.single .site-content a{color:#ea6f5a;display:inline-block}

/*--- 页码 ---*/
.entry-navigation{margin:1rem .5rem;font-size:.875em;display:inline-block;width:calc(100% - 1rem)}
.entry-navigation .pages-post{float:left;width:100%;line-height:0}
.entry-navigation .pages-post a{display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;line-height:2rem;width:calc(100% - 3rem)}
.entry-navigation .nav-next a{padding:0 2rem 0 0}
.entry-navigation .nav-previous a{padding:0 0 0 2rem}
.entry-navigation .nav-next{float:right;text-align:right}
.entry-navigation .nav-previous:before{float:left}
.entry-navigation .nav-next:after,.entry-navigation .nav-previous:before{line-height:2rem;position:absolute;font-family:iconfont;color:#444;content:"\e102";z-index:1}
.entry-navigation .nav-next:after{display:block;float:right;top:0;right:0;transform:scaleX(-1);filter:FlipH}
.entry-navigation .pages-post:hover:after,.entry-navigation .pages-post:hover:before{color:#3498db}

/*--- 分割线 ---*/
.site-content .begin.styled-separator{margin:2rem 0;height:1px;background:linear-gradient(to left,rgb(0 0 0 / 8%) calc(50% - 1.5rem),transparent calc(50% - 1.5rem),transparent calc(50% + 1.5rem),rgb(0 0 0 / 8%) calc(50% + 1.5rem))}
.site-content .begin.styled-separator:after,.site-content .begin.styled-separator:before{content:'';background:#ea6f5a;width:.5rem;height:.7rem;position:absolute;border-top-right-radius:30px;border-top-left-radius:30px;margin:auto;left:0;right:0;top:-.3rem}
.site-content .begin.styled-separator:before{transform:rotate(-45deg);left:-3px}
.site-content .begin.styled-separator:after{transform:rotate(45deg);left:3px}
.site-content .end.styled-separator{text-align:center;margin:2rem 0;height:1px;background:linear-gradient(to left,rgb(0 0 0 / 8%) calc(50% - 2.5rem),transparent calc(50% - 2.5rem),transparent calc(50% + 2.5rem),rgb(0 0 0 / 8%) calc(50% + 2.5rem))}
.site-content .end.styled-separator span{padding:0 1rem;font-size:.75em;position:absolute;left:0;right:0;line-height:0}

/* Theme Name: Name 古腾堡编辑器 */

/* 文本分隔符 */
.wp-block-separator{margin:2rem 0;height:1px;background-image:linear-gradient(90deg,transparent,rgb(0 0 0 / 20%) 50%,transparent 100%)}
.wp-block-separator:before{content:'';height:.5rem;width:.5rem;border:1px solid #999;display:block;transform:rotate(
45deg
);-ms-transform:rotate(45deg);-moz-transform:rotate(45deg);-webkit-transform:rotate(
45deg
);-o-transform:rotate(45deg);background:rgb(255 255 255 / 70%);margin:auto;position:absolute;left:0;top:0;right:0;bottom:0}

/* 相册 */ 
.wp-block-gallery{padding:1rem .5rem 0 .5rem;margin:1.25rem .5rem;background:#fff}
.wp-block-gallery ul{margin:0!important;padding:0!important}
.blocks-gallery-grid li:before{content:''!important}

/* 媒体文本 */
.wp-block-media-text{padding:.5rem;margin:1.25rem .5rem;background:#fff}
.wp-block-media-text .wp-block-media-text__content{padding:0;border-width:2px 0 0 0;border-style:solid}
.wp-block-media-text .wp-block-media-text__content .has-large-font-size{font-size:1.6875em;line-height:3rem}
.wp-block-media-text .wp-block-media-text__content p{border-width:0 0 1px 0;border-style:solid;border-color:rgb(0 0 0 / 15%);margin:.5rem 0}
.wp-block-media-text .wp-block-media-text__content p:last-child{border-width:0}

/*-- 图片格式 --*/
.wp-block-image{padding:.5rem;margin:1.25rem .5rem;background:#fff}
.wp-block-image .aligncenter,.wp-block-image .alignleft,.wp-block-image .alignright{display:block;clear:both;float:none;margin:0}
.wp-block-image img{margin:0 auto}
.wp-block-image figcaption{margin:.5rem 0 0 0;display:block!important;text-align:center;color:#444;font-size:.875em}
.wp-block-image figcaption:before{content:'꧁';color:#ea6f5a;top:-.5rem;right:5px}
.wp-block-image figcaption:after{content:'꧂';color:#ea6f5a;top:-.5rem;left:5px}

/* 按钮 */
.wp-block-buttons{margin:1.25rem .5rem}
.wp-block-buttons .wp-block-button{margin:0}
.wp-block-button__link{font-size:1em;color:#fff!important;background:rgb(0 0 0 / 80%)}

/*-- 视频格式 --*/
.wp-block-video{margin:1.25rem .5rem;line-height:0;background:#000}
.wp-block-video video{padding:0;height:100%;max-height:100%}
.wp-block-video video:focus{outline-style:none}
.video-height{height:50vh}

/*-- 引用格式 --*/
.wp-block-quote{margin:1.25rem .5rem;padding:1.5rem;overflow:hidden;background-color:#fff}
.wp-block-quote:before{content:'';height:calc(100% - 1rem - 2px);width:calc(100% - 1rem - 2px);border:solid 1px rgb(0 0 0 / 30%);background:#fff;display:revert;position:absolute;left:.5rem;top:.5rem}
.wp-block-quote:after{background:#fff;bottom:-10%;content:'';left:0;position:absolute;right:0;top:-10%;transform:rotate(-15deg) skew(5deg)}
.wp-block-quote cite{font-size:.875em;font-style:normal;z-index:1;line-height:1.5rem;display:block;color:#888}
.wp-block-quote a,.wp-block-quote p{margin:0 0 .5rem 0!important;color:#ea6f5a;font-weight:700;z-index:1}

/*-- 表格格式 --*/
.wp-block-table{margin:1.25rem .5rem;background-color:#fff;padding:.5rem}
.wp-block-table td{font-size:.875em;border:1px solid rgb(0 0 0 / 15%);padding:0 .5rem}

/*-- 代码 / 诗句格式 --*/
.wp-block-code,.wp-block-verse{padding:1rem;white-space:pre-wrap;line-height:1.5rem;font-size:.875em;margin:1.25rem .5rem;border:.2rem groove rgb(0 0 0 / 20%);border-radius:255px 15px 225px 15px/15px 225px 15px 255px}
.wp-block-verse strong{color:#ea6f5a;margin:0 0 .5rem 0;font-size:1.2em;display:inline-block;text-indent:0}

/*-- 列表 --*/
.site-content ul{font-size:.875em;padding:.5rem;margin:1.25rem .5rem;background-color:#fff}
.site-content ul li{line-height:1.8rem}
.site-content ul li:before{content:'✥';margin:0 .5rem 0 0;color:#ea6f5a}
 
/*-- CodeRender在线代码高亮转换 --*/
.dp-highlighter{overflow:auto;margin:1.25rem .5rem;white-space:normal;font-size:13px;word-break:break-all;background-color:#fff}
.dp-highlighter .bar{padding:2px}
.dp-highlighter .collapsed .bar,.dp-highlighter .nogutter .bar{padding-left:0}
.dp-highlighter ol{margin:0 0 1px 1.5rem;padding:1rem;color:#666}
.dp-highlighter.nogutter ol{margin-left:0;list-style-type:none}
.dp-highlighter .columns div,.dp-highlighter ol li{padding:0 0 .5rem .5rem;border-left:2px solid #27ae60;list-style-type:decimal;line-height:1.5rem}
.dp-highlighter .nogutter .columns div,.dp-highlighter .nogutter ol li{border:0}
.dp-highlighter .columns{width:100%;color:grey}
.dp-highlighter .columns div{padding-bottom:5px}
.dp-highlighter ol li span{color:#333}
.dp-highlighter .collapsed ol{margin:0}
.dp-highlighter .collapsed ol li{display:none}
.dp-highlighter .printing{border:none}
.dp-highlighter .printing .tools{display:none!important}
.dp-highlighter .printing li{display:list-item!important}
.dp-highlighter .tools{padding:3px 8px 3px 15px;border-bottom:1px solid #2b91af;color:silver;font:9pt Verdana,Geneva,Arial,Helvetica,sans-serif}
.dp-highlighter .collapsed .tools{border-bottom:0}
.dp-highlighter .tools a{margin-right:10px;color:grey;text-decoration:none;font-size:9pt}
.dp-highlighter .tools a:hover{color:red;text-decoration:underline}
.dp-about{margin:0;padding:0;background:#fff}
.dp-about table{width:100%;height:100%;font-size:11px}
.dp-about td{padding:10px;vertical-align:top}
.dp-about .copy{height:95%;border-bottom:1px solid #aca899}
.dp-about .title{color:red;font-weight:700}
.dp-about .para{margin:0 0 4px}
.dp-about .footer{border-top:1px solid #fff;background:#eceadb;text-align:right}
.dp-about .close{width:60px;height:22px;background:#eceadb;font-size:11px}
.dp-c .comment{color:green}
.dp-c .string{color:#00f}
.dp-c .preprocessor{color:grey}
.dp-c .keyword{color:#00f}
.dp-c .vars{color:#d00}
.dp-vb .comment{color:green}
.dp-vb .string{color:#00f}
.dp-vb .preprocessor{color:grey}
.dp-vb .keyword{color:#00f}
.dp-sql .comment{color:green}
.dp-sql .string{color:red}
.dp-sql .keyword{color:#7f0055}
.dp-sql .func{color:#ff1493}
.dp-sql .op{color:#00f}
.dp-xml .cdata{color:#ff1493}
.dp-xml .comments{color:green}
.dp-xml .tag{color:#00f;font-weight:700}
.dp-xml .tag-name{color:#7f0055;font-weight:700}
.dp-xml .attribute{color:red}
.dp-xml .attribute-value{color:#00f}
.dp-delphi .comment{color:#008200;font-style:italic}
.dp-delphi .number,.dp-delphi .string{color:#00f}
.dp-delphi .directive{color:#008284}
.dp-delphi .keyword{color:navy;font-weight:700}
.dp-delphi .vars{color:#444}
.dp-py .comment{color:green}
.dp-py .string{color:red}
.dp-py .docstring{color:green}
.dp-py .keyword{color:#00f;font-weight:700}
.dp-py .builtins{color:#ff1493}
.dp-py .magicmethods{color:grey}
.dp-py .exceptions{color:brown}
.dp-py .types{color:brown;font-style:italic}
.dp-py .commonlibs{color:#8a2be2;font-style:italic}
.dp-rb .comment{color:#c00}
.dp-rb .string{color:#f0c}
.dp-rb .symbol{color:#02b902}
.dp-rb .keyword{color:#069}
.dp-rb .variable{color:#6cf}
.dp-css .comment{color:green}
.dp-css .string{color:red}
.dp-css .keyword{color:#00f}
.dp-css .colors{color:#8b0000}
.dp-j .comment{color:#3f7f5f}
.dp-j .string{color:#2a00ff}
.dp-j .keyword{color:#7f0055;font-weight:700}
.dp-j .annotation{color:#646464}
.dp-j .number{color:#c00000}
.dp-cpp .comment{color:#e00}
.dp-cpp .string{color:red}
.dp-cpp .preprocessor{color:#cd00cd;font-weight:700}
.dp-cpp .keyword{color:#5697d9;font-weight:700}
.dp-cpp .datatypes{color:#2e8b57;font-weight:700}
.dp-perl .comment{color:green}
.dp-perl .string{color:red}
.dp-perl .keyword{color:#7f0055}
.dp-perl .func{color:#ff1493}
.dp-perl .declarations{color:#00f}
.dp-css .vars{color:#d00}
.dp-g .comment{color:#3f7f5f}
.dp-g .string{color:#2a00ff}
.dp-g .keyword{color:#7f0055;font-weight:700}
.dp-g .type{color:#007f00;font-weight:700}
.dp-g .modifier{color:#640064;font-weight:700}
.dp-g .constant{color:red;font-weight:700}
.dp-g .method{color:#ff6000;font-weight:700}
.dp-g .number{color:#c00000}

@media screen and (min-width: 30rem) { /* 480px */
.wp-block-media-text{display:grid;margin:1.25rem 2rem;grid-template-columns:50% auto!important}
.wp-block-media-text .wp-block-media-text__content{border:0;margin:0 1rem}
.wp-block-image .aligncenter{clear:both;margin:0 auto}
.wp-block-image .alignleft{float:left;margin:1.25rem 2rem}
.wp-block-image .alignright{float:right;margin:1.25rem 2rem}
.wp-block-buttons{margin:0 0 1.25rem 2rem}
.wp-block-separator{margin:3rem 0}
.single .site-content p,.site-content ul,.wp-block-gallery,.wp-block-image,.wp-block-quote,.wp-block-table,.wp-block-video{margin:1.25rem 2rem}
.wp-block-code,.wp-block-verse{padding:2rem;margin:1.25rem 2rem}
.single .entry-title{margin:2rem}
.entry-navigation{margin:2rem;font-size:1em;width:calc(100% - 4rem)}
.single .site-description{font-size:.875em;line-height:4rem}
.wp-block-media-text .wp-block-media-text__content p{margin:.5rem 0}
.dp-highlighter{margin:1rem 2rem}
}
	
@media screen and (min-width: 48rem) { /* 768px */
.single .site-header .entry-title{font-size:2em}
.site-content .end.styled-separator span{font-size:.875em}
.wp-block-media-text .wp-block-media-text__content{margin:0 2rem}
.wp-block-gallery{padding:1rem 1rem 0 1rem}
.wp-block-quote{padding:2.5rem}
.wp-block-quote:before{height:calc(100% - 2rem - 4px);width:calc(100% - 2rem - 4px);border:solid 2px rgb(0 0 0 / 15%);left:1rem;top:1rem}
.site-content ul,.wp-block-image,.wp-block-media-text,.wp-block-table{padding:1rem}
}

@media screen and (min-width: 56rem) { /* 896px */ 
.single .entry-title{font-size:1.8em}
.entry-navigation,.single .entry-title{margin:2rem ; }
.wp-block-image .alignleft{float:left;margin:0 2rem 1.25rem 0}
.wp-block-image .alignright{float:right;margin:0 0 1.25rem 2rem} 
.blocks-gallery-grid{padding:1rem 1rem 0 1rem!important;margin:0 0 1.25rem 0!important}
}