Discuz修改关联链接下划线样式(美化)
DZ修改关联链接下划线样式
为了社区文章更加美观 整洁 因为文章内有关联链接所示 显示的下划线很影响美观,因此才有这个更改。
操作目的:把关联链接 蓝色实线的下划线改为蓝色虚线,鼠标经过时关联链接变为桔黄色
找到
template/default/common/module.css
演示为默认模版,第三方模版自己按路径找下
找到以下代码
.relatedlink, .relatedlink:hover { text-decoration: none !important; color: {TABLETEXT} !important; border-bottom: 1px solid blue; }
改为
.relatedlink { text-decoration: none !important; color: {TABLETEXT} !important; border-bottom: 1px dotted blue; }
.relatedlink:hover { text-decoration: none !important; color: #FF6600 !important; border-bottom: 1px dotted blue; }
如果是要去掉下划线,那就删掉 border-bottom: 1px dotted blue; 两行的都删除掉