/*
Theme Name:     B2子主题
Theme URI:      https: //yrcr.cn/
Description:    Child theme for the B2 PRO
Author:         小文
Author URI:     https: //yrcr.cn/
Template:       b2
Version:        0.1.5
*/

/*下面是您自己DIY的css样式代码*/
/*商品上下图中间去掉空格*/
.entry-content figure {
    margin-bottom: 0em;
}

/* 隐藏手机端显示标签云小工具 */
@media (max-width: 768px) {
    .widget_tag_cloud {
        display: none !important;
    }
}

/* logo流光动画效果*/
.logo{
    position:relative;
    overflow:hidden;
    margin: 0px 0 0 0px;
}
.logo:before{
    content:"";
     position: absolute;
     left: -665px;
     top: -460px;
     width: 200px;
     height: 15px;
     background-color: rgba(255,255,255,0.5);
     -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
     -ms-transform: rotate(-45deg);
     -o-transform: rotate(-45deg);
     transform: rotate(-45deg);
     -webkit-animation: searchLights 6s ease-in 0s infinite;
     -o-animation: searchLights 6s ease-in 0s infinite;
     animation: searchLights 6s ease-in 0s infinite;
}
@-moz-keyframes searchLights{
    50%{
        left: -100px;
         top: 0;
    }
     65%{
        left: 120px;
         top: 100px;
    }
}
@keyframes searchLights{
    40%{
        left: -100px;
         top: 0;
    }
     60%{
        left: 120px;
         top: 100px;
    }
     80%{
        left: -100px;
         top: 0px;
    }
}

/*文章内H标签美化*/
.entry-content > h2::before{content: '';margin-right:0;}
.single-article .entry-content > h2{
	font-weight: bold;
	background-color: #f6f6f6;
	margin: 20px 0;
	padding: 5px 12px;
	border-left: 5px solid #f25d8e;
	font-size: 21px;
}
.single-article .entry-content > h3{
	font-weight: bold;
	background-color: #f6f6f6;
	margin: 20px 0;
	padding: 5px 12px;
	border-left: 5px solid #ff0044;
	font-size: 18px;
}
.single-article .entry-content > h4{
	font-weight: bold;
	background-color: #f3e1e1;
	margin: 20px 0;
	padding: 5px 12px;
	border-left: 5px solid #000000;
	font-size: 15px;
}
.single-article .entry-content > h5{
	font-weight: bold;
	background-color: #f6f6f6;
	margin: 20px 0;
	padding: 5px 12px;
	border-left: 5px solid #0061a8;
	font-size: 12px;
}

/*底部LOGO与介绍*/
.html-widget {
    padding: 6px;
}
        .dblogo {
            font-size: 38px;
            font-weight: bold;
            margin-bottom: -11px;
            /* 流光效果核心样式 */
            background: linear-gradient(90deg, #ff0044, #FF6EC7, #FFD1DC, #0000FF);
            background-size: 400% 400%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            display: inline-block;
            animation: upDownFloat 2s ease-in-out infinite alternate;
        }
  @keyframes upDownFloat {
      0% {
        /* 初始位置（可微调数值改变浮动幅度） */
        transform: translateY(0px);
      }
      100% {
        /* 上浮位置（负数=向上，正数=向下，建议2-5px，避免过于夸张） */
        transform: translateY(-5px);
      }
    }
        .dblink {
            font-size: 38px;
            font-weight: bold;
            margin-bottom: 0px;
            /* 流光效果核心样式 */
            background: linear-gradient(90deg, #ff0044, #FF6EC7, #FFD1DC, #0000FF);
            background-size: 400% 400%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: glowing 8s linear infinite;
            display: inline-block;
        }
        .dbjs {
            font-size: 14px;
            color: #333;
            line-height: 1.3;
            text-align: left;
            max-width: 1000px;
        }
        /* 流光动画 */
        @keyframes glowing {
            0% {
                background-position: 0% 50%;
            }
            50% {
                background-position: 100% 50%;
            }
            100% {
                background-position: 0% 50%;
            }
        }