/* MCP Website Stylesheet */ :root { --primary-color: #2563eb; --secondary-color: #4338ca; --accent-color: #3b82f6; --text-color: #1e293b; --light-bg: #f8fafc; --dark-bg: #0f172a; --header-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--body-font); line-height: 1.6; color: var(--text-color); background-color: var(--light-bg); } .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Header styles */ header { background-color: white; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); position: sticky; top: 0; z-index: 100; } .header-container { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; } .logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); text-decoration: none; } .logo span { color: var(--accent-color); } nav ul { display: flex; list-style: none; gap: 2rem; } nav a { color: var(--text-color); text-decoration: none; font-weight: 500; transition: color 0.3s ease; } nav a:hover { color: var(--primary-color); } .nav-active { color: var(--primary-color); font-weight: 600; } /* Hero section */ .hero { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: white; padding: 4rem 0; text-align: center; } .hero h1 { font-size: 2.5rem; margin-bottom: 1rem; font-family: var(--header-font); } .hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 2rem auto; } .cta-button { display: inline-block; background-color: white; color: var(--primary-color); padding: 0.8rem 1.5rem; border-radius: 4px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; } .cta-button:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } /* Main content */ main { padding: 3rem 0; } section { margin-bottom: 3rem; } h2 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--text-color); font-family: var(--header-font); } h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-color); font-family: var(--header-font); } p { margin-bottom: 1.5rem; } /* Card styles */ .card-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; margin-top: 2rem; } .card { background-color: white; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); padding: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; } .card:hover { transform: translateY(-5px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } .card h3 { font-size: 1.25rem; margin-bottom: 1rem; } .card-icon { font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; } /* Two-column layout */ .two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; } /* Code blocks */ pre { background-color: var(--dark-bg); color: white; padding: 1.5rem; border-radius: 8px; overflow-x: auto; margin-bottom: 2rem; } code { font-family: 'Fira Code', 'Courier New', monospace; } /* Footer */ footer { background-color: var(--dark-bg); color: white; padding: 2rem 0; } .footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; } footer h4 { font-size: 1.2rem; margin-bottom: 1rem; } footer ul { list-style: none; } footer a { color: #cbd5e1; text-decoration: none; margin-bottom: 0.5rem; display: inline-block; transition: color 0.3s ease; } footer a:hover { color: white; } .copyright { margin-top: 2rem; text-align: center; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.1); } /* Responsive adjustments */ @media screen and (max-width: 768px) { nav ul { gap: 1rem; } .two-column { grid-template-columns: 1fr; } .hero h1 { font-size: 2rem; } } @media screen and (max-width: 480px) { .header-container { flex-direction: column; gap: 1rem; } nav ul { flex-wrap: wrap; justify-content: center; } }