MediaWiki:Common.css:修订间差异

来自心灵终结资料站
跳转到导航 跳转到搜索
无编辑摘要
Lyx讨论 | 贡献
无编辑摘要
第1行: 第1行:
/* 默认状态:无下划线,有过渡效果 */
/* 悬停时放大并变色 */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}
 
/* 悬停状态:无下划线,但放大并变色 */
a:hover {
a:hover {
    text-decoration: none; /* 这行必须保留,确保悬停时也不出现 */
text-decoration: none;
    /* 放大到原来的1.1倍 */
     transform: scale(1.1);
     transform: scale(1.1);
     color: #ff6600;
     color: #2a7ae2; /* 可以改成你喜欢的蓝色 */
    /* 让放大和颜色变化都有平滑过渡 */
    transition: all 0.2s ease;
}
}

2026年7月8日 (三) 01:47的版本

/* 悬停时放大并变色 */
a:hover {
	text-decoration: none;
    /* 放大到原来的1.1倍 */
    transform: scale(1.1);
    color: #2a7ae2; /* 可以改成你喜欢的蓝色 */
    /* 让放大和颜色变化都有平滑过渡 */
    transition: all 0.2s ease;
}