@charset "UTF-8";

/*全站背景开始*/
body {
    background-image: url("/tool/img/website/background-1.png");
    background-position: center top;  /* 顶部居中 */
    background-repeat: no-repeat;     /* 禁止重复 */
    background-attachment: scroll;    /* 随页面滚动 */
    background-size: 100%;            /* 宽度100% 高度自适应 */
}
.dark-theme{
    background-image: url("/tool/img/website/background-2.png");
    background-position: center top;  /* 顶部居中 */
    background-repeat: no-repeat;     /* 禁止重复 */
    background-attachment: fixed;     /* 固定位置 */
    background-size: cover;           /* 完全覆盖背景区 */
}

/*全站背景结束*/

/*头像呼吸光环和鼠标悬停旋转放大开始*/
.avatar:not(li .avatar) {
    border-radius: 50%;
    animation: light 4s ease-in-out infinite;
    transition: transform 0.5s;
    will-change: transform, box-shadow;
}
.avatar:not(li .avatar):hover {
    transform: scale(1.15) rotate(720deg);
}
@keyframes light {
    0% {box-shadow: 0 0 8px #0f0;}
    25% {box-shadow: 0 0 16px #f00;}
    50% {box-shadow: 0 0 8px #00f;}
    75% {box-shadow: 0 0 16px #f00;}
    100% {box-shadow: 0 0 8px #0f0;}
}
/*头像呼吸光环和鼠标悬停旋转放大结束*/

/*文章列表和链接卡片悬停上浮开始*/
@media screen and (min-width: 980px) {
    .tab-content .posts-item,
    .posts-row .posts-item,
    .widget-ajaxpager .posts-mini,
    .wp-block-zibllblock-postsbox .article-postsbox,
    .links-card {
        transition: all 0.3s;
        border-radius: 10px;
    }
    .tab-content .posts-item:hover,
    .posts-row .posts-item:hover,
    .widget-ajaxpager .posts-mini:hover,
    .wp-block-zibllblock-postsbox .article-postsbox:hover,
    .links-card:hover {
        transform: translateY(-5px);
        /*阴影*/
        /*box-shadow: 0 8px 10px rgba(255, 112, 173, 0.35);*/
        /*边框*/
        /*border: 0.1px solid #ef0c7e;*/
        animation: pulse 1.5s infinite;
    }
}
@keyframes pulse { 
    0% {box-shadow: 0 6px 10px rgba(255, 112, 173, 0.3);}
    50% {box-shadow: 0 8px 12px rgba(255, 112, 173, 0.6);}
    100% {box-shadow: 0 6px 10px rgba(255, 112, 173, 0.3);}
} 
/*文章列表和链接卡片悬停上浮结束*/

/*鼠标移动图片外发光开始*/
.wp-posts-content img:hover {
    box-shadow: 0px 0px 10px #ef0c7e;
}
/*鼠标移动图片外发光结束*/

/* 为文章正文段落添加首行缩进开始 */
.wp-posts-content p {
    text-indent: 2em; /* 缩进2个字符宽度 */
}
/* 为文章正文段落添加首行缩进结束 */

/*友链头像圆角开始*/
.link-only-img img {
    border-radius: 10px;
}
.link-img img {
    border-radius: 10px;
}
/*友链头像圆角结束*/

/*轮播幻灯片按钮样式美化开始*/
.swiper-button-next .swiper-button-prev {
    height: 70px !important;
}
.swiper-button-prev {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.swiper-button-next {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
/*轮播幻灯片按钮样式美化结束*/

/*首页文章特色图片鼠标悬停效果开始*/
.item-thumbnail {
    position: relative;
    display: inline-block;
}
.item-thumbnail:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .35s;
    border-radius: 8px;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    pointer-events: none;
}
.item-thumbnail:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    background: url(/tool/img/website/comimages.png) no-repeat center/100%;
    z-index: 3;
    transform: scale(2);
    transition: opacity .35s, transform .35s;
    opacity: 0;
    pointer-events: none;
}
.item-thumbnail:hover:before {
    background: rgba(0, 0, 0, 0.5);
}
.item-thumbnail:hover:after {
    transform: scale(1);
    opacity: 1;
}
/*首页文章特色图片鼠标悬停效果结束*/

/*斜切裁剪效果和流光动画的标签开始*/
@keyframes sweepTitle {
    0% { transform: translateX(-100%) rotate(28deg); }
    100% { transform: translateX(200%) rotate(28deg); }
}
[class*="ove_prefix"] {
    color: #fff;
    font-style: italic;/*斜体字*/
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    padding: 5px 4px;
    margin-right: 3px;
    height: 19px;
    font-size: 12px;
    clip-path: polygon(7% 0, 99% 0, 93% 100%, 0 100%);
    isolation: isolate;
    z-index: 0;
}
[class*="ove_prefix"]::after {
    content: "";
    position: absolute;
    top: -50%;
    left: 0;
    width: 15px;
    height: 200%;
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0)
    );
    animation: sweepTitle 2.5s ease-in-out infinite;
    transform: rotate(28deg);
    z-index: -1;
    pointer-events: none;
    will-change: transform;
}
.ove_prefix { background: linear-gradient(135deg, #60e464 10%, #5cb85b 100%); }
.ove_prefix0 { background: linear-gradient(120deg, #6800d9 10%, #4b00fc 100%); }
.ove_prefix1 { background: linear-gradient(135deg, #59c3fb 10%, #268df7 100%); }
.ove_prefix2 { background: linear-gradient(135deg, #fd7a64 10%, #fb2d2d 100%); }
.ove_prefix3 { background: linear-gradient(317deg, #4d4c4c 30%, #878787 70%, #5f5c5c 100%); }
.ove_prefix4 { background: linear-gradient(135deg, #ffd6b2 10%, #ff651c 100%); }
/* 斜切裁剪效果和流光动画的标签结束 */


