新增代码示例

This commit is contained in:
click33
2022-10-14 01:33:14 +08:00
parent 756b534488
commit 0009fdfdd8
9 changed files with 357 additions and 52 deletions

View File

@@ -242,7 +242,7 @@ body {
/* 答题按钮 */
#main .dt-btn{
#main .dt-btn,#main .case-btn{
background-color: #e7ecf3;
color: #385481;
display: inline-block;
@@ -250,20 +250,24 @@ body {
border-radius: 1px;
/* border-bottom-width: 0px !important; */
/* background-color: #f0f9eb;
color: #42b983;
display: inline-block;
border: 1px #13ce66 solid; */
margin-top: 10px;
width: 100%;
padding: 8px 14px;
font-size: 14px;
transition: all 0.15s;
/* 背景 */
background-image: url(icon/dati.svg);
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: 1em 50%;
background-position: 1em 12px;
text-indent: 2em;
}
/* 代码示例按钮 */
#main .case-btn{
background-color: #f4fdef;
color: #42b983;
border: 1px #c4e5b5 solid !important;
background-size: 18px 18px;
background-image: url(icon/code.svg);
}

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1665596300740" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48"><path d="M288.256 216.064a51.2 51.2 0 0 0-72.191 8.192l-204.8 256a51.2 51.2 0 0 0 0 64l204.8 256a51.2 51.2 0 0 0 79.872-64L116.736 512l179.2-224.254a51.2 51.2 0 0 0-7.68-71.68zM1012.736 481.256l-204.8-256a51.2 51.2 0 0 0-79.872 64l179.2 223.744-179.2 224.256a51.2 51.2 0 0 0 79.872 64l204.8-256a51.2 51.2 0 0 0 0-64zM599.552 102.4a51.2 51.2 0 0 0-60.928 39.424l-153.6 716.8A51.2 51.2 0 0 0 424.448 921.6h10.752a51.2 51.2 0 0 0 51.2-40.448l153.6-716.8A51.2 51.2 0 0 0 599.552 102.4z" fill="#42b983"></path></svg>

After

Width:  |  Height:  |  Size: 808 B