File size: 3,980 Bytes
8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 8b7b267 a7f9655 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | /**
* Help Page — API guide
*/
.help-layout {
display: grid;
grid-template-columns: 240px 1fr;
gap: var(--space-5);
align-items: start;
}
@media (max-width: 900px) {
.help-layout { grid-template-columns: 1fr; }
.help-toc { position: static !important; }
}
.help-toc {
position: sticky;
top: 1rem;
background: var(--surface-glass, #f8fdfc);
border: 1px solid var(--border-subtle, rgba(20, 184, 166, 0.15));
border-radius: var(--radius-lg, 12px);
padding: var(--space-4, 1rem);
}
.help-toc h3 {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted, #64748b);
margin: 0 0 0.75rem;
}
.help-toc ul {
list-style: none;
padding: 0;
margin: 0;
}
.help-toc li { margin-bottom: 0.35rem; }
.help-toc a {
color: var(--teal, #14b8a6);
text-decoration: none;
font-size: 0.9rem;
}
.help-toc a:hover { text-decoration: underline; }
.help-search-wrap {
margin-bottom: var(--space-4, 1rem);
}
.help-search-wrap input {
width: 100%;
max-width: 420px;
padding: 0.6rem 1rem;
border: 1px solid var(--border-subtle, #e2e8f0);
border-radius: 999px;
font-size: 0.95rem;
}
.live-stats {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
margin: 1rem 0 1.5rem;
}
.stat-pill {
background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(34, 211, 238, 0.08));
border: 1px solid rgba(20, 184, 166, 0.2);
border-radius: 10px;
padding: 0.5rem 1rem;
min-width: 120px;
}
.stat-pill strong {
display: block;
font-size: 1.25rem;
color: var(--text-strong, #0f2926);
}
.stat-pill span {
font-size: 0.75rem;
color: var(--text-muted, #64748b);
}
.help-section {
background: var(--surface-glass, #fff);
border-radius: var(--radius-lg, 12px);
border: 1px solid var(--border-subtle, rgba(20, 184, 166, 0.12));
padding: var(--space-6, 1.5rem);
margin-bottom: var(--space-5, 1.25rem);
}
.help-section h2 {
font-size: 1.35rem;
margin: 0 0 0.75rem;
color: var(--text-strong, #0f2926);
padding-bottom: 0.5rem;
border-bottom: 2px solid rgba(20, 184, 166, 0.25);
}
.help-section h3 {
font-size: 1.05rem;
margin: 1.25rem 0 0.5rem;
color: var(--text-strong, #0f2926);
}
.help-section p {
color: var(--text-muted, #475569);
line-height: 1.6;
margin-bottom: 0.75rem;
}
.help-list, .help-steps {
padding-left: 1.25rem;
margin: 0.5rem 0 1rem;
color: var(--text-weak, #334155);
line-height: 1.65;
}
.help-list li, .help-steps li { margin-bottom: 0.4rem; }
.help-note {
font-size: 0.9rem;
color: var(--text-muted, #64748b);
border-left: 3px solid var(--teal, #14b8a6);
padding: 0.75rem 1rem;
background: rgba(20, 184, 166, 0.06);
border-radius: 0 8px 8px 0;
margin: 1rem 0;
}
.api-table {
width: 100%;
border-collapse: collapse;
font-size: 0.88rem;
margin: 1rem 0;
}
.api-table th, .api-table td {
border: 1px solid var(--border-subtle, #e2e8f0);
padding: 0.5rem 0.75rem;
text-align: left;
}
.api-table th {
background: rgba(20, 184, 166, 0.08);
font-weight: 600;
}
.api-table code { font-size: 0.82rem; }
code {
background: rgba(15, 23, 42, 0.06);
border-radius: 4px;
padding: 0.1rem 0.35rem;
font-size: 0.88em;
}
.code-wrap {
position: relative;
margin: 0.75rem 0 1rem;
}
.code-wrap .copy-btn {
position: absolute;
top: 0.5rem;
right: 0.5rem;
padding: 0.25rem 0.6rem;
font-size: 0.75rem;
border: 1px solid var(--border-subtle, #cbd5e1);
border-radius: 6px;
background: #fff;
cursor: pointer;
}
.code-wrap .copy-btn:hover { background: #f1f5f9; }
.code-block {
background: #0f172a;
color: #e2e8f0;
border-radius: 10px;
padding: 1rem 1.25rem;
overflow-x: auto;
font-family: ui-monospace, 'Cascadia Code', monospace;
font-size: 0.82rem;
line-height: 1.55;
margin: 0;
}
.code-block code {
background: transparent;
color: inherit;
padding: 0;
}
.method-get { color: #22c55e; font-weight: 600; }
.method-post { color: #3b82f6; font-weight: 600; }
|