模板:Navbox/styles.css:修订间差异
来自陋室
更多操作
删除的内容 添加的内容
小 格式化代码 |
小 添加样式 |
||
| 第56行: | 第56行: | ||
/* ============================= */ |
/* ============================= */ |
||
| ⚫ | |||
/* 确保文本居中 */ |
|||
. |
.navbox a { |
||
padding: 0 5px; /* 给每个链接添加左右内边距 */ |
|||
text-align: center; |
|||
} |
} |
||
| ⚫ | |||
.navbox a:hover { |
.navbox a:hover { |
||
color: # |
color: #005bb5; /* 悬停时更改颜色 */ |
||
text-decoration: underline; /* 添加下划线效果 */ |
text-decoration: underline; /* 添加下划线效果 */ |
||
} |
} |
||