api docs, generator
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #f5f5f5;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: 1px solid #e0e0e0;
|
||||
border-radius: 0.5rem;
|
||||
@@ -407,6 +407,115 @@ html {
|
||||
color: #e06c75 !important;
|
||||
}
|
||||
|
||||
.api-card pre,
|
||||
.api-endpoint pre {
|
||||
background-color: #282c34;
|
||||
color: #abb2bf;
|
||||
border-radius: 0.5rem;
|
||||
border: 1px solid rgba(224, 224, 224, 0.25);
|
||||
padding: 1rem 1.25rem;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.api-card pre code,
|
||||
.api-endpoint pre code {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.api-card .api-kv code,
|
||||
.api-card p code,
|
||||
.api-card td code,
|
||||
.api-card li code,
|
||||
.api-card .alert code {
|
||||
background-color: rgba(13, 110, 253, 0.08);
|
||||
border: 1px solid rgba(13, 110, 253, 0.12);
|
||||
color: #0b5ed7;
|
||||
padding: 0.1rem 0.3rem;
|
||||
border-radius: 0.35rem;
|
||||
}
|
||||
|
||||
.api-trybox {
|
||||
border: 1px dashed rgba(0, 0, 0, 0.18);
|
||||
border-radius: 0.5rem;
|
||||
padding: 1rem;
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.api-trybox pre {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.api-card textarea.form-control {
|
||||
font-family: 'Courier New', Consolas, Monaco, monospace;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.api-download-link {
|
||||
display: inline-block;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.status-dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.status-dot.bg-success {
|
||||
background-color: #198754 !important;
|
||||
}
|
||||
|
||||
.status-dot.bg-danger {
|
||||
background-color: #dc3545 !important;
|
||||
}
|
||||
|
||||
.status-dot.bg-secondary {
|
||||
background-color: #6c757d !important;
|
||||
}
|
||||
|
||||
#variantDescription {
|
||||
animation: fadeIn 0.3s ease-in;
|
||||
}
|
||||
|
||||
.code-wrap {
|
||||
border-radius: .75rem;
|
||||
border: 1px solid rgba(0,0,0,.1);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.code-wrap-header {
|
||||
background: #111827;
|
||||
color: #e5e7eb;
|
||||
padding: .5rem .75rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
font-size: .9rem;
|
||||
}
|
||||
|
||||
.code-wrap-body {
|
||||
margin: 0;
|
||||
background: #282c34;
|
||||
color: #abb2bf;
|
||||
padding: 1rem 1.25rem;
|
||||
overflow-x: auto;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
font-size: .9rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.code-wrap-body code {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
@@ -486,11 +595,3 @@ html {
|
||||
}
|
||||
}
|
||||
|
||||
#variantDescription {
|
||||
animation: fadeIn 0.3s ease-in;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
from { opacity: 0; transform: translateY(-5px); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
Reference in New Issue
Block a user