/*
Theme Name:     B2子主题
Theme URI:      http: //7b2.com/
Description:    Child theme for the B2 PRO
Author:         子主题模版
Author URI:     http: //7b2.com/
Template:       b2
Version:        0.1.5
*/

/*下面是您自己DIY的css样式代码*/
/*YARPP相关推荐美化*/
.yarpp-related h2 {
  color: #657487;
  padding-bottom:10px;
  font-size: 100%;
}
.yarpp-related ol {
    color: #657487;
    display: inline-block;
    background: #f7f7f7;
    width: 100%;
    padding: 24px;
  margin-left: 0;
  border-radius: 5px;
}
.yarpp-related ol li {
    padding-bottom: 12px;
  list-style: none;
}
.yarpp-related ol li:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #ff4d00;
    border-radius: 50%;
    position: relative;
    top: -3px;
}
.yarpp-related ol li a {
    font-weight: 500;
    font-size: 15px;
    padding: 12px;
  border: none;
}


/* 资源站文章页资源信息卡 */
.b2-resource-card {
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.018);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
}

.b2-resource-card h2 {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

.b2-resource-card dl {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.b2-resource-card dl > div {
    width: 50%;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    margin: 0 0 10px;
    padding-right: 20px;
    line-height: 1.6;
}

.b2-resource-card dt {
    flex: 0 0 110px;
    margin: 0;
    padding: 0;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
}

.b2-resource-card dd {
    flex: 1;
    margin: 0;
    padding: 0;
    color: #222;
    word-break: break-word;
}

.b2-resource-card .b2-resource-full {
    width: 100%;
}

.b2-resource-card .b2-resource-note dd {
    line-height: 1.7;
}

.b2-resource-card .b2-resource-tags dd {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.b2-resource-card .b2-resource-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,.08);
    color: inherit;
    font-size: 13px;
    line-height: 1.6;
    text-decoration: none;
}

.b2-resource-card .b2-resource-tag:hover {
    text-decoration: none;
    background: rgba(0,0,0,.14);
}

@media (max-width: 768px) {
    .b2-resource-card {
        padding: 15px;
        margin-bottom: 20px;
    }

    .b2-resource-card dl > div {
        width: 100%;
        padding-right: 0;
        margin-bottom: 9px;
    }

    .b2-resource-card dt {
        flex-basis: 96px;
    }

    .b2-resource-card h2 {
        font-size: 17px;
    }
}