Files
caddy-proxy-manager/site/styles.css
2026-01-15 01:16:25 +01:00

335 lines
5.5 KiB
CSS

:root {
color-scheme: dark;
--bg: #09090b;
--bg-subtle: #18181b;
--fg: #fafafa;
--fg-muted: #a1a1aa;
--border: #27272a;
--primary: #4f46e5;
--primary-hover: #4338ca;
--primary-foreground: #ffffff;
--radius: 0.75rem;
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
--max-width: 1200px;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg);
color: var(--fg);
font-family: var(--font-sans);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
display: flex;
flex-direction: column;
}
/* Aurora Backdrop */
.aurora-bg {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
background:
radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.15), transparent 25%),
radial-gradient(circle at 85% 30%, rgba(147, 51, 234, 0.15), transparent 25%);
pointer-events: none;
}
/* Layout */
.container {
width: 100%;
max-width: var(--max-width);
margin: 0 auto;
padding: 0 1.5rem;
}
header {
border-bottom: 1px solid var(--border);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
position: sticky;
top: 0;
z-index: 50;
background-color: rgba(9, 9, 11, 0.8);
}
.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
height: 4rem;
}
.logo {
font-weight: 700;
font-size: 1.125rem;
color: var(--fg);
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
}
.nav-links {
display: flex;
gap: 2rem;
}
.nav-links a {
color: var(--fg-muted);
text-decoration: none;
font-size: 0.875rem;
font-weight: 500;
transition: color 0.2s;
}
.nav-links a:hover {
color: var(--fg);
}
/* Hero Section */
.hero {
padding: 8rem 0 6rem;
text-align: center;
}
.hero h1 {
font-size: 3.5rem;
font-weight: 800;
letter-spacing: -0.025em;
line-height: 1.1;
margin-bottom: 1.5rem;
background: linear-gradient(to right, #fff, #a1a1aa);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero p {
font-size: 1.25rem;
color: var(--fg-muted);
max-width: 600px;
margin: 0 auto 2.5rem;
}
.btn-group {
display: flex;
justify-content: center;
gap: 1rem;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1.5rem;
border-radius: var(--radius);
font-weight: 600;
font-size: 0.95rem;
text-decoration: none;
transition: all 0.2s;
}
.btn-primary {
background-color: var(--fg);
color: var(--bg);
}
.btn-primary:hover {
opacity: 0.9;
}
.btn-secondary {
background-color: var(--bg-subtle);
color: var(--fg);
border: 1px solid var(--border);
}
.btn-secondary:hover {
background-color: var(--border);
}
/* Showcase - Screenshots */
.showcase {
margin: 4rem 0;
perspective: 1000px;
}
.screenshot-main {
border-radius: var(--radius);
border: 1px solid var(--border);
box-shadow:
0 0 0 1px rgba(255, 255, 255, 0.05),
0 20px 50px -10px rgba(0, 0, 0, 0.5);
overflow: hidden;
background: var(--bg-subtle);
}
.screenshot-main img {
display: block;
width: 100%;
height: auto;
}
/* Features Grid */
.features {
padding: 6rem 0;
border-top: 1px solid var(--border);
}
.section-header {
text-align: center;
margin-bottom: 4rem;
}
.section-header h2 {
font-size: 2.25rem;
font-weight: 700;
margin-bottom: 1rem;
}
.section-header p {
color: var(--fg-muted);
font-size: 1.125rem;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.card {
background: var(--bg-subtle);
border: 1px solid var(--border);
padding: 2rem;
border-radius: var(--radius);
transition: transform 0.2s, border-color 0.2s;
}
.card:hover {
border-color: var(--fg-muted);
}
.card h3 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 0.75rem;
color: var(--fg);
}
.card p {
color: var(--fg-muted);
font-size: 0.95rem;
}
/* Architecture / Tech Stack */
.tech-stack {
padding: 6rem 0;
border-top: 1px solid var(--border);
}
.tech-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 4rem;
align-items: center;
}
.tech-list {
list-style: none;
}
.tech-list li {
margin-bottom: 2rem;
}
.tech-list h4 {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.tech-list p {
color: var(--fg-muted);
}
.secondary-screenshots {
display: grid;
gap: 1.5rem;
}
.secondary-screenshots img {
border-radius: var(--radius);
border: 1px solid var(--border);
width: 100%;
}
/* Deployment */
.deployment {
padding: 6rem 0;
border-top: 1px solid var(--border);
background: linear-gradient(to bottom, transparent, rgba(79, 70, 229, 0.05));
}
.code-block {
background: #1e1e24;
padding: 1.5rem;
border-radius: var(--radius);
overflow-x: auto;
font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
font-size: 0.9rem;
color: #e2e8f0;
border: 1px solid var(--border);
margin-top: 2rem;
text-align: left;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
.command {
display: block;
margin-bottom: 0.5rem;
}
.comment {
color: #6b7280;
}
/* Footer */
footer {
border-top: 1px solid var(--border);
padding: 3rem 0;
text-align: center;
color: var(--fg-muted);
font-size: 0.875rem;
}
/* Mobile */
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.tech-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
.nav-links {
display: none;
}
}