优化文档

This commit is contained in:
click33
2022-10-18 00:18:58 +08:00
parent 6dd532689f
commit f90b9ffc2a
3 changed files with 25 additions and 6 deletions

View File

@@ -270,9 +270,9 @@ body {
}
/* 代码示例按钮 */
#main .case-btn{
background-color: #f4fdef;
color: #42b983;
border: 1px #c4e5b5 solid !important;
background-color: #feedeb;
color: #dd4949;
border: 1px #decdcb solid !important;
background-size: 18px 18px;
background-image: url(icon/code.svg);
}
@@ -297,4 +297,18 @@ body {
border: 1px #ccc solid;
cursor: pointer;
border-radius: 1px;
}
}
/* ------------- details标签 ------------- */
.main-box details{
border: 1px #c4e5b5 solid;
}
.main-box details summary{
padding: 11px 14px;
background-color: #f4fdef;
color: #01a252;
cursor: pointer;
}
.main-box details p{padding: 0 14px;}