mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
Integrate Zen LM documentation as 4th brand in the hanzo/docs monorepo. 16 model docs, getting-started, training, and datasets pages. Cloudflare Pages deploy workflow at apps/zen-docs.
713 lines
12 KiB
CSS
713 lines
12 KiB
CSS
:root {
|
|
--primary: #6366f1;
|
|
--primary-dark: #4f46e5;
|
|
--secondary: #8b5cf6;
|
|
--accent: #ec4899;
|
|
--background: #000000;
|
|
--surface: #000000;
|
|
--surface-light: #1a1a1a;
|
|
--text: #f1f5f9;
|
|
--text-secondary: #cbd5e1;
|
|
--text-muted: #94a3b8;
|
|
--border: #333333;
|
|
--success: #10b981;
|
|
--warning: #f59e0b;
|
|
--gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
|
|
}
|
|
|
|
* {
|
|
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;
|
|
background: var(--background);
|
|
color: var(--text);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
a {
|
|
color: var(--primary);
|
|
text-decoration: none;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
a:hover {
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
/* Header & Navigation */
|
|
header {
|
|
background: rgba(0, 0, 0, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--border);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
}
|
|
|
|
.navbar {
|
|
padding: 1.5rem 0;
|
|
}
|
|
|
|
.navbar .container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.logo a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.logo-img {
|
|
width: 50px;
|
|
height: 50px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.logo-text h1 {
|
|
font-size: 2rem;
|
|
background: var(--gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.header-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.logo-links {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.icon-link {
|
|
color: var(--text);
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.icon-link:hover {
|
|
color: var(--primary);
|
|
transform: translateY(-2px);
|
|
opacity: 1;
|
|
}
|
|
|
|
.icon-link img {
|
|
width: 28px;
|
|
height: 28px;
|
|
}
|
|
|
|
.tagline {
|
|
font-size: 0.875rem;
|
|
color: var(--text-muted);
|
|
font-style: italic;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--text);
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
background: var(--surface);
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
padding: 6rem 0;
|
|
text-align: center;
|
|
background: var(--background);
|
|
}
|
|
|
|
.hero-stats {
|
|
display: none;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 3.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1rem;
|
|
background: var(--gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 1.5rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.hero-description {
|
|
font-size: 1.125rem;
|
|
color: var(--text-muted);
|
|
max-width: 700px;
|
|
margin: 0 auto 2.5rem;
|
|
}
|
|
|
|
.hero-cta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.875rem 2rem;
|
|
border-radius: 0.5rem;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease;
|
|
border: 2px solid transparent;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--gradient);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: transparent;
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--primary);
|
|
color: white;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 0.5rem 1.25rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* Sections */
|
|
.models-section,
|
|
.architecture-section,
|
|
.downloads-section {
|
|
padding: 5rem 0;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2.5rem;
|
|
text-align: center;
|
|
margin-bottom: 1rem;
|
|
background: var(--gradient);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.section-subtitle {
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-size: 1.125rem;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
/* Models Grid */
|
|
.models-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.model-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 1rem;
|
|
padding: 2rem;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.model-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 4px;
|
|
background: var(--gradient);
|
|
opacity: 0;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.model-card:hover {
|
|
transform: translateY(-5px);
|
|
border-color: var(--primary);
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.model-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.model-card.complete {
|
|
border-color: var(--success);
|
|
}
|
|
|
|
.model-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.model-header h3 {
|
|
font-size: 1.5rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.badge {
|
|
padding: 0.375rem 0.875rem;
|
|
border-radius: 2rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.badge-complete {
|
|
background: rgba(16, 185, 129, 0.2);
|
|
color: var(--success);
|
|
border: 1px solid var(--success);
|
|
}
|
|
|
|
.badge-pending {
|
|
background: rgba(245, 158, 11, 0.2);
|
|
color: var(--warning);
|
|
border: 1px solid var(--warning);
|
|
}
|
|
|
|
.model-specs {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.spec {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.spec-label {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.spec-value {
|
|
font-size: 1rem;
|
|
color: var(--text);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.model-description {
|
|
color: var(--text-secondary);
|
|
margin-bottom: 1.5rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.model-formats {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.format-tag {
|
|
background: var(--surface-light);
|
|
color: var(--text-secondary);
|
|
padding: 0.375rem 0.75rem;
|
|
border-radius: 0.375rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.model-actions {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
/* Architecture Section */
|
|
.architecture-section {
|
|
background: var(--background);
|
|
}
|
|
|
|
.arch-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.arch-card {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
background: var(--background);
|
|
border: 1px solid var(--border);
|
|
border-radius: 1rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.arch-card:hover {
|
|
transform: translateY(-5px);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.arch-icon {
|
|
font-size: 3rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.arch-card h3 {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.arch-card p {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Downloads Section */
|
|
.download-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.download-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 1rem;
|
|
padding: 2.5rem;
|
|
text-align: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.download-card:hover {
|
|
transform: translateY(-5px);
|
|
border-color: var(--primary);
|
|
}
|
|
|
|
.download-card h3 {
|
|
font-size: 1.75rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.download-card p {
|
|
color: var(--text-muted);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
background: var(--background);
|
|
border-top: 1px solid var(--border);
|
|
padding: 3rem 0 1.5rem;
|
|
margin-top: 5rem;
|
|
}
|
|
|
|
.footer-content {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 2rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.footer-section h4 {
|
|
font-size: 1.125rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--text);
|
|
}
|
|
|
|
.footer-section p {
|
|
color: var(--text-muted);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.footer-section ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.footer-section ul li {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.footer-section ul li a {
|
|
color: var(--text-muted);
|
|
font-size: 0.875rem;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.footer-section ul li a:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.footer-bottom {
|
|
text-align: center;
|
|
padding-top: 2rem;
|
|
border-top: 1px solid var(--border);
|
|
color: var(--text-muted);
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* Featured Section */
|
|
.featured-section {
|
|
padding: 5rem 0;
|
|
background: linear-gradient(180deg, var(--surface-light) 0%, var(--background) 100%);
|
|
}
|
|
|
|
/* Dataset Section */
|
|
.dataset-section {
|
|
padding: 5rem 0;
|
|
background: var(--background);
|
|
}
|
|
|
|
/* Models Table */
|
|
.model-lineup {
|
|
overflow-x: auto;
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.models-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: 1rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.models-table th,
|
|
.models-table td {
|
|
padding: 1rem 1.5rem;
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.models-table th {
|
|
background: var(--surface-light);
|
|
color: var(--text-muted);
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.models-table td {
|
|
color: var(--text);
|
|
}
|
|
|
|
.models-table tbody tr:hover {
|
|
background: var(--surface-light);
|
|
}
|
|
|
|
.models-table tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Status Badges */
|
|
.status-trained {
|
|
display: inline-block;
|
|
padding: 0.375rem 0.875rem;
|
|
border-radius: 2rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
background: rgba(16, 185, 129, 0.2);
|
|
color: var(--success);
|
|
border: 1px solid var(--success);
|
|
}
|
|
|
|
.status-training {
|
|
display: inline-block;
|
|
padding: 0.375rem 0.875rem;
|
|
border-radius: 2rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
background: rgba(99, 102, 241, 0.2);
|
|
color: var(--primary);
|
|
border: 1px solid var(--primary);
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
.status-planned {
|
|
display: inline-block;
|
|
padding: 0.375rem 0.875rem;
|
|
border-radius: 2rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
background: rgba(245, 158, 11, 0.2);
|
|
color: var(--warning);
|
|
border: 1px solid var(--warning);
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.7; }
|
|
}
|
|
|
|
/* Additional Button Styles */
|
|
.btn-outline {
|
|
background: transparent;
|
|
border: 2px solid var(--text-muted);
|
|
color: var(--text);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
border-color: var(--primary);
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Code blocks in cards */
|
|
.download-card pre {
|
|
background: var(--surface-light);
|
|
border: 1px solid var(--border);
|
|
border-radius: 0.5rem;
|
|
padding: 1rem;
|
|
margin-top: 1rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.download-card code {
|
|
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
|
|
font-size: 0.875rem;
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Nav active state */
|
|
.nav-links a.active {
|
|
background: var(--surface-light);
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Coder Features Grid */
|
|
.coder-features {
|
|
margin-top: 3rem;
|
|
}
|
|
|
|
.coder-features .arch-card h3 {
|
|
color: var(--primary);
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.navbar .container {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.header-right {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.nav-links {
|
|
gap: 1rem;
|
|
}
|
|
|
|
.logo-links {
|
|
justify-content: center;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.models-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.container {
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.hero {
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.header-right {
|
|
width: 100%;
|
|
}
|
|
|
|
.nav-links {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo-links {
|
|
justify-content: center;
|
|
}
|
|
}
|