mirror of
https://github.com/hanzoai/home.git
synced 2026-10-30 18:34:19 +00:00
One family. Font stacks name Zen and fall back to the native faces, tokens name the role rather than a face, and the packages that used to supply a face now point at @hanzo/font. Self-hosted @font-face blocks are removed rather than renamed: rewriting the family in one would leave a src pointing at a file this repo no longer ships. @hanzo/font carries the binaries and declares the faces, so the local copies go with the declaration that used them. Comments naming a face we no longer use are deleted, not reworded.
414 lines
6.7 KiB
CSS
414 lines
6.7 KiB
CSS
:root {
|
|
--background: #000;
|
|
--foreground: #fff;
|
|
--card: #0a0a0a;
|
|
--card-foreground: #fff;
|
|
--primary: #fff;
|
|
--primary-foreground: #000;
|
|
--muted: #111;
|
|
--muted-foreground: #888;
|
|
--border: #222;
|
|
--accent: #fff;
|
|
--radius: 0.5rem;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: Zen, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
line-height: 1.6;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
a {
|
|
color: var(--foreground);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: 2rem;
|
|
}
|
|
|
|
/* Hero */
|
|
.hero {
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
border-bottom: 1px solid var(--border);
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.avatar {
|
|
width: 180px;
|
|
height: 180px;
|
|
border-radius: 50%;
|
|
border: 3px solid var(--border);
|
|
margin-bottom: 1.5rem;
|
|
filter: grayscale(20%);
|
|
transition: all 300ms ease;
|
|
}
|
|
|
|
.avatar:hover {
|
|
filter: grayscale(0%);
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 3rem;
|
|
font-weight: 800;
|
|
margin-bottom: 0.5rem;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.hero .subtitle {
|
|
color: var(--muted-foreground);
|
|
font-size: 1.25rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
/* Social Links */
|
|
.social-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.social-links a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
padding: 0.5rem 1rem;
|
|
background: transparent;
|
|
border: 1px solid var(--border);
|
|
border-radius: 2rem;
|
|
font-size: 0.8rem;
|
|
font-weight: 500;
|
|
transition: all 150ms ease;
|
|
}
|
|
|
|
.social-links a:hover {
|
|
background: var(--foreground);
|
|
color: var(--background);
|
|
border-color: var(--foreground);
|
|
}
|
|
|
|
/* Tabs */
|
|
.tabs {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-bottom: 2rem;
|
|
border-bottom: 1px solid var(--border);
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
|
|
.tab-btn {
|
|
padding: 0.5rem 1rem;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
border-radius: var(--radius);
|
|
color: var(--muted-foreground);
|
|
font-size: 0.85rem;
|
|
cursor: pointer;
|
|
transition: all 150ms;
|
|
}
|
|
|
|
.tab-btn:hover {
|
|
color: var(--foreground);
|
|
}
|
|
|
|
.tab-btn.active {
|
|
background: var(--foreground);
|
|
color: var(--background);
|
|
}
|
|
|
|
/* Sections */
|
|
.stats-section {
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 1.5rem;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.section-header h2 {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.view-all {
|
|
font-size: 0.8rem;
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
/* Stats Grid */
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 1.5rem;
|
|
text-align: center;
|
|
transition: all 150ms ease;
|
|
}
|
|
|
|
.stat-card:hover {
|
|
border-color: var(--foreground);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.stat-card .value {
|
|
font-size: 2.5rem;
|
|
font-weight: 800;
|
|
color: var(--foreground);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.stat-card .label {
|
|
color: var(--muted-foreground);
|
|
font-size: 0.8rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
/* Charts */
|
|
.charts-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.chart-container {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.chart-container h3 {
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
margin-bottom: 1rem;
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
/* Embeds */
|
|
.embed-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.embed-card {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.embed-card iframe {
|
|
width: 100%;
|
|
border: none;
|
|
}
|
|
|
|
/* SQL Console */
|
|
.sql-console {
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.sql-console textarea {
|
|
width: 100%;
|
|
background: var(--background);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--foreground);
|
|
font-family: Zen Mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
|
font-size: 0.85rem;
|
|
padding: 1rem;
|
|
min-height: 120px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.sql-console button {
|
|
margin-top: 0.75rem;
|
|
padding: 0.5rem 1.5rem;
|
|
background: var(--foreground);
|
|
color: var(--background);
|
|
border: none;
|
|
border-radius: var(--radius);
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: opacity 150ms;
|
|
}
|
|
|
|
.sql-console button:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.sql-console button:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.sql-results {
|
|
margin-top: 1rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.sql-results table,
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.sql-results th,
|
|
.sql-results td,
|
|
.data-table th,
|
|
.data-table td {
|
|
padding: 0.5rem;
|
|
border: 1px solid var(--border);
|
|
text-align: left;
|
|
}
|
|
|
|
.sql-results th,
|
|
.data-table th {
|
|
background: var(--muted);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Buttons */
|
|
.social-button,
|
|
.spotify-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1.5rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
font-weight: 600;
|
|
transition: all 150ms;
|
|
}
|
|
|
|
.social-button:hover {
|
|
background: var(--foreground);
|
|
color: var(--background);
|
|
border-color: var(--foreground);
|
|
}
|
|
|
|
.spotify-button {
|
|
background: #1DB954;
|
|
color: #000;
|
|
border: none;
|
|
}
|
|
|
|
.spotify-button:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
text-align: center;
|
|
padding: 3rem 2rem;
|
|
border-top: 1px solid var(--border);
|
|
margin-top: 4rem;
|
|
color: var(--muted-foreground);
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.footer-links {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.footer-links a {
|
|
margin: 0 0.5rem;
|
|
}
|
|
|
|
footer .copyright {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
footer .updated {
|
|
margin-top: 1rem;
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
/* Utilities */
|
|
.loading {
|
|
text-align: center;
|
|
padding: 2rem;
|
|
color: var(--muted-foreground);
|
|
}
|
|
|
|
.error {
|
|
color: #f66;
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
border: 0;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.container {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.hero {
|
|
padding: 2rem 1rem;
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.charts-grid,
|
|
.embed-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.stat-card .value {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.tabs {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|