Admin留言 | 贡献
无编辑摘要
Admin留言 | 贡献
无编辑摘要
第153行: 第153行:
     transform: translateX(8px);
     transform: translateX(8px);
}
}
/* 新增悬停动效系统 */
/* 悬停动效系统 */
.hover-word {
.season-block:not(strong) {
    --hover-color: var(--system-orange, #ff6600);
     position: relative;
     position: relative;
     display: inline-block;
     -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
     transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
}


.hover-word::after {
.season-block:not(strong)::after {
     content: '';
     content: '';
     position: absolute;
     position: absolute;
第169行: 第169行:
     height: 2px;
     height: 2px;
     background: currentColor;
     background: currentColor;
    -webkit-transition: width 0.3s ease;
     transition: width 0.3s ease;
     transition: width 0.3s ease;
}
}


.hover-word:hover {
.season-block:not(strong):hover {
     color: var(--system-orange);
     color: var(--hover-color);
    -webkit-transform: translateY(-1px);
     transform: translateY(-1px);
     transform: translateY(-1px);
    cursor: pointer;
}
}


.hover-word:hover::after {
.season-block strong {
    width: 100%;
}
 
/* 排除粗体标签的悬停效果 */
.season-block strong .hover-word,
.season-block strong .hover-word:hover {
     color: inherit !important;
     color: inherit !important;
    -webkit-transform: none !important;
     transform: none !important;
     transform: none !important;
     cursor: default;
     cursor: default;
}
    pointer-events: none;
 
.season-block strong .hover-word::after {
    display: none;
}
}