- Included a new JavaScript file for Mermaid configuration to ensure consistent diagram sizing across documentation. - Enhanced architecture documentation to reflect the updated pipeline engine structure, including VAD, ASR, TD, LLM, and TTS components. - Updated various sections to clarify the integration of external services and tools within the architecture. - Improved styling for Mermaid diagrams to enhance visual consistency and usability.
161 lines
3.0 KiB
CSS
161 lines
3.0 KiB
CSS
/* Realtime Agent Studio - Custom Styles */
|
|
|
|
:root {
|
|
--md-primary-fg-color: #4f46e5;
|
|
--md-primary-fg-color--light: #6366f1;
|
|
--md-primary-fg-color--dark: #4338ca;
|
|
--md-accent-fg-color: #6366f1;
|
|
}
|
|
|
|
/* Hero Section - Center aligned content */
|
|
.md-typeset p[align="center"] {
|
|
text-align: center;
|
|
}
|
|
|
|
.md-typeset p[align="center"] img {
|
|
display: inline-block;
|
|
margin: 0 4px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.md-typeset p[align="center"] a {
|
|
margin: 0 8px;
|
|
}
|
|
|
|
[data-md-color-scheme="slate"] {
|
|
--md-primary-fg-color: #818cf8;
|
|
--md-primary-fg-color--light: #a5b4fc;
|
|
--md-primary-fg-color--dark: #6366f1;
|
|
--md-accent-fg-color: #818cf8;
|
|
}
|
|
|
|
/* Hero Section Styling */
|
|
.md-content h1 {
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
/* Badge Styling */
|
|
.md-content img[src*="badge"] {
|
|
margin: 0 4px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* Grid Cards Enhancement */
|
|
.md-typeset .grid.cards > ul > li {
|
|
border: 1px solid var(--md-default-fg-color--lightest);
|
|
border-radius: 8px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.md-typeset .grid.cards > ul > li:hover {
|
|
border-color: var(--md-primary-fg-color);
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Code Block Enhancement */
|
|
.md-typeset pre > code {
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.md-typeset .highlight {
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Table Enhancement */
|
|
.md-typeset table:not([class]) {
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--md-default-fg-color--lightest);
|
|
}
|
|
|
|
.md-typeset table:not([class]) th {
|
|
background-color: var(--md-default-fg-color--lightest);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Admonition Enhancement */
|
|
.md-typeset .admonition,
|
|
.md-typeset details {
|
|
border-radius: 8px;
|
|
border: none;
|
|
}
|
|
|
|
/* Mermaid Diagram Styling - consistent element size across diagrams */
|
|
.mermaid {
|
|
margin: 1.5rem 0;
|
|
overflow-x: auto;
|
|
}
|
|
.mermaid svg {
|
|
min-width: min-content;
|
|
}
|
|
|
|
/* Navigation Enhancement */
|
|
.md-nav__link {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.md-nav__item--active > .md-nav__link {
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Footer Styling */
|
|
.md-footer {
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
/* Center align for hero badges */
|
|
.md-content > .md-typeset > div[align="center"] img {
|
|
margin: 0.25rem;
|
|
}
|
|
|
|
/* Task list styling */
|
|
.md-typeset .task-list-item input[type="checkbox"] {
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
/* Improve readability */
|
|
.md-typeset {
|
|
font-size: 0.85rem;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.md-typeset h2 {
|
|
margin-top: 2.5rem;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid var(--md-default-fg-color--lightest);
|
|
}
|
|
|
|
.md-typeset h3 {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
/* Responsive improvements */
|
|
@media screen and (max-width: 76.1875em) {
|
|
.md-typeset .grid.cards > ul > li {
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
/* Animation for interactive elements */
|
|
.md-typeset a:not(.md-button) {
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.md-typeset a:not(.md-button):hover {
|
|
color: var(--md-accent-fg-color);
|
|
}
|
|
|
|
/* Version selector styling */
|
|
.md-version {
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
/* Search highlight */
|
|
.md-search-result mark {
|
|
background-color: var(--md-accent-fg-color--transparent);
|
|
color: inherit;
|
|
}
|