Youngger9765
feat: Add header navigation with Assistant guide and API docs
c6ff16f
.assistant-guide {
min-height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 2rem 1rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.guide-container {
max-width: 900px;
margin: 0 auto;
background: white;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
overflow: hidden;
}
.guide-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 2rem;
text-align: center;
}
.guide-header h1 {
margin: 0 0 1rem 0;
font-size: 2.5rem;
font-weight: 300;
}
.guide-header p {
margin: 0;
font-size: 1.2rem;
opacity: 0.9;
}
.guide-content {
padding: 2rem;
line-height: 1.6;
color: #333;
}
.guide-section {
margin-bottom: 3rem;
}
.guide-section h2 {
color: #667eea;
font-size: 1.8rem;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid #667eea;
}
.subsection {
margin: 1.5rem 0;
padding: 1rem;
background: #f8f9ff;
border-radius: 8px;
border-left: 4px solid #667eea;
}
.subsection h3 {
color: #764ba2;
font-size: 1.3rem;
margin-bottom: 1rem;
}
.guide-section ol, .guide-section ul {
margin: 1rem 0;
padding-left: 2rem;
}
.guide-section li {
margin-bottom: 0.5rem;
}
.guide-section li li {
margin-bottom: 0.3rem;
}
.code-block {
background: #1e1e1e;
color: #d4d4d4;
padding: 1.5rem;
border-radius: 8px;
margin: 1rem 0;
overflow-x: auto;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
border: 1px solid #333;
}
.code-block pre {
margin: 0;
white-space: pre-wrap;
word-wrap: break-word;
}
.code-block code {
font-size: 0.9rem;
line-height: 1.4;
}
code:not(.code-block code) {
background: #e8f0fe;
color: #1565c0;
padding: 0.2rem 0.4rem;
border-radius: 4px;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.9em;
}
.warning {
color: #d32f2f;
font-weight: bold;
}
.qa-item {
margin-bottom: 1.5rem;
padding: 1rem;
background: #fff3e0;
border-radius: 8px;
border-left: 4px solid #ff9800;
}
.qa-item h4 {
color: #e65100;
margin: 0 0 0.5rem 0;
font-size: 1.1rem;
}
.qa-item p {
margin: 0;
color: #555;
}
a {
color: #667eea;
text-decoration: none;
font-weight: 500;
}
a:hover {
color: #764ba2;
text-decoration: underline;
}
strong {
color: #333;
font-weight: 600;
}
.guide-footer {
background: #f5f5f5;
padding: 1.5rem 2rem;
text-align: center;
border-top: 1px solid #e0e0e0;
color: #666;
}
.guide-footer p {
margin: 0;
}
/* 響應式設計 */
@media (max-width: 768px) {
.assistant-guide {
padding: 1rem 0.5rem;
}
.guide-header h1 {
font-size: 2rem;
}
.guide-header p {
font-size: 1.1rem;
}
.guide-content {
padding: 1.5rem 1rem;
}
.code-block {
padding: 1rem;
font-size: 0.8rem;
}
.guide-section ol, .guide-section ul {
padding-left: 1.5rem;
}
}