Download frontend/src/index.css from Jessedbrown/Docs-Extractor: direct link, hf CLI and curl.
- Browser
- Download file 7.86 kB
-
https://huggingface.co/Jessedbrown/Docs-Extractor/resolve/main/frontend/src/index.css
- Command line
-
hf download hf://Jessedbrown/Docs-Extractor/frontend/src/index.css
-
curl -L -o index.css https://huggingface.co/Jessedbrown/Docs-Extractor/resolve/main/frontend/src/index.css
7.86 kB
| :root { | |
| --primary: #6366f1; | |
| --primary-dark: #4f46e5; | |
| --success: #10b981; | |
| --error: #ef4444; | |
| --warning: #f59e0b; | |
| --bg: #0f172a; | |
| --bg-card: #1e293b; | |
| --bg-hover: #334155; | |
| --text: #f1f5f9; | |
| --text-muted: #94a3b8; | |
| --border: #334155; | |
| --radius: 12px; | |
| --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3); | |
| --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4); | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | |
| 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', | |
| sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| -moz-osx-font-smoothing: grayscale; | |
| background: var(--bg); | |
| color: var(--text); | |
| line-height: 1.6; | |
| } | |
| code { | |
| font-family: 'Courier New', Courier, monospace; | |
| } | |
| .container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| } | |
| .header { | |
| background: var(--bg-card); | |
| border-bottom: 1px solid var(--border); | |
| padding: 2rem 0; | |
| margin-bottom: 2rem; | |
| } | |
| .header h1 { | |
| font-size: 2.5rem; | |
| font-weight: 700; | |
| margin-bottom: 0.5rem; | |
| background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .subtitle { | |
| color: var(--text-muted); | |
| font-size: 1.1rem; | |
| } | |
| .main-content { | |
| padding-bottom: 4rem; | |
| } | |
| .grid { | |
| display: grid; | |
| grid-template-columns: 450px 1fr; | |
| gap: 2rem; | |
| align-items: start; | |
| } | |
| @media (max-width: 1024px) { | |
| .grid { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| .card { | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| padding: 1.5rem; | |
| box-shadow: var(--shadow); | |
| margin-bottom: 1.5rem; | |
| } | |
| .card h2 { | |
| font-size: 1.5rem; | |
| margin-bottom: 1.5rem; | |
| color: var(--text); | |
| } | |
| .card h3 { | |
| font-size: 1.2rem; | |
| margin-bottom: 1rem; | |
| color: var(--text); | |
| } | |
| .form-group { | |
| margin-bottom: 1.5rem; | |
| } | |
| .form-group label { | |
| display: block; | |
| margin-bottom: 0.5rem; | |
| font-weight: 500; | |
| color: var(--text); | |
| } | |
| .required { | |
| color: var(--error); | |
| margin-left: 0.25rem; | |
| } | |
| .form-group input, | |
| .form-group textarea { | |
| width: 100%; | |
| padding: 0.75rem; | |
| background: var(--bg); | |
| border: 1px solid var(--border); | |
| border-radius: 8px; | |
| color: var(--text); | |
| font-size: 1rem; | |
| transition: all 0.2s; | |
| } | |
| .form-group input:focus, | |
| .form-group textarea:focus { | |
| outline: none; | |
| border-color: var(--primary); | |
| box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); | |
| } | |
| .form-group input:disabled, | |
| .form-group textarea:disabled { | |
| opacity: 0.6; | |
| cursor: not-allowed; | |
| } | |
| .form-group small { | |
| display: block; | |
| margin-top: 0.5rem; | |
| color: var(--text-muted); | |
| font-size: 0.875rem; | |
| } | |
| .example-types { | |
| margin-bottom: 1.5rem; | |
| padding: 1rem; | |
| background: var(--bg); | |
| border-radius: 8px; | |
| } | |
| .example-types strong { | |
| display: block; | |
| margin-bottom: 0.75rem; | |
| color: var(--text-muted); | |
| font-size: 0.875rem; | |
| } | |
| .example-btn { | |
| display: block; | |
| width: 100%; | |
| text-align: left; | |
| padding: 0.5rem 0.75rem; | |
| margin-bottom: 0.5rem; | |
| background: transparent; | |
| border: 1px solid var(--border); | |
| border-radius: 6px; | |
| color: var(--text); | |
| font-size: 0.875rem; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .example-btn:hover:not(:disabled) { | |
| background: var(--bg-hover); | |
| border-color: var(--primary); | |
| } | |
| .example-btn:disabled { | |
| opacity: 0.5; | |
| cursor: not-allowed; | |
| } | |
| .btn { | |
| padding: 0.875rem 1.5rem; | |
| border: none; | |
| border-radius: 8px; | |
| font-size: 1rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.5rem; | |
| } | |
| .btn-primary { | |
| background: var(--primary); | |
| color: white; | |
| width: 100%; | |
| } | |
| .btn-primary:hover:not(:disabled) { | |
| background: var(--primary-dark); | |
| transform: translateY(-1px); | |
| box-shadow: var(--shadow-lg); | |
| } | |
| .btn-primary:disabled { | |
| opacity: 0.6; | |
| cursor: not-allowed; | |
| transform: none; | |
| } | |
| .spinner { | |
| display: inline-block; | |
| width: 16px; | |
| height: 16px; | |
| border: 2px solid rgba(255, 255, 255, 0.3); | |
| border-top-color: white; | |
| border-radius: 50%; | |
| animation: spin 0.8s linear infinite; | |
| } | |
| .spinner.large { | |
| width: 48px; | |
| height: 48px; | |
| border-width: 4px; | |
| } | |
| @keyframes spin { | |
| to { transform: rotate(360deg); } | |
| } | |
| .alert { | |
| padding: 1rem; | |
| border-radius: 8px; | |
| margin-top: 1rem; | |
| } | |
| .alert-error { | |
| background: rgba(239, 68, 68, 0.1); | |
| border: 1px solid var(--error); | |
| color: #fca5a5; | |
| } | |
| .docs-list { | |
| list-style: none; | |
| } | |
| .docs-list li { | |
| margin-bottom: 0.5rem; | |
| } | |
| .doc-btn { | |
| width: 100%; | |
| text-align: left; | |
| padding: 0.75rem 1rem; | |
| background: var(--bg); | |
| border: 1px solid var(--border); | |
| border-radius: 8px; | |
| color: var(--text); | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .doc-btn:hover { | |
| background: var(--bg-hover); | |
| border-color: var(--primary); | |
| } | |
| .doc-btn.active { | |
| background: var(--primary); | |
| border-color: var(--primary); | |
| color: white; | |
| } | |
| .output-card { | |
| min-height: 600px; | |
| position: sticky; | |
| top: 2rem; | |
| overflow: hidden; | |
| } | |
| .output-card .markdown-content { | |
| max-width: 100%; | |
| overflow-x: hidden; | |
| } | |
| .loading-state { | |
| text-align: center; | |
| padding: 4rem 2rem; | |
| } | |
| .loading-state p { | |
| margin-top: 1rem; | |
| font-size: 1.1rem; | |
| } | |
| .loading-state small { | |
| display: block; | |
| margin-top: 0.5rem; | |
| color: var(--text-muted); | |
| } | |
| .result-header { | |
| margin-bottom: 1.5rem; | |
| padding-bottom: 1rem; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .badge { | |
| display: inline-flex; | |
| align-items: center; | |
| padding: 0.375rem 0.75rem; | |
| border-radius: 6px; | |
| font-size: 0.875rem; | |
| font-weight: 600; | |
| } | |
| .badge-success { | |
| background: rgba(16, 185, 129, 0.1); | |
| color: var(--success); | |
| } | |
| .badge-info { | |
| background: rgba(99, 102, 241, 0.1); | |
| color: var(--primary); | |
| } | |
| .empty-state { | |
| text-align: center; | |
| padding: 4rem 2rem; | |
| color: var(--text-muted); | |
| } | |
| .empty-state p { | |
| margin-bottom: 0.5rem; | |
| } | |
| .hint { | |
| font-size: 0.875rem; | |
| } | |
| .markdown-content { | |
| color: var(--text); | |
| line-height: 1.8; | |
| word-wrap: break-word; | |
| overflow-wrap: break-word; | |
| max-width: 100%; | |
| } | |
| .markdown-content h1, | |
| .markdown-content h2, | |
| .markdown-content h3, | |
| .markdown-content h4 { | |
| margin-top: 2rem; | |
| margin-bottom: 1rem; | |
| color: var(--text); | |
| word-wrap: break-word; | |
| } | |
| .markdown-content h1 { font-size: 2rem; } | |
| .markdown-content h2 { font-size: 1.5rem; } | |
| .markdown-content h3 { font-size: 1.25rem; } | |
| .markdown-content p { | |
| margin-bottom: 1rem; | |
| word-wrap: break-word; | |
| overflow-wrap: break-word; | |
| } | |
| .markdown-content a { | |
| color: var(--primary); | |
| text-decoration: none; | |
| word-wrap: break-word; | |
| overflow-wrap: break-word; | |
| } | |
| .markdown-content a:hover { | |
| text-decoration: underline; | |
| } | |
| .markdown-content code { | |
| background: var(--bg); | |
| padding: 0.2rem 0.4rem; | |
| border-radius: 4px; | |
| font-size: 0.875em; | |
| word-wrap: break-word; | |
| white-space: pre-wrap; | |
| } | |
| .markdown-content pre { | |
| background: var(--bg); | |
| padding: 1rem; | |
| border-radius: 8px; | |
| overflow-x: auto; | |
| margin: 1rem 0; | |
| max-width: 100%; | |
| } | |
| .markdown-content pre code { | |
| background: none; | |
| padding: 0; | |
| white-space: pre; | |
| word-wrap: normal; | |
| } | |
| .markdown-content ul, | |
| .markdown-content ol { | |
| margin-left: 1.5rem; | |
| margin-bottom: 1rem; | |
| } | |
| .markdown-content blockquote { | |
| border-left: 4px solid var(--primary); | |
| padding-left: 1rem; | |
| margin: 1rem 0; | |
| color: var(--text-muted); | |
| } | |
| .markdown-content table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| margin: 1rem 0; | |
| } | |
| .markdown-content th, | |
| .markdown-content td { | |
| padding: 0.75rem; | |
| border: 1px solid var(--border); | |
| } | |
| .markdown-content th { | |
| background: var(--bg); | |
| font-weight: 600; | |
| } | |
| .footer { | |
| border-top: 1px solid var(--border); | |
| padding: 2rem 0; | |
| margin-top: 4rem; | |
| text-align: center; | |
| color: var(--text-muted); | |
| } | |
| .footer a { | |
| color: var(--primary); | |
| text-decoration: none; | |
| } | |
| .footer a:hover { | |
| text-decoration: underline; | |
| } | |