parent
1f10ed81ac
commit
1f00569523
7 changed files with 274 additions and 1206 deletions
@ -1,408 +0,0 @@ |
||||
.markdown-body,.markdown-body blockquote { |
||||
color: #24292e; |
||||
word-wrap: break-word; |
||||
font-size: 14px; |
||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; |
||||
line-height: 1.5; |
||||
-ms-text-size-adjust: 100%; |
||||
-webkit-text-size-adjust: 100%; |
||||
} |
||||
|
||||
.markdown-body a { |
||||
border-bottom: none!important; |
||||
background-color: transparent; |
||||
color: #0366d6!important; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.markdown-body a:hover { |
||||
border-bottom: 1px solid #0366d6 !important; |
||||
} |
||||
|
||||
.markdown-body a:active,.markdown-body a:hover { |
||||
outline-width: 0; |
||||
} |
||||
|
||||
.markdown-body strong { |
||||
font-weight: bolder; |
||||
} |
||||
|
||||
.markdown-body h1 { |
||||
margin: .67em 0; |
||||
font-size: 2em; |
||||
} |
||||
|
||||
.markdown-body img { |
||||
border-style: none; |
||||
} |
||||
|
||||
.markdown-body code,.markdown-body kbd,.markdown-body pre { |
||||
font-size: 1em; |
||||
font-family: monospace,monospace; |
||||
} |
||||
|
||||
.markdown-body hr { |
||||
overflow: visible; |
||||
box-sizing: content-box; |
||||
height: 0; |
||||
} |
||||
|
||||
.markdown-body input { |
||||
margin: 0; |
||||
font: inherit; |
||||
} |
||||
|
||||
.markdown-body input { |
||||
overflow: visible; |
||||
} |
||||
|
||||
.markdown-body [type=checkbox] { |
||||
box-sizing: border-box; |
||||
padding: 0; |
||||
} |
||||
|
||||
.markdown-body * { |
||||
box-sizing: border-box; |
||||
} |
||||
|
||||
.markdown-body input { |
||||
font-size: inherit; |
||||
font-family: inherit; |
||||
line-height: inherit; |
||||
} |
||||
|
||||
.markdown-body hr { |
||||
overflow: hidden; |
||||
margin: 15px 0; |
||||
height: 0; |
||||
border: 0; |
||||
border-bottom: 1px solid #dfe2e5; |
||||
background: 0 0; |
||||
} |
||||
|
||||
.markdown-body hr::before { |
||||
display: table; |
||||
content: ""; |
||||
} |
||||
|
||||
.markdown-body hr::after { |
||||
clear: both; |
||||
display: table; |
||||
content: ""; |
||||
} |
||||
|
||||
.markdown-body table { |
||||
border-collapse: collapse; |
||||
word-break: keep-all; |
||||
border-spacing: 0; |
||||
} |
||||
|
||||
.markdown-body td,.markdown-body th { |
||||
padding: 0; |
||||
} |
||||
|
||||
.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6 { |
||||
margin-top: 0; |
||||
margin-bottom: 0; |
||||
} |
||||
|
||||
.markdown-body h1 { |
||||
font-weight: 600; |
||||
font-size: 32px; |
||||
} |
||||
|
||||
.markdown-body h2 { |
||||
font-weight: 600; |
||||
font-size: 24px; |
||||
} |
||||
|
||||
.markdown-body h3 { |
||||
font-weight: 600; |
||||
font-size: 20px; |
||||
} |
||||
|
||||
.markdown-body h4 { |
||||
font-weight: 600; |
||||
font-size: 16px; |
||||
} |
||||
|
||||
.markdown-body h5 { |
||||
font-weight: 600; |
||||
font-size: 14px; |
||||
} |
||||
|
||||
.markdown-body h6 { |
||||
font-weight: 600; |
||||
font-size: 12px; |
||||
} |
||||
|
||||
.markdown-body p { |
||||
margin-top: 0; |
||||
margin-bottom: 10px; |
||||
} |
||||
|
||||
.markdown-body blockquote { |
||||
margin: 0; |
||||
} |
||||
|
||||
.markdown-body ol,.markdown-body ul { |
||||
margin-top: 0; |
||||
margin-bottom: 0; |
||||
padding-left: 0; |
||||
} |
||||
|
||||
.markdown-body ol ol,.markdown-body ul ol { |
||||
list-style-type: lower-roman; |
||||
} |
||||
|
||||
.markdown-body ol ol ol,.markdown-body ol ul ol,.markdown-body ul ol ol,.markdown-body ul ul ol { |
||||
list-style-type: lower-alpha; |
||||
} |
||||
|
||||
.markdown-body dd { |
||||
margin-left: 0; |
||||
} |
||||
|
||||
.markdown-body code { |
||||
font-size: 14px; |
||||
font-family: SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; |
||||
} |
||||
|
||||
.markdown-body pre { |
||||
margin-top: 0; |
||||
margin-bottom: 0; |
||||
font-size: 12px; |
||||
font-family: SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; |
||||
} |
||||
|
||||
.markdown-body::before { |
||||
display: table; |
||||
content: ""; |
||||
} |
||||
|
||||
.markdown-body::after { |
||||
clear: both; |
||||
display: table; |
||||
content: ""; |
||||
} |
||||
|
||||
.markdown-body>:first-child { |
||||
margin-top: 0!important; |
||||
} |
||||
|
||||
.markdown-body>:last-child { |
||||
margin-bottom: 0!important; |
||||
} |
||||
|
||||
.markdown-body a:not([href]) { |
||||
color: inherit; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.markdown-body blockquote,.markdown-body dl,.markdown-body ol,.markdown-body p,.markdown-body pre,.markdown-body table,.markdown-body ul { |
||||
margin-top: 0; |
||||
margin-bottom: 16px; |
||||
} |
||||
|
||||
.markdown-body hr { |
||||
margin: 24px 0; |
||||
padding: 0; |
||||
height: .25em; |
||||
border: 0; |
||||
background-color: #e1e4e8; |
||||
} |
||||
|
||||
.markdown-body blockquote { |
||||
padding: 0 1em; |
||||
border-left: .25em solid #dfe2e5; |
||||
color: #6a737d; |
||||
} |
||||
|
||||
.markdown-body blockquote>:first-child { |
||||
margin-top: 0; |
||||
} |
||||
|
||||
.markdown-body blockquote>:last-child { |
||||
margin-bottom: 0; |
||||
} |
||||
|
||||
.markdown-body kbd { |
||||
display: inline-block; |
||||
padding: 3px 5px; |
||||
border: solid 1px #c6cbd1; |
||||
border-radius: 3px; |
||||
background-color: #fafbfc; |
||||
box-shadow: inset 0 -1px 0 #959da5; |
||||
color: #444d56; |
||||
vertical-align: middle; |
||||
font-size: 11px; |
||||
line-height: 10px; |
||||
border-bottom-color: #959da5; |
||||
} |
||||
|
||||
.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6 { |
||||
margin-top: 24px; |
||||
margin-bottom: 16px; |
||||
font-weight: 600; |
||||
line-height: 1.25; |
||||
} |
||||
|
||||
.markdown-body h1 { |
||||
padding-bottom: .3em; |
||||
border-bottom: 1px solid #bbb; |
||||
font-size: 2em; |
||||
} |
||||
|
||||
.markdown-body h2 { |
||||
padding-bottom: .3em; |
||||
border-bottom: 1px solid #bbb; |
||||
font-size: 1.5em; |
||||
} |
||||
|
||||
.markdown-body h3 { |
||||
font-size: 1.25em; |
||||
} |
||||
|
||||
.markdown-body h4 { |
||||
font-size: 1em; |
||||
} |
||||
|
||||
.markdown-body h5 { |
||||
font-size: .875em; |
||||
} |
||||
|
||||
.markdown-body h6 { |
||||
color: #6a737d; |
||||
font-size: .85em; |
||||
} |
||||
|
||||
.markdown-body ol,.markdown-body ul { |
||||
padding-left: 2em; |
||||
} |
||||
|
||||
.markdown-body ol ol,.markdown-body ol ul,.markdown-body ul ol,.markdown-body ul ul { |
||||
margin-top: 0; |
||||
margin-bottom: 0; |
||||
} |
||||
|
||||
.markdown-body li { |
||||
word-wrap: break-all; |
||||
} |
||||
|
||||
.markdown-body li>p { |
||||
margin-top: 16px; |
||||
} |
||||
|
||||
.markdown-body li+li { |
||||
margin-top: .25em; |
||||
} |
||||
|
||||
.markdown-body dl { |
||||
padding: 0; |
||||
} |
||||
|
||||
.markdown-body dl dt { |
||||
margin-top: 16px; |
||||
padding: 0; |
||||
font-weight: 600; |
||||
font-style: italic; |
||||
font-size: 1em; |
||||
} |
||||
|
||||
.markdown-body dl dd { |
||||
margin-bottom: 16px; |
||||
padding: 0 16px; |
||||
} |
||||
|
||||
.markdown-body table { |
||||
display: block; |
||||
overflow: auto; |
||||
width: 100%; |
||||
} |
||||
|
||||
.markdown-body table th { |
||||
font-weight: 600; |
||||
} |
||||
|
||||
.markdown-body table td,.markdown-body table th { |
||||
padding: 6px 13px; |
||||
border: 1px solid #dfe2e5; |
||||
} |
||||
|
||||
.markdown-body table tr { |
||||
border-top: 1px solid #c6cbd1; |
||||
background-color: #fff; |
||||
} |
||||
|
||||
.markdown-body table tr:nth-child(2n) { |
||||
background-color: #f6f8fa; |
||||
} |
||||
|
||||
.markdown-body img { |
||||
box-sizing: content-box; |
||||
max-width: 100%; |
||||
background-color: #fff; |
||||
} |
||||
|
||||
.markdown-body img[align=right] { |
||||
padding-left: 20px; |
||||
} |
||||
|
||||
.markdown-body img[align=left] { |
||||
padding-right: 20px; |
||||
} |
||||
|
||||
.markdown-body code { |
||||
margin: 0; |
||||
padding: .2em .4em; |
||||
border-radius: 3px; |
||||
background-color: rgba(27,31,35,.05); |
||||
} |
||||
|
||||
.markdown-body pre { |
||||
word-wrap: normal; |
||||
} |
||||
|
||||
.markdown-body pre>code { |
||||
margin: 0; |
||||
padding: 0; |
||||
border: 0; |
||||
background: 0 0; |
||||
white-space: pre; |
||||
font-size: 100%; |
||||
word-break: normal; |
||||
} |
||||
|
||||
.markdown-body pre code { |
||||
display: inline; |
||||
overflow: visible; |
||||
margin: 0; |
||||
padding: 0; |
||||
max-width: auto; |
||||
border: 0; |
||||
background-color: transparent; |
||||
word-wrap: normal; |
||||
line-height: inherit; |
||||
} |
||||
|
||||
.markdown-body kbd { |
||||
display: inline-block; |
||||
padding: 3px 5px; |
||||
border: solid 1px #d1d5da; |
||||
border-radius: 3px; |
||||
background-color: #fafbfc; |
||||
box-shadow: inset 0 -1px 0 #c6cbd1; |
||||
color: #444d56; |
||||
vertical-align: middle; |
||||
font: 11px SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; |
||||
line-height: 10px; |
||||
border-bottom-color: #c6cbd1; |
||||
} |
||||
|
||||
.markdown-body hr { |
||||
border-bottom-color: #bbb; |
||||
} |
||||
|
||||
.markdown-body li>pre { |
||||
margin-top: 5px; |
||||
} |
@ -1,796 +0,0 @@ |
||||
#post-content hr:after,#post-content hr:before { |
||||
content:""; |
||||
display:table |
||||
} |
||||
.editormd-logo-1x:before,.editormd-logo-2x:before,.editormd-logo-3x:before,.editormd-logo-4x:before,.editormd-logo-5x:before,.editormd-logo-6x:before,.editormd-logo-7x:before,.editormd-logo-8x:before,.editormd-logo:before { |
||||
content:"\e1987" |
||||
} |
||||
.editormd-logo-1x { |
||||
font-size:1em |
||||
} |
||||
.editormd-logo-lg { |
||||
font-size:1.2em |
||||
} |
||||
.editormd-logo-2x { |
||||
font-size:2em |
||||
} |
||||
.editormd-logo-3x { |
||||
font-size:3em |
||||
} |
||||
.editormd-logo-4x { |
||||
font-size:4em |
||||
} |
||||
.editormd-logo-5x { |
||||
font-size:5em |
||||
} |
||||
.editormd-logo-6x { |
||||
font-size:6em |
||||
} |
||||
.editormd-logo-7x { |
||||
font-size:7em |
||||
} |
||||
.editormd-logo-8x { |
||||
font-size:8em |
||||
} |
||||
.editormd-logo-color { |
||||
color:#2196F3 |
||||
} |
||||
@font-face { |
||||
font-family:octicons-anchor; |
||||
src:url(data:font/woff; |
||||
charset=utf-8; |
||||
base64,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)format("woff") |
||||
} |
||||
#post-content { |
||||
-ms-text-size-adjust:100%; |
||||
-webkit-text-size-adjust:100%; |
||||
color:#333; |
||||
overflow:hidden; |
||||
font-family:"Microsoft YaHei",Helvetica,"Meiryo UI","Malgun Gothic","Segoe UI","Trebuchet MS",Monaco,monospace,Tahoma,STXihei,"鍗庢枃缁嗛粦",STHeiti,"Helvetica Neue","Droid Sans","wenquanyi micro hei",FreeSans,Arimo,Arial,SimSun,"瀹嬩綋",Heiti,"榛戜綋",sans-serif; |
||||
font-size:16px; |
||||
line-height:1.6; |
||||
word-wrap:break-word |
||||
} |
||||
#post-content strong { |
||||
font-weight:700 |
||||
} |
||||
#post-content h1 { |
||||
margin:.67em 0 |
||||
} |
||||
#post-content img { |
||||
border:0 |
||||
} |
||||
#post-content hr { |
||||
-moz-box-sizing:content-box; |
||||
box-sizing:content-box; |
||||
height:0 |
||||
} |
||||
#post-content input { |
||||
color:inherit; |
||||
margin:0; |
||||
line-height:normal; |
||||
font:13px/1.4 Helvetica,arial,freesans,clean,sans-serif,"Segoe UI Emoji","Segoe UI Symbol" |
||||
} |
||||
#post-content html input[disabled] { |
||||
cursor:default |
||||
} |
||||
#post-content input[type=checkbox] { |
||||
-moz-box-sizing:border-box; |
||||
box-sizing:border-box; |
||||
padding:0 |
||||
} |
||||
#post-content td,#post-content th { |
||||
padding:0 |
||||
} |
||||
#post-content * { |
||||
-moz-box-sizing:border-box; |
||||
box-sizing:border-box |
||||
} |
||||
#post-content a { |
||||
background:0 0; |
||||
color:#4183c4; |
||||
text-decoration:none |
||||
} |
||||
#post-content a:active,#post-content a:hover { |
||||
outline:0 |
||||
} |
||||
#post-content hr { |
||||
margin:15px 0; |
||||
overflow:hidden; |
||||
background:0 0; |
||||
border:0; |
||||
border-bottom:1px solid #ddd |
||||
} |
||||
#post-content h1,#post-content h2 { |
||||
padding-bottom:.3em; |
||||
border-bottom:1px solid #bbb |
||||
} |
||||
#post-content hr:after { |
||||
clear:both |
||||
} |
||||
#post-content blockquote { |
||||
margin:0 |
||||
} |
||||
#post-content ol,#post-content ul { |
||||
padding:0 |
||||
} |
||||
#post-content ol ol,#post-content ul ol { |
||||
list-style-type:lower-roman |
||||
} |
||||
#post-content ol ol ol,#post-content ol ul ol,#post-content ul ol ol,#post-content ul ul ol { |
||||
list-style-type:lower-alpha |
||||
} |
||||
#post-content dd { |
||||
margin-left:0 |
||||
} |
||||
#post-content code { |
||||
font-family:Consolas,"Liberation Mono",Menlo,Courier,monospace |
||||
} |
||||
#post-content pre { |
||||
font:12px Consolas,"Liberation Mono",Menlo,Courier,monospace; |
||||
word-wrap:normal |
||||
} |
||||
#post-content .octicon { |
||||
font:normal normal 16px octicons-anchor; |
||||
line-height:1; |
||||
display:inline-block; |
||||
text-decoration:none; |
||||
-webkit-font-smoothing:antialiased; |
||||
-webkit-user-select:none; |
||||
-moz-user-select:none; |
||||
-ms-user-select:none; |
||||
user-select:none |
||||
} |
||||
#post-content .octicon-link:before { |
||||
content:'\f05c' |
||||
} |
||||
#post-content>:first-child { |
||||
margin-top:0!important |
||||
} |
||||
#post-content>:last-child { |
||||
margin-bottom:0!important |
||||
} |
||||
#post-content .anchor { |
||||
position:absolute; |
||||
top:0; |
||||
left:0; |
||||
display:block; |
||||
padding-right:6px; |
||||
padding-left:30px; |
||||
margin-left:-30px |
||||
} |
||||
#post-content .anchor:focus { |
||||
outline:0 |
||||
} |
||||
#post-content h1,#post-content h2,#post-content h3,#post-content h4,#post-content h5,#post-content h6 { |
||||
position:relative; |
||||
margin-top:1em; |
||||
margin-bottom:16px; |
||||
font-weight:700; |
||||
line-height:1.4 |
||||
} |
||||
#post-content h1 .octicon-link,#post-content h2 .octicon-link,#post-content h3 .octicon-link,#post-content h4 .octicon-link,#post-content h5 .octicon-link,#post-content h6 .octicon-link { |
||||
display:none; |
||||
color:#000; |
||||
vertical-align:middle |
||||
} |
||||
#post-content h1:hover .anchor,#post-content h2:hover .anchor,#post-content h3:hover .anchor,#post-content h4:hover .anchor,#post-content h5:hover .anchor,#post-content h6:hover .anchor { |
||||
padding-left:8px; |
||||
margin-left:-30px; |
||||
text-decoration:none |
||||
} |
||||
#post-content h1:hover .anchor .octicon-link,#post-content h2:hover .anchor .octicon-link,#post-content h3:hover .anchor .octicon-link,#post-content h4:hover .anchor .octicon-link,#post-content h5:hover .anchor .octicon-link,#post-content h6:hover .anchor .octicon-link { |
||||
display:inline-block |
||||
} |
||||
#post-content h1 { |
||||
font-size:1.6em; |
||||
line-height:1.2 |
||||
} |
||||
#post-content h1 .anchor { |
||||
line-height:1 |
||||
} |
||||
#post-content h2 { |
||||
font-size:1.4em; |
||||
line-height:1.225 |
||||
} |
||||
#post-content h2 .anchor { |
||||
line-height:1 |
||||
} |
||||
#post-content h3 { |
||||
font-size:1.1em; |
||||
line-height:1.43 |
||||
} |
||||
#post-content h3 .anchor,#post-content h4 .anchor { |
||||
line-height:1.2 |
||||
} |
||||
#post-content h4 { |
||||
font-size:0.8em |
||||
} |
||||
#post-content h5 .anchor,#post-content h6 .anchor { |
||||
line-height:1.1 |
||||
} |
||||
#post-content h5 { |
||||
font-size:1em |
||||
} |
||||
#post-content h6 { |
||||
font-size:1em; |
||||
color:#777 |
||||
} |
||||
#post-content blockquote,#post-content dl,#post-content ol,#post-content p,#post-content pre,#post-content ul { |
||||
margin-top:0; |
||||
margin-bottom:16px |
||||
} |
||||
#post-content ol,#post-content ul { |
||||
padding-left:2em |
||||
} |
||||
#post-content ol ol,#post-content ol ul,#post-content ul ol,#post-content ul ul { |
||||
margin-top:0; |
||||
margin-bottom:0 |
||||
} |
||||
#post-content dl { |
||||
padding:0 |
||||
} |
||||
#post-content dl dt { |
||||
padding:0; |
||||
margin-top:16px; |
||||
font-size:1em; |
||||
font-style:italic; |
||||
font-weight:700 |
||||
} |
||||
#post-content dl dd { |
||||
padding:0 16px; |
||||
margin-bottom:16px |
||||
} |
||||
#post-content blockquote { |
||||
padding:15px; |
||||
color:#777; |
||||
border-left:4px solid #ccc |
||||
} |
||||
#post-content blockquote>:first-child { |
||||
margin-top:0 |
||||
} |
||||
#post-content blockquote>:last-child { |
||||
margin-bottom:0 |
||||
} |
||||
#post-content table { |
||||
border-collapse:collapse; |
||||
border-spacing:0; |
||||
display:block; |
||||
width:100%; |
||||
overflow:auto; |
||||
word-break:normal; |
||||
word-break:keep-all |
||||
} |
||||
#post-content table th { |
||||
font-weight:700 |
||||
} |
||||
#post-content table td,#post-content table th { |
||||
padding:6px 13px; |
||||
border:1px solid #ddd |
||||
} |
||||
#post-content table tr { |
||||
background-color:#fff; |
||||
border-top:1px solid #ccc |
||||
} |
||||
#post-content table tr:nth-child(2n) { |
||||
background-color:#f8f8f8 |
||||
} |
||||
#post-content img { |
||||
max-width:100%; |
||||
-moz-box-sizing:border-box; |
||||
box-sizing:border-box |
||||
} |
||||
#post-content code { |
||||
padding:.2em 0; |
||||
margin:0; |
||||
font-size:85%; |
||||
background-color:rgba(0,0,0,.04); |
||||
border-radius:3px |
||||
} |
||||
#post-content code:after,#post-content code:before { |
||||
letter-spacing:-.2em; |
||||
content:"\00a0" |
||||
} |
||||
|
||||
#post-content pre>code { |
||||
padding:0; |
||||
margin:0; |
||||
font-size:100%; |
||||
word-break:normal; |
||||
white-space:pre; |
||||
background:0 0; |
||||
border:0 |
||||
} |
||||
#post-content .highlight { |
||||
margin-bottom:16px |
||||
}/* |
||||
#post-content .highlight pre,#post-content pre { |
||||
padding:16px; |
||||
overflow-y:hidden; |
||||
overflow-x:auto; |
||||
font-size:85%; |
||||
background-color:#f7f7f7; |
||||
border-radius:3px |
||||
} |
||||
#post-content .highlight pre { |
||||
margin-bottom:0; |
||||
word-break:normal |
||||
}*/ |
||||
#post-content pre code{ |
||||
display:block; |
||||
max-width:initial; |
||||
padding:0px; |
||||
margin: 10px 0px 0px 40px; |
||||
overflow:auto; |
||||
line-height:inherit; |
||||
word-wrap:normal; |
||||
background-color:transparent; |
||||
border:0; |
||||
} |
||||
|
||||
#post-content pre code:after,#post-content pre code:before { |
||||
content:normal |
||||
} |
||||
#post-content .pl-c { |
||||
color:#969896 |
||||
} |
||||
#post-content .pl-c1,#post-content .pl-mdh,#post-content .pl-mm,#post-content .pl-mp,#post-content .pl-mr,#post-content .pl-s1 .pl-v,#post-content .pl-s3,#post-content .pl-sc,#post-content .pl-sv { |
||||
color:#0086b3 |
||||
} |
||||
#post-content .pl-e,#post-content .pl-en { |
||||
color:#795da3 |
||||
} |
||||
#post-content .pl-s1 .pl-s2,#post-content .pl-smi,#post-content .pl-smp,#post-content .pl-stj,#post-content .pl-vo,#post-content .pl-vpf { |
||||
color:#333 |
||||
} |
||||
#post-content .pl-ent { |
||||
color:#63a35c |
||||
} |
||||
#post-content .pl-k,#post-content .pl-s,#post-content .pl-st { |
||||
color:#a71d5d |
||||
} |
||||
#post-content .pl-pds,#post-content .pl-s1,#post-content .pl-s1 .pl-pse .pl-s2,#post-content .pl-sr,#post-content .pl-sr .pl-cce,#post-content .pl-sr .pl-sra,#post-content .pl-sr .pl-sre,#post-content .pl-src { |
||||
color:#df5000 |
||||
} |
||||
#post-content .pl-mo,#post-content .pl-v { |
||||
color:#1d3e81 |
||||
} |
||||
#post-content .pl-id { |
||||
color:#b52a1d |
||||
} |
||||
#post-content .pl-ii { |
||||
background-color:#b52a1d; |
||||
color:#f8f8f8 |
||||
} |
||||
#post-content .pl-sr .pl-cce { |
||||
color:#63a35c; |
||||
font-weight:700 |
||||
} |
||||
#post-content .pl-ml { |
||||
color:#693a17 |
||||
} |
||||
#post-content .pl-mh,#post-content .pl-mh .pl-en,#post-content .pl-ms { |
||||
color:#1d3e81; |
||||
font-weight:700 |
||||
} |
||||
#post-content .pl-mq { |
||||
color:teal |
||||
} |
||||
#post-content .pl-mi { |
||||
color:#333; |
||||
font-style:italic |
||||
} |
||||
#post-content .pl-mb { |
||||
color:#333; |
||||
font-weight:700 |
||||
} |
||||
#post-content .pl-md,#post-content .pl-mdhf { |
||||
background-color:#ffecec; |
||||
color:#bd2c00 |
||||
} |
||||
#post-content .pl-mdht,#post-content .pl-mi1 { |
||||
background-color:#eaffea; |
||||
color:#55a532 |
||||
} |
||||
#post-content .pl-mdr { |
||||
color:#795da3; |
||||
font-weight:700 |
||||
} |
||||
#post-content kbd { |
||||
display:inline-block; |
||||
padding:3px 5px; |
||||
font:11px Consolas,"Liberation Mono",Menlo,Courier,monospace; |
||||
line-height:10px; |
||||
color:#555; |
||||
vertical-align:middle; |
||||
background-color:#fcfcfc; |
||||
border:1px solid #ccc; |
||||
border-bottom-color:#bbb; |
||||
border-radius:3px; |
||||
box-shadow:inset 0 -1px 0 #bbb |
||||
} |
||||
#post-content .task-list-item+.task-list-item { |
||||
margin-top:3px |
||||
} |
||||
#post-content .task-list-item input { |
||||
float:left; |
||||
margin:.3em 0 .25em -1.6em; |
||||
vertical-align:middle |
||||
} |
||||
#post-content:checked+.radio-label { |
||||
z-index:1; |
||||
position:relative; |
||||
border-color:#4183c4 |
||||
} |
||||
.editormd-html-preview,.editormd-preview-container { |
||||
text-align:left; |
||||
font-size:14px; |
||||
line-height:1.6; |
||||
overflow:auto; |
||||
background:none repeat scroll 0 0!important |
||||
} |
||||
.editormd-html-preview blockquote,.editormd-preview-container blockquote { |
||||
color:#666; |
||||
border-left:4px solid #ddd; |
||||
padding-left:20px; |
||||
margin-left:0; |
||||
font-size:14px; |
||||
font-style:italic |
||||
} |
||||
.editormd-html-preview p code,.editormd-preview-container p code { |
||||
margin-left:5px; |
||||
margin-right:4px |
||||
} |
||||
.editormd-html-preview abbr,.editormd-preview-container abbr { |
||||
background:#ffd |
||||
} |
||||
.editormd-html-preview hr,.editormd-preview-container hr { |
||||
height:1px; |
||||
border:none; |
||||
border-top:1px solid #ddd; |
||||
background:0 0 |
||||
} |
||||
.editormd-html-preview code,.editormd-preview-container code { |
||||
border:1px solid #ddd; |
||||
background:#f6f6f6; |
||||
padding:3px; |
||||
border-radius:3px; |
||||
font-size:14px |
||||
} |
||||
.editormd-html-preview pre,.editormd-preview-container pre { |
||||
border:1px solid #ddd; |
||||
background:#f6f6f6; |
||||
padding:10px; |
||||
-webkit-border-radius:3px; |
||||
-moz-border-radius:3px; |
||||
-ms-border-radius:3px; |
||||
-o-border-radius:3px; |
||||
border-radius:3px |
||||
} |
||||
.editormd-html-preview pre code,.editormd-preview-container pre code { |
||||
padding:0 |
||||
} |
||||
.editormd-html-preview code,.editormd-html-preview kbd,.editormd-html-preview pre,.editormd-preview-container code,.editormd-preview-container kbd,.editormd-preview-container pre { |
||||
font-family:"YaHei Consolas Hybrid",Consolas,"Meiryo UI","Malgun Gothic","Segoe UI","Trebuchet MS",Helvetica,monospace,monospace |
||||
} |
||||
.editormd-html-preview table thead tr,.editormd-preview-container table thead tr { |
||||
background-color:#F8F8F8 |
||||
} |
||||
.editormd-html-preview p.editormd-tex,.editormd-preview-container p.editormd-tex { |
||||
text-align:center |
||||
} |
||||
.editormd-html-preview span.editormd-tex,.editormd-preview-container span.editormd-tex { |
||||
margin:0 5px |
||||
} |
||||
.editormd-html-preview .emoji,.editormd-preview-container .emoji { |
||||
width:24px; |
||||
height:24px |
||||
} |
||||
.editormd-html-preview .katex,.editormd-preview-container .katex { |
||||
font-size:1.4em |
||||
} |
||||
.editormd-html-preview .flowchart,.editormd-html-preview .sequence-diagram,.editormd-preview-container .flowchart,.editormd-preview-container .sequence-diagram { |
||||
margin:0 auto; |
||||
text-align:center |
||||
} |
||||
.editormd-html-preview .flowchart svg,.editormd-html-preview .sequence-diagram svg,.editormd-preview-container .flowchart svg,.editormd-preview-container .sequence-diagram svg { |
||||
margin:0 auto |
||||
} |
||||
.editormd-html-preview .flowchart text,.editormd-html-preview .sequence-diagram text,.editormd-preview-container .flowchart text,.editormd-preview-container .sequence-diagram text { |
||||
font-size:15px!important; |
||||
font-family:"YaHei Consolas Hybrid",Consolas,"Microsoft YaHei","Malgun Gothic","Segoe UI",Helvetica,Arial!important |
||||
} |
||||
/*! Pretty printing styles. Used with prettify.js. */.pln { |
||||
color:#000 |
||||
} |
||||
@media screen { |
||||
.str { |
||||
color:#080 |
||||
} |
||||
.kwd { |
||||
color:#008 |
||||
} |
||||
.com { |
||||
color:#800 |
||||
} |
||||
.typ { |
||||
color:#606 |
||||
} |
||||
.lit { |
||||
color:#066 |
||||
} |
||||
.clo,.opn,.pun { |
||||
color:#660 |
||||
} |
||||
.tag { |
||||
color:#008 |
||||
} |
||||
.atn { |
||||
color:#606 |
||||
} |
||||
.atv { |
||||
color:#080 |
||||
} |
||||
.dec,.var { |
||||
color:#606 |
||||
} |
||||
.fun { |
||||
color:red |
||||
} |
||||
}@media print,projection { |
||||
.kwd,.tag,.typ { |
||||
font-weight:700 |
||||
} |
||||
.str { |
||||
color:#060 |
||||
} |
||||
.kwd { |
||||
color:#006 |
||||
} |
||||
.com { |
||||
color:#600; |
||||
font-style:italic |
||||
} |
||||
.typ { |
||||
color:#404 |
||||
} |
||||
.lit { |
||||
color:#044 |
||||
} |
||||
.clo,.opn,.pun { |
||||
color:#440 |
||||
} |
||||
.tag { |
||||
color:#006 |
||||
} |
||||
.atn { |
||||
color:#404 |
||||
} |
||||
.atv { |
||||
color:#060 |
||||
} |
||||
}/*#post-content pre.prettyprint { |
||||
padding:2px; |
||||
border:1px solid #888 |
||||
} |
||||
*/ol.linenums { |
||||
margin-top:0; |
||||
margin-bottom:0 |
||||
} |
||||
li.L1,li.L3,li.L5,li.L7,li.L9 { |
||||
background:#eee |
||||
} |
||||
.editormd-html-preview pre.prettyprint,.editormd-preview-container pre.prettyprint { |
||||
padding:10px; |
||||
border:1px solid #ddd; |
||||
white-space:pre-wrap; |
||||
word-wrap:break-word |
||||
} |
||||
.editormd-html-preview ol.linenums,.editormd-preview-container ol.linenums { |
||||
color:#999; |
||||
padding-left:2.5em |
||||
} |
||||
.editormd-html-preview ol.linenums li,.editormd-preview-container ol.linenums li { |
||||
list-style-type:decimal |
||||
} |
||||
.editormd-html-preview ol.linenums li code,.editormd-preview-container ol.linenums li code { |
||||
border:none; |
||||
background:0 0; |
||||
padding:0 |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu,.editormd-preview-container .editormd-toc-menu { |
||||
margin:8px 0 12px; |
||||
display:inline-block |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu>.markdown-toc,.editormd-preview-container .editormd-toc-menu>.markdown-toc { |
||||
position:relative; |
||||
-webkit-border-radius:4px; |
||||
-moz-border-radius:4px; |
||||
-ms-border-radius:4px; |
||||
-o-border-radius:4px; |
||||
border-radius:4px; |
||||
border:1px solid #ddd; |
||||
display:inline-block; |
||||
font-size:1em |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu>.markdown-toc>ul,.editormd-preview-container .editormd-toc-menu>.markdown-toc>ul { |
||||
width:160%; |
||||
min-width:180px; |
||||
position:absolute; |
||||
left:-1px; |
||||
top:-2px; |
||||
z-index:100; |
||||
padding:0 10px 10px; |
||||
display:none; |
||||
background:#fff; |
||||
border:1px solid #ddd; |
||||
-webkit-border-radius:4px; |
||||
-moz-border-radius:4px; |
||||
-ms-border-radius:4px; |
||||
-o-border-radius:4px; |
||||
border-radius:4px; |
||||
-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2); |
||||
-moz-box-shadow:0 3px 5px rgba(0,0,0,.2); |
||||
-ms-box-shadow:0 3px 5px rgba(0,0,0,.2); |
||||
-o-box-shadow:0 3px 5px rgba(0,0,0,.2); |
||||
box-shadow:0 3px 5px rgba(0,0,0,.2) |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu>.markdown-toc>ul>li ul,.editormd-preview-container .editormd-toc-menu>.markdown-toc>ul>li ul { |
||||
width:100%; |
||||
min-width:180px; |
||||
border:1px solid #ddd; |
||||
display:none; |
||||
background:#fff; |
||||
-webkit-border-radius:4px; |
||||
-moz-border-radius:4px; |
||||
-ms-border-radius:4px; |
||||
-o-border-radius:4px; |
||||
border-radius:4px |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu .toc-menu-btn:hover,.editormd-html-preview .editormd-toc-menu>.markdown-toc>ul>li a:hover,.editormd-preview-container .editormd-toc-menu .toc-menu-btn:hover,.editormd-preview-container .editormd-toc-menu>.markdown-toc>ul>li a:hover { |
||||
background-color:#f6f6f6 |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu>.markdown-toc>ul>li a,.editormd-preview-container .editormd-toc-menu>.markdown-toc>ul>li a { |
||||
color:#666; |
||||
padding:6px 10px; |
||||
display:block; |
||||
-webkit-transition:background-color .5s ease-out; |
||||
-moz-transition:background-color .5s ease-out; |
||||
transition:background-color .5s ease-out |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu>.markdown-toc li,.editormd-preview-container .editormd-toc-menu>.markdown-toc li { |
||||
position:relative |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu>.markdown-toc li>ul,.editormd-preview-container .editormd-toc-menu>.markdown-toc li>ul { |
||||
position:absolute; |
||||
top:32px; |
||||
left:10%; |
||||
display:none; |
||||
-webkit-box-shadow:0 3px 5px rgba(0,0,0,.2); |
||||
-moz-box-shadow:0 3px 5px rgba(0,0,0,.2); |
||||
-ms-box-shadow:0 3px 5px rgba(0,0,0,.2); |
||||
-o-box-shadow:0 3px 5px rgba(0,0,0,.2); |
||||
box-shadow:0 3px 5px rgba(0,0,0,.2) |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu>.markdown-toc li>ul:after,.editormd-html-preview .editormd-toc-menu>.markdown-toc li>ul:before,.editormd-preview-container .editormd-toc-menu>.markdown-toc li>ul:after,.editormd-preview-container .editormd-toc-menu>.markdown-toc li>ul:before { |
||||
pointer-events:pointer-events; |
||||
position:absolute; |
||||
left:15px; |
||||
top:-6px; |
||||
display:block; |
||||
content:""; |
||||
width:0; |
||||
height:0; |
||||
border:6px solid transparent; |
||||
border-width:0 6px 6px; |
||||
z-index:10 |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu>.markdown-toc li>ul:before,.editormd-preview-container .editormd-toc-menu>.markdown-toc li>ul:before { |
||||
border-bottom-color:#ccc |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu>.markdown-toc li>ul:after,.editormd-preview-container .editormd-toc-menu>.markdown-toc li>ul:after { |
||||
border-bottom-color:#fff; |
||||
top:-5px |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu ul,.editormd-preview-container .editormd-toc-menu ul { |
||||
list-style:none |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu a,.editormd-preview-container .editormd-toc-menu a { |
||||
text-decoration:none |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu h1,.editormd-preview-container .editormd-toc-menu h1 { |
||||
font-size:16px; |
||||
padding:5px 0 10px 10px; |
||||
line-height:1; |
||||
border-bottom:1px solid #eee |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu h1 .fa,.editormd-preview-container .editormd-toc-menu h1 .fa { |
||||
padding-left:10px |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu .toc-menu-btn,.editormd-preview-container .editormd-toc-menu .toc-menu-btn { |
||||
color:#666; |
||||
min-width:180px; |
||||
padding:5px 10px; |
||||
border-radius:4px; |
||||
display:inline-block; |
||||
-webkit-transition:background-color .5s ease-out; |
||||
-moz-transition:background-color .5s ease-out; |
||||
transition:background-color .5s ease-out |
||||
} |
||||
.editormd-html-preview .editormd-toc-menu .toc-menu-btn .fa,.editormd-preview-container .editormd-toc-menu .toc-menu-btn .fa { |
||||
float:right; |
||||
padding:3px 0 0 10px; |
||||
font-size:1.3em |
||||
} |
||||
#post-content .editormd-toc-menu ul { |
||||
padding-left:0 |
||||
} |
||||
#post-content .highlight pre,#post-content pre { |
||||
line-height:1.6 |
||||
} |
||||
hr.editormd-page-break { |
||||
border:1px dotted #ccc; |
||||
font-size:0; |
||||
height:2px |
||||
} |
||||
@media only print { |
||||
hr.editormd-page-break { |
||||
background:0 0; |
||||
border:none; |
||||
height:0 |
||||
} |
||||
}.editormd-html-preview textarea { |
||||
display:none |
||||
} |
||||
.editormd-html-preview hr.editormd-page-break { |
||||
background:0 0; |
||||
border:none; |
||||
height:0 |
||||
} |
||||
.editormd-preview-close-btn { |
||||
color:#fff; |
||||
padding:4px 6px; |
||||
font-size:18px; |
||||
-webkit-border-radius:500px; |
||||
-moz-border-radius:500px; |
||||
-ms-border-radius:500px; |
||||
-o-border-radius:500px; |
||||
border-radius:500px; |
||||
display:none; |
||||
background-color:#ccc; |
||||
position:absolute; |
||||
top:25px; |
||||
right:35px; |
||||
z-index:19; |
||||
-webkit-transition:background-color .3s ease-out; |
||||
-moz-transition:background-color .3s ease-out; |
||||
transition:background-color .3s ease-out |
||||
} |
||||
.editormd-preview-close-btn:hover { |
||||
background-color:#999 |
||||
} |
||||
.editormd-preview-active { |
||||
width:100%; |
||||
padding:40px |
||||
} |
||||
#post-content ol.linenums { |
||||
margin-bottom:0!important |
||||
} |
||||
/*self-modify*/#post-content pre { |
||||
margin-bottom:8px |
||||
} |
||||
#post-content li { |
||||
margin-bottom:10px |
||||
} |
||||
#post-content li:last-of-type,#post-content pre ol li { |
||||
margin-bottom:0 |
||||
} |
||||
#post-content code { |
||||
padding:.14em 0 |
||||
} |
||||
#post-content ol.linenums { |
||||
min-width:calc(100% + 16px) |
||||
} |
||||
#post-content li p { |
||||
margin-bottom:2px |
||||
} |
@ -1,2 +1,79 @@ |
||||
<h2>Welcome to Yimian API</h2> |
||||
<p><a href="https://iotcat.me">Go to IoTcat's Home Page</a></p> |
||||
<?php |
||||
include '../../functions.php'; |
||||
|
||||
yimian__header("Yimian API", "IoTcat, Yimian, 呓喵酱, API", "IoTcat's API 汇总页面"); |
||||
|
||||
?> |
||||
|
||||
<!-- Web fonts --> |
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400italic,600,700%7COpen+Sans:300,400,400italic,600,700"> |
||||
<!-- Bootstrap and OneUI CSS framework --> |
||||
<link rel="stylesheet" href="https://cdn.yimian.xyz/bootstrap/bootstrap.min.css"> |
||||
<link rel="stylesheet" id="css-main" href="https://cdn.yimian.xyz/bootstrap/oneui.css"> |
||||
<link href="https://cdn.bootcss.com/mdui/0.4.2/css/mdui.min.css" rel="stylesheet"> |
||||
<script src="https://cdn.bootcss.com/mdui/0.4.2/js/mdui.min.js"></script> |
||||
<?php |
||||
yimian__headerEnd(); |
||||
?> |
||||
<body style="background:url(https://api.yimian.xyz/moe?i=background&k);"> |
||||
<!-- Live Previews --> |
||||
<div style="border-radius:10px"> |
||||
<section class="content content-boxed"> |
||||
<!-- Section Content --> |
||||
|
||||
<div class="mdui-card mdui-hoverable" style=""> |
||||
<!-- 卡片的媒体内容,可以包含图片、视频等媒体内容,以及标题、副标题 --> |
||||
<div class="mdui-card-media mdui-ripple"> |
||||
<!--<img src="https://api.yimian.xyz/moe?i=PCBackground&k" />--> |
||||
</div> |
||||
<!-- 卡片的标题和副标题 --> |
||||
<div class="mdui-card-primary"> |
||||
<img class="mdui-card-header-avatar" src="https://cdn.yimian.xyz/img/logo/head.jpg"/> |
||||
<div class="mdui-card-primary-headline">IoTcat's API</div> |
||||
<div class="mdui-card-primary-subtitle">「欢迎来到IoTcat's API~」</div> |
||||
</div> |
||||
|
||||
<div class="mdui-tab mdui-color-pink-a200"> |
||||
<a href="https://www.eee.dog" class="mdui-ripple">IoTcat's 博客</a> |
||||
<a href="https://iotcat.me" class="mdui-ripple">关于IoTcat</a> |
||||
</div> |
||||
|
||||
</div> |
||||
<br/> |
||||
<div class="row"> |
||||
<?php |
||||
|
||||
$conn_log = db__connect("log"); |
||||
|
||||
$res = db__getData(db__connect(), "api"); |
||||
|
||||
foreach($res as $row){ |
||||
|
||||
$res_log = db__rowNum($conn_log, "log_api", "api", $row['api']); |
||||
|
||||
echo ' |
||||
<div class="col-sm-4"> |
||||
<a class="block block-link-hover2 ribbon ribbon-modern ribbon-success" href="'.$row['url'].'/intro.php"> |
||||
<div class="ribbon-box font-w600">调用'.$res_log.'次</div> |
||||
|
||||
<div class="block-content"> |
||||
<div class="h4 push-5">'.$row['title'].'</div> |
||||
<p class="text-muted">'.$row['description'].'</p> |
||||
</div> |
||||
</a> |
||||
</div>'; |
||||
|
||||
|
||||
} |
||||
|
||||
?> |
||||
</div> |
||||
</body> |
||||
<script src="https://cdn.yimian.xyz/xuehua/xh.js"></script> |
||||
<script src="https://cdn.yimian.xyz/xuehua/tx-2.js"></script> |
||||
<style type="text/css"> |
||||
.snow-container{position:fixed;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:100001;} |
||||
</style> |
||||
<div class="snow-container"></div> |
||||
<?php |
||||
yimian__simpleFooter(); |
||||
|
@ -0,0 +1,47 @@ |
||||
<?php |
||||
include '../../../functions.php'; |
||||
|
||||
yimian__header("邮件发送","IoTcat, 邮件发送, api", "邮件发送API介绍页面"); |
||||
?> |
||||
|
||||
<meta name="theme-color" content="#fd4b5c"> |
||||
|
||||
<?php |
||||
yimian__headerEnd(); |
||||
?> |
||||
|
||||
<style type="text/css"> |
||||
h3:hover {box-shadow:0px 0px 8px #D1D1D1;} |
||||
</style> |
||||
<div style="box-shadow: 5px 5px 25px 0 rgba(46,61,73,.2);border-radius:15px;font-size:13px;width:950px;font-family:微软雅黑,'Helvetica Neue',Arial,sans-serif;margin:10px auto 0px;border:0px solid #eee;max-width:100%;"> |
||||
<div style="width:100%;background-color: #3174ed;background-image: linear-gradient(90deg, #3174ed 0%, #FA8BFF 35%, #3fd9fb 88%);color:#FFFFFF;border-radius:15px 15px 0 0;"> |
||||
<h2 style="font-size:15px;word-break:break-all;padding:20px 32px;margin:0;text-align:center">邮件发送 - API</h2> |
||||
</div> |
||||
<div style="margin:0px auto;width:90%"> |
||||
<h3 style="-webkit-transition: all .2s cubic-bezier(0, 0, 0, 0.48);-moz-transition: all .2s ease;border:.0625rem solid #fafafa;background:#fafafa repeating-linear-gradient(-45deg,#fff,#fff 1.125rem,transparent 1.125rem,transparent 2.25rem);margin:15px 0px;padding:20px;border-radius:5px;font-size:14px;color:#333;"> |
||||
# 邮件发送API请求方式 # |
||||
<ul> |
||||
<li>Method: GET/POST</li> |
||||
</ul> |
||||
<hr> |
||||
# 请求地址 #<br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;">https://api.yimian.xyz/mail</a><br/> |
||||
# 参数 #<br/> |
||||
<li>to //收信人邮箱</li> |
||||
<li>subject //邮件主题</li> |
||||
<li>body //邮件内容</li> |
||||
<li>from //发件人名称</li> |
||||
<hr> |
||||
# 返回数据(Json格式) #<br/> |
||||
<li>state //布尔型,true为发送成功,false为失败</li> |
||||
<hr> |
||||
# 备注 #<br/> |
||||
更多用法参考<a href="http://www.eee.dog/index.php/archives/192/">https://www.eee.dog/index.php/archives/192/</a><br/> |
||||
<hr> |
||||
# 示例 #<br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;" target="_blank">https://api.yimian.xyz/mail/?to=收信邮箱&subject=邮件主题&body=邮件内容&from=发件人名称</a> |
||||
</h3> |
||||
</div> |
||||
</div> |
||||
<?php |
||||
yimian__simpleFooter(); |
@ -0,0 +1,51 @@ |
||||
<?php |
||||
include '../../../functions.php'; |
||||
|
||||
yimian__header("二次元随机图","IoTcat, 二次元随机图, api", "二次元随机图API介绍页面"); |
||||
?> |
||||
|
||||
<meta name="theme-color" content="#fd4b5c"> |
||||
|
||||
<?php |
||||
yimian__headerEnd(); |
||||
?> |
||||
|
||||
<style type="text/css"> |
||||
h3:hover {box-shadow:0px 0px 8px #D1D1D1;} |
||||
</style> |
||||
<div style="box-shadow: 5px 5px 25px 0 rgba(46,61,73,.2);border-radius:15px;font-size:13px;width:950px;font-family:微软雅黑,'Helvetica Neue',Arial,sans-serif;margin:10px auto 0px;border:0px solid #eee;max-width:100%;"> |
||||
<div style="width:100%;background-color: #3174ed;background-image: linear-gradient(90deg, #3174ed 0%, #FA8BFF 35%, #3fd9fb 88%);color:#FFFFFF;border-radius:15px 15px 0 0;"> |
||||
<h2 style="font-size:15px;word-break:break-all;padding:20px 32px;margin:0;text-align:center">二次元随机图 - API</h2> |
||||
</div> |
||||
<div style="margin:0px auto;width:90%"> |
||||
<h3 style="-webkit-transition: all .2s cubic-bezier(0, 0, 0, 0.48);-moz-transition: all .2s ease;border:.0625rem solid #fafafa;background:#fafafa repeating-linear-gradient(-45deg,#fff,#fff 1.125rem,transparent 1.125rem,transparent 2.25rem);margin:15px 0px;padding:20px;border-radius:5px;font-size:14px;color:#333;"> |
||||
# 二次元随机图API请求方式 # |
||||
<ul> |
||||
<li>Method: GET/POST</li> |
||||
</ul> |
||||
<hr> |
||||
# 请求地址 #<br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;">https://api.yimian.xyz/moe</a><br/> |
||||
# 参数 #<br/> |
||||
<li>i //type=normal正常/loli萝莉/background背景/PCBackground背景适配电脑/PhoneBackground背景适配手机,留空默认随机输出正常或萝莉</li> |
||||
<li>k //更快速返回图片</li> |
||||
<li>s //通过给这个参数不同的值来返回不同的图片</li> |
||||
<hr> |
||||
# 返回数据 #<br/> |
||||
<div style="width:100%;background-color: #000;background-image: linear-gradient(90deg, #6694ed 0%,);color:#FFFFFF;border-radius:5px"> |
||||
本API无返回数据,直接输出图片<br/> |
||||
</div> |
||||
<hr> |
||||
# 备注 #<br/> |
||||
更多用法参考<a href="http://www.eee.dog/index.php/archives/149/">https://www.eee.dog/index.php/archives/149/</a><br/> |
||||
<hr> |
||||
# 示例 #<br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;" target="_blank">https://api.yimian.xyz/moe</a> |
||||
<a style="color:#fd4b5c;text-decoration:none;" target="_blank">https://api.yimian.xyz/moe?k</a><br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;" target="_blank">https://api.yimian.xyz/moe?s=1&k</a><br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;" target="_blank">https://api.yimian.xyz/moe?i=loli&s=1&k</a> |
||||
</h3> |
||||
</div> |
||||
</div> |
||||
<?php |
||||
yimian__simpleFooter(); |
@ -0,0 +1,51 @@ |
||||
<?php |
||||
include '../../../functions.php'; |
||||
|
||||
yimian__header("壁纸随机图","IoTcat, 壁纸随机图, api", "壁纸随机图API介绍页面"); |
||||
?> |
||||
|
||||
<meta name="theme-color" content="#fd4b5c"> |
||||
|
||||
<?php |
||||
yimian__headerEnd(); |
||||
?> |
||||
|
||||
<style type="text/css"> |
||||
h3:hover {box-shadow:0px 0px 8px #D1D1D1;} |
||||
</style> |
||||
<div style="box-shadow: 5px 5px 25px 0 rgba(46,61,73,.2);border-radius:15px;font-size:13px;width:950px;font-family:微软雅黑,'Helvetica Neue',Arial,sans-serif;margin:10px auto 0px;border:0px solid #eee;max-width:100%;"> |
||||
<div style="width:100%;background-color: #3174ed;background-image: linear-gradient(90deg, #3174ed 0%, #FA8BFF 35%, #3fd9fb 88%);color:#FFFFFF;border-radius:15px 15px 0 0;"> |
||||
<h2 style="font-size:15px;word-break:break-all;padding:20px 32px;margin:0;text-align:center">壁纸随机图 - API</h2> |
||||
</div> |
||||
<div style="margin:0px auto;width:90%"> |
||||
<h3 style="-webkit-transition: all .2s cubic-bezier(0, 0, 0, 0.48);-moz-transition: all .2s ease;border:.0625rem solid #fafafa;background:#fafafa repeating-linear-gradient(-45deg,#fff,#fff 1.125rem,transparent 1.125rem,transparent 2.25rem);margin:15px 0px;padding:20px;border-radius:5px;font-size:14px;color:#333;"> |
||||
# 壁纸随机图API请求方式 # |
||||
<ul> |
||||
<li>Method: GET/POST</li> |
||||
</ul> |
||||
<hr> |
||||
# 请求地址 #<br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;">https://api.yimian.xyz/pic</a><br/> |
||||
# 参数 #<br/> |
||||
<li>i //type=city城市/animal动物/universe宇宙/draw绘画/church教堂/europe欧式/sea海滨/material创意/green绿色/nature自然/road小路,留空默认随机输出1920x1080壁纸</li> |
||||
<li>k //更快速返回图片</li> |
||||
<li>s //通过给这个参数不同的值来返回不同的图片</li> |
||||
<hr> |
||||
# 返回数据 #<br/> |
||||
<div style="width:100%;background-color: #000;background-image: linear-gradient(90deg, #6694ed 0%,);color:#FFFFFF;border-radius:5px"> |
||||
本API无返回数据,直接输出图片<br/> |
||||
</div> |
||||
<hr> |
||||
# 备注 #<br/> |
||||
更多用法参考<a href="http://www.eee.dog/index.php/archives/149/">https://www.eee.dog/index.php/archives/149/</a><br/> |
||||
<hr> |
||||
# 示例 #<br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;" target="_blank">https://api.yimian.xyz/pic</a><br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;" target="_blank">https://api.yimian.xyz/pic?k</a> |
||||
<br/><a style="color:#fd4b5c;text-decoration:none;" target="_blank">https://api.yimian.xyz/pic?i=city&k</a> |
||||
<br/><a style="color:#fd4b5c;text-decoration:none;" target="_blank">https://api.yimian.xyz/pic?i=universe&k&s=1515</a> |
||||
</h3> |
||||
</div> |
||||
</div> |
||||
<?php |
||||
yimian__simpleFooter(); |
@ -0,0 +1,46 @@ |
||||
<?php |
||||
include '../../../functions.php'; |
||||
|
||||
yimian__header("随机一言","IoTcat, 随机一言, api", "随机一言API介绍页面"); |
||||
?> |
||||
|
||||
<meta name="theme-color" content="#fd4b5c"> |
||||
|
||||
<?php |
||||
yimian__headerEnd(); |
||||
?> |
||||
|
||||
<style type="text/css"> |
||||
h3:hover {box-shadow:0px 0px 8px #D1D1D1;} |
||||
</style> |
||||
<div style="box-shadow: 5px 5px 25px 0 rgba(46,61,73,.2);border-radius:15px;font-size:13px;width:950px;font-family:微软雅黑,'Helvetica Neue',Arial,sans-serif;margin:10px auto 0px;border:0px solid #eee;max-width:100%;"> |
||||
<div style="width:100%;background-color: #3174ed;background-image: linear-gradient(90deg, #3174ed 0%, #FA8BFF 35%, #3fd9fb 88%);color:#FFFFFF;border-radius:15px 15px 0 0;"> |
||||
<h2 style="font-size:15px;word-break:break-all;padding:20px 32px;margin:0;text-align:center">随机一言 - API</h2> |
||||
</div> |
||||
<div style="margin:0px auto;width:90%"> |
||||
<h3 style="-webkit-transition: all .2s cubic-bezier(0, 0, 0, 0.48);-moz-transition: all .2s ease;border:.0625rem solid #fafafa;background:#fafafa repeating-linear-gradient(-45deg,#fff,#fff 1.125rem,transparent 1.125rem,transparent 2.25rem);margin:15px 0px;padding:20px;border-radius:5px;font-size:14px;color:#333;"> |
||||
# 随机一言API请求方式 # |
||||
<ul> |
||||
<li>Method: GET/POST</li> |
||||
</ul> |
||||
<hr> |
||||
# 请求地址 #<br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;">https://api.yimian.xyz/words</a><br/> |
||||
# 参数 #<br/> |
||||
<div style="width:100%;background-color: #000;background-image: linear-gradient(90deg, #6694ed 0%,);color:#FFFFFF;border-radius:5px"> |
||||
无参数<br/> |
||||
</div> |
||||
<hr> |
||||
# 返回数据(Json格式) #<br/> |
||||
<li>s //返回的随机一言字符串</li> |
||||
<hr> |
||||
# 备注 #<br/> |
||||
-=-=-=-<br/> |
||||
<hr> |
||||
# 示例 #<br/> |
||||
<a style="color:#fd4b5c;text-decoration:none;" target="_blank">https://api.yimian.xyz/words</a> |
||||
</h3> |
||||
</div> |
||||
</div> |
||||
<?php |
||||
yimian__simpleFooter(); |
Loading…
Reference in new issue