/* Documentation Site Styles */ /* Smooth scrolling */ html { scroll-behavior: smooth; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: rgba(30, 41, 59, 0.5); border-radius: 5px; } ::-webkit-scrollbar-thumb { background: linear-gradient(45deg, #06b6d4, #8b5cf6); border-radius: 5px; } ::-webkit-scrollbar-thumb:hover { background: linear-gradient(45deg, #0891b2, #7c3aed); } /* Code block styling */ .hljs { background: transparent !important; padding: 1.5rem !important; font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace; font-size: 0.875rem; line-height: 1.6; } /* File tree */ .file-tree-item { padding: 0.5rem 0.75rem; border-radius: 0.5rem; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; } .file-tree-item:hover { background-color: rgba(56, 189, 248, 0.1); } .file-tree-item.active { background-color: rgba(56, 189, 248, 0.2); border-left: 3px solid #06b6d4; } .file-tree-icon { margin-right: 0.75rem; color: #94a3b8; width: 1.25rem; height: 1.25rem; } .file-tree-item.active .file-tree-icon { color: #06b6d4; } /* Copy button feedback */ .copy-success { background-color: #10b981 !important; transition: background-color 0.3s ease; } /* Responsive adjustments */ @media (max-width: 768px) { .hljs { padding: 1rem !important; font-size: 0.75rem; } } /* Selection style */ ::selection { background-color: rgba(6, 182, 212, 0.3); } /* Focus outline */ *:focus { outline: 2px solid #06b6d4; outline-offset: 2px; }