@bottobot/td-mcp
Version:
TouchDesigner Documentation MCP Server v2.3 - Pure MCP server for VS Code/Codium with comprehensive operator documentation for 629 operators + 7 tutorials across all categories (TOP, CHOP, SOP, DAT, MAT, COMP, POP). Features experimental POP operators wit
806 lines (685 loc) • 16.3 kB
CSS
/* TouchDesigner Documentation Wiki - Main Stylesheet */
/* CSS Variables for TouchDesigner Theme */
:root {
/* TouchDesigner Brand Colors */
--td-orange: #ff6600;
--td-orange-light: #ff8533;
--td-orange-dark: #cc5200;
--td-blue: #0066cc;
--td-blue-light: #3399ff;
--td-blue-dark: #004499;
/* Grayscale */
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-400: #9ca3af;
--gray-500: #6b7280;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-800: #1f2937;
--gray-900: #111827;
/* Semantic Colors */
--primary: var(--td-orange);
--primary-light: var(--td-orange-light);
--primary-dark: var(--td-orange-dark);
--secondary: var(--td-blue);
--success: #10b981;
--warning: #f59e0b;
--error: #ef4444;
/* Typography */
--font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
--font-mono: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', 'Source Code Pro', monospace;
/* Layout */
--container-max-width: 1200px;
--header-height: 70px;
--sidebar-width: 280px;
/* Spacing */
--space-xs: 0.25rem;
--space-sm: 0.5rem;
--space-md: 1rem;
--space-lg: 1.5rem;
--space-xl: 2rem;
--space-2xl: 3rem;
/* Border radius */
--radius-sm: 0.125rem;
--radius-md: 0.375rem;
--radius-lg: 0.5rem;
--radius-xl: 0.75rem;
/* Shadows */
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
/* Transitions */
--transition: all 0.2s ease-in-out;
}
/* Reset and Base Styles */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family: var(--font-sans);
font-size: 16px;
line-height: 1.6;
color: var(--gray-800);
background-color: var(--gray-50);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
font-weight: 600;
line-height: 1.25;
margin-bottom: var(--space-md);
color: var(--gray-900);
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }
p {
margin-bottom: var(--space-md);
}
a {
color: var(--primary);
text-decoration: none;
transition: var(--transition);
}
a:hover {
color: var(--primary-dark);
text-decoration: underline;
}
/* Container */
.container {
max-width: var(--container-max-width);
margin: 0 auto;
padding: 0 var(--space-md);
}
/* Header Styles */
.main-header {
background: white;
box-shadow: var(--shadow-sm);
border-bottom: 1px solid var(--gray-200);
position: sticky;
top: 0;
z-index: 100;
}
.main-nav {
height: var(--header-height);
}
.nav-container {
display: flex;
align-items: center;
height: 100%;
gap: var(--space-lg);
}
.nav-brand {
display: flex;
align-items: center;
flex-shrink: 0;
}
.brand-link {
display: flex;
align-items: center;
gap: var(--space-sm);
font-weight: 600;
font-size: 1.125rem;
color: var(--gray-900);
text-decoration: none;
}
.brand-link:hover {
color: var(--primary);
text-decoration: none;
}
.brand-logo {
height: 32px;
width: 32px;
}
.brand-text {
color: var(--gray-700);
}
/* Navigation Search */
.nav-search {
flex: 1;
max-width: 500px;
}
.search-form {
position: relative;
}
.search-input-container {
display: flex;
position: relative;
}
.search-input {
flex: 1;
padding: var(--space-sm) var(--space-md);
padding-right: 3rem;
border: 1px solid var(--gray-300);
border-radius: var(--radius-lg);
font-size: 0.875rem;
background: var(--gray-50);
transition: var(--transition);
}
.search-input:focus {
outline: none;
border-color: var(--primary);
background: white;
box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}
.search-button {
position: absolute;
right: var(--space-xs);
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
padding: var(--space-sm);
cursor: pointer;
color: var(--gray-400);
transition: var(--transition);
}
.search-button:hover {
color: var(--primary);
}
.search-icon {
width: 18px;
height: 18px;
fill: currentColor;
}
/* Navigation Links */
.nav-links {
display: flex;
align-items: center;
gap: var(--space-lg);
flex-shrink: 0;
}
.nav-link {
padding: var(--space-sm) var(--space-md);
border-radius: var(--radius-md);
font-weight: 500;
color: var(--gray-600);
transition: var(--transition);
text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
color: var(--primary);
background-color: var(--gray-100);
text-decoration: none;
}
/* Dropdown Navigation */
.nav-dropdown {
position: relative;
}
.dropdown-trigger {
background: none;
border: none;
cursor: pointer;
}
.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
background: white;
border: 1px solid var(--gray-200);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-lg);
min-width: 200px;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: var(--transition);
z-index: 50;
}
.nav-dropdown:hover .dropdown-menu {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.dropdown-item {
display: block;
padding: var(--space-sm) var(--space-md);
color: var(--gray-700);
text-decoration: none;
transition: var(--transition);
}
.dropdown-item:hover {
background-color: var(--gray-100);
color: var(--primary);
text-decoration: none;
}
/* Mobile Menu */
.mobile-menu-toggle {
display: none;
flex-direction: column;
gap: 4px;
background: none;
border: none;
padding: var(--space-sm);
cursor: pointer;
}
.hamburger-line {
width: 24px;
height: 2px;
background-color: var(--gray-600);
transition: var(--transition);
}
.mobile-nav {
display: none;
background: white;
border-top: 1px solid var(--gray-200);
padding: var(--space-md);
}
.mobile-nav-link {
display: block;
padding: var(--space-md);
color: var(--gray-700);
text-decoration: none;
border-bottom: 1px solid var(--gray-100);
}
.mobile-nav-link:hover {
color: var(--primary);
background-color: var(--gray-50);
text-decoration: none;
}
.mobile-nav-section {
margin: var(--space-md) 0;
}
.mobile-nav-title {
font-weight: 600;
color: var(--gray-900);
padding: var(--space-sm) var(--space-md);
background-color: var(--gray-100);
}
/* Main Content */
.main-content {
min-height: calc(100vh - var(--header-height) - 200px);
padding: var(--space-xl) 0;
}
/* Hero Section */
.hero-section {
background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
color: white;
padding: var(--space-2xl) 0;
margin-bottom: var(--space-2xl);
}
.hero-content {
text-align: center;
max-width: 800px;
margin: 0 auto;
}
.hero-title {
font-size: 3rem;
font-weight: 700;
margin-bottom: var(--space-md);
color: white;
}
.hero-subtitle {
font-size: 1.25rem;
margin-bottom: var(--space-xl);
opacity: 0.9;
}
.hero-search {
margin-bottom: var(--space-xl);
}
.hero-search-form {
max-width: 600px;
margin: 0 auto;
}
.search-container {
display: flex;
gap: var(--space-sm);
}
.hero-search-input {
flex: 1;
padding: var(--space-md) var(--space-lg);
border: none;
border-radius: var(--radius-lg);
font-size: 1rem;
box-shadow: var(--shadow-md);
}
.hero-search-input:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.hero-search-button {
display: flex;
align-items: center;
gap: var(--space-sm);
padding: var(--space-md) var(--space-xl);
background: white;
color: var(--primary);
border: none;
border-radius: var(--radius-lg);
font-weight: 600;
cursor: pointer;
transition: var(--transition);
box-shadow: var(--shadow-md);
}
.hero-search-button:hover {
background: var(--gray-100);
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.hero-stats {
display: flex;
justify-content: center;
gap: var(--space-xl);
flex-wrap: wrap;
}
.stat-item {
text-align: center;
}
.stat-number {
display: block;
font-size: 2rem;
font-weight: 700;
color: white;
}
.stat-label {
font-size: 0.875rem;
opacity: 0.8;
}
/* Section Styles */
.section-header {
text-align: center;
margin-bottom: var(--space-2xl);
}
.section-title {
font-size: 2.25rem;
color: var(--gray-900);
margin-bottom: var(--space-md);
}
.section-subtitle {
font-size: 1.125rem;
color: var(--gray-600);
max-width: 600px;
margin: 0 auto;
}
/* Categories Grid */
.categories-section {
margin-bottom: var(--space-2xl);
}
.categories-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: var(--space-lg);
margin-bottom: var(--space-xl);
}
.category-card {
display: flex;
align-items: center;
gap: var(--space-lg);
padding: var(--space-xl);
background: white;
border-radius: var(--radius-xl);
box-shadow: var(--shadow-md);
text-decoration: none;
color: inherit;
transition: var(--transition);
border: 1px solid var(--gray-200);
}
.category-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-xl);
text-decoration: none;
border-color: var(--primary);
}
.category-icon {
flex-shrink: 0;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, var(--primary), var(--primary-light));
border-radius: var(--radius-lg);
color: white;
}
.category-icon svg {
width: 32px;
height: 32px;
fill: currentColor;
}
.category-content {
flex: 1;
}
.category-name {
font-size: 1.5rem;
font-weight: 600;
color: var(--gray-900);
margin-bottom: var(--space-sm);
}
.category-stats {
margin-bottom: var(--space-sm);
}
.category-count {
font-size: 0.875rem;
color: var(--primary);
font-weight: 600;
}
.category-description {
color: var(--gray-600);
font-size: 0.875rem;
line-height: 1.5;
}
.category-arrow {
flex-shrink: 0;
font-size: 1.5rem;
color: var(--gray-400);
transition: var(--transition);
}
.category-card:hover .category-arrow {
color: var(--primary);
transform: translateX(4px);
}
/* Operators Grid */
.operators-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: var(--space-lg);
}
.operator-card {
background: white;
border-radius: var(--radius-lg);
box-shadow: var(--shadow-md);
padding: var(--space-lg);
text-decoration: none;
color: inherit;
transition: var(--transition);
border: 1px solid var(--gray-200);
}
.operator-card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
text-decoration: none;
border-color: var(--primary);
}
.operator-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: var(--space-md);
}
.operator-category {
background: var(--primary);
color: white;
padding: var(--space-xs) var(--space-sm);
border-radius: var(--radius-sm);
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
}
.operator-name {
font-size: 1.125rem;
font-weight: 600;
color: var(--gray-900);
}
.operator-description {
color: var(--gray-600);
margin-bottom: var(--space-md);
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.operator-meta {
display: flex;
align-items: center;
gap: var(--space-md);
font-size: 0.875rem;
color: var(--gray-500);
}
.meta-item {
display: flex;
align-items: center;
gap: var(--space-xs);
}
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
gap: var(--space-sm);
padding: var(--space-sm) var(--space-lg);
background: var(--primary);
color: white;
border: none;
border-radius: var(--radius-md);
font-weight: 600;
text-decoration: none;
cursor: pointer;
transition: var(--transition);
font-size: 0.875rem;
}
.btn:hover {
background: var(--primary-dark);
color: white;
text-decoration: none;
transform: translateY(-1px);
}
.btn-secondary {
background: var(--gray-600);
}
.btn-secondary:hover {
background: var(--gray-700);
}
.btn-outline {
background: transparent;
color: var(--primary);
border: 1px solid var(--primary);
}
.btn-outline:hover {
background: var(--primary);
color: white;
}
/* Footer */
.main-footer {
background: var(--gray-900);
color: var(--gray-300);
padding: var(--space-2xl) 0 var(--space-lg);
margin-top: var(--space-2xl);
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: var(--space-xl);
margin-bottom: var(--space-xl);
}
.footer-section h3 {
color: white;
margin-bottom: var(--space-md);
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: var(--space-sm);
}
.footer-links a {
color: var(--gray-300);
text-decoration: none;
transition: var(--transition);
}
.footer-links a:hover {
color: var(--primary);
text-decoration: none;
}
.footer-bottom {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: var(--space-lg);
border-top: 1px solid var(--gray-800);
flex-wrap: wrap;
gap: var(--space-md);
}
.footer-copyright {
color: var(--gray-400);
font-size: 0.875rem;
}
/* Responsive Design */
@media (max-width: 768px) {
.nav-search,
.nav-links {
display: none;
}
.mobile-menu-toggle {
display: flex;
}
.hero-title {
font-size: 2rem;
}
.hero-stats {
gap: var(--space-md);
}
.categories-grid {
grid-template-columns: 1fr;
}
.category-card {
flex-direction: column;
text-align: center;
}
.operators-grid {
grid-template-columns: 1fr;
}
.footer-bottom {
flex-direction: column;
text-align: center;
}
}
@media (max-width: 480px) {
.container {
padding: 0 var(--space-sm);
}
.hero-section {
padding: var(--space-xl) 0;
}
.search-container {
flex-direction: column;
}
.hero-search-button {
justify-content: center;
}
}
/* Print Styles */
@media print {
.main-header,
.main-footer,
.hero-section {
display: none;
}
.main-content {
padding: 0;
}
* {
box-shadow: none ;
}
}