MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* | /* 为特定区域的链接添加特效,这里以 "a" 标签为例,你可以根据需要限制范围 */ | ||
a | |||
a:hover { | a:hover { | ||
font-weight: bold; | |||
/* | background-color: #e6f2ff; /* 浅蓝色背景 */ | ||
padding: 2px 4px; /* 内边距让背景不贴字 */ | |||
/* | border-radius: 3px; /* 圆角 */ | ||
transition: | transition: all 0.2s ease; | ||
} | } | ||
2026年7月8日 (三) 01:45的版本
/* 为特定区域的链接添加特效,这里以 "a" 标签为例,你可以根据需要限制范围 */
a:hover {
font-weight: bold;
background-color: #e6f2ff; /* 浅蓝色背景 */
padding: 2px 4px; /* 内边距让背景不贴字 */
border-radius: 3px; /* 圆角 */
transition: all 0.2s ease;
}