优化文档样式

This commit is contained in:
click33
2021-12-24 00:58:01 +08:00
parent 4550ad74c8
commit 939568c7b1
5 changed files with 109 additions and 5 deletions

View File

@@ -115,4 +115,20 @@ blockquote code {font-weight: 400;}
/* 赞助列表 */
.zanzhu-pre+table tr td:nth-child(2){
color: red;
}
}
body {
/* --a-color: #42b983; */
--a-color: #01a252;
--a-hover-color: #0969da;
}
/* 超链接样式 */
#main *:not(h1,h2,h3,h4,h5,h6) a{font-weight: 400; text-decoration: none; font-family: "Helvetica Neue", Helvetica, "PingFang SC", Tahoma, Arial, sans-serif;}
#main *:not(h1,h2,h3,h4,h5,h6) a{color: var(--a-color); border-bottom: 1px var(--a-color) solid;}
#main *:not(h1,h2,h3,h4,h5,h6) a:hover{color: var(--a-hover-color); border-bottom: 1px var(--a-hover-color) solid;}
#main .un-dec-a-pre+p a,
#main p[align=center] a{border-bottom:0px;}