/* ClawBody - HuggingFace Space Styles */ :root { --primary: #e74c3c; --secondary: #9b59b6; --bg: #1a1a2e; --bg-light: #16213e; --text: #eee; --text-muted: #aaa; --accent: #f39c12; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; background: linear-gradient(135deg, var(--bg) 0%, var(--bg-light) 100%); color: var(--text); min-height: 100vh; line-height: 1.6; } .container { max-width: 900px; margin: 0 auto; padding: 2rem; } /* Header */ header { text-align: center; margin-bottom: 3rem; } .logo { font-size: 4rem; margin-bottom: 1rem; } h1 { font-size: 3rem; background: linear-gradient(90deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; } .tagline { font-size: 1.25rem; color: var(--text-muted); } /* Sections */ section { margin-bottom: 3rem; } h2, h3 { color: var(--text); margin-bottom: 1rem; } h3 { font-size: 1.5rem; border-bottom: 2px solid var(--primary); padding-bottom: 0.5rem; display: inline-block; } /* Hero */ .hero { background: var(--bg-light); border-radius: 12px; padding: 2rem; border-left: 4px solid var(--primary); } .hero h2 { color: var(--accent); } .hero a { color: var(--primary); text-decoration: none; } .hero a:hover { text-decoration: underline; } /* Features */ .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 1.5rem; } .feature { background: var(--bg-light); border-radius: 8px; padding: 1.5rem; text-align: center; transition: transform 0.2s; } .feature:hover { transform: translateY(-4px); } .feature-icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; } .feature h4 { color: var(--accent); margin-bottom: 0.5rem; } .feature p { color: var(--text-muted); font-size: 0.9rem; } /* Architecture */ .arch-diagram { background: var(--bg-light); border-radius: 12px; padding: 2rem; margin-top: 1rem; } .arch-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.5rem; } .arch-box { background: var(--bg); border: 2px solid var(--primary); border-radius: 8px; padding: 1rem; text-align: center; min-width: 120px; } .arch-box.openclaw { border-color: var(--secondary); } .arch-box small { display: block; color: var(--text-muted); font-size: 0.75rem; } .arch-arrow { color: var(--accent); font-size: 1.5rem; font-weight: bold; } .arch-return { text-align: center; margin-top: 1rem; color: var(--text-muted); } /* Installation */ .code-block { background: #0d1117; border-radius: 8px; padding: 1.5rem; overflow-x: auto; margin-top: 1rem; } .code-block pre { margin: 0; } .code-block code { color: #c9d1d9; font-family: 'Fira Code', 'Monaco', 'Consolas', monospace; font-size: 0.9rem; line-height: 1.5; } /* Requirements */ .requirements ul { list-style: none; margin-top: 1rem; } .requirements li { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); } .requirements li:last-child { border-bottom: none; } .requirements strong { color: var(--accent); } /* Links */ .link-grid { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; } .link-card { background: var(--bg-light); border-radius: 8px; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text); transition: background 0.2s; } .link-card:hover { background: var(--bg); } .link-card span:first-child { font-size: 1.5rem; } /* Footer */ footer { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: var(--text-muted); } footer a { color: var(--primary); text-decoration: none; } footer a:hover { text-decoration: underline; } /* Responsive */ @media (max-width: 600px) { .container { padding: 1rem; } h1 { font-size: 2rem; } .logo { font-size: 3rem; } .arch-flow { flex-direction: column; } .arch-arrow { transform: rotate(90deg); } }