/* === DasPoschi Public CSS === */ :root { --bg: #0a0a14; --bg-card: #12121f; --bg-hover: #1a1a2e; --text: #e0e0e0; --text-muted: #8892a4; --accent: #00d4ff; --accent-hover: #00b8d9; --border: #1e1e36; --radius: 8px; --max-width: 1100px; } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; min-height: 100vh; display: flex; flex-direction: column; } a { color: var(--accent); text-decoration: none; transition: color 0.2s; } a:hover { color: var(--accent-hover); } img { max-width: 100%; height: auto; } .container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; } /* === Header === */ .site-header { background: var(--bg-card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; } .header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; gap: 20px; } .site-logo { font-size: 1.5rem; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; } .site-nav { display: flex; gap: 24px; } .site-nav a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; } .site-nav a:hover { color: var(--accent); } .menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; } /* === Main === */ .site-main { flex: 1; padding: 40px 0; } /* === Hero === */ .hero { text-align: center; padding: 40px 0 32px; } .hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; } .hero-subtitle { color: var(--text-muted); font-size: 1.2rem; } /* === Category Bar === */ .category-bar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; } .category-tag { display: inline-block; padding: 6px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; color: var(--text-muted); font-size: 0.85rem; font-weight: 500; transition: all 0.2s; } .category-tag:hover { border-color: var(--accent); color: var(--accent); } /* === Article Grid === */ .article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-bottom: 32px; } /* === Article Card === */ .article-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s; } .article-card:hover { transform: translateY(-2px); border-color: rgba(0,212,255,0.3); } .card-image img { width: 100%; height: 200px; object-fit: cover; display: block; } .card-body { padding: 20px; } .card-category { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; } .card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; } .card-title a { color: var(--text); } .card-title a:hover { color: var(--accent); } .card-excerpt { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; line-height: 1.6; } .card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted); } .read-more { font-weight: 600; } /* === Single Article === */ .article-single { max-width: 800px; margin: 0 auto; } .article-cover { margin: -20px -20px 32px; border-radius: var(--radius); overflow: hidden; } .article-cover img { width: 100%; max-height: 450px; object-fit: cover; display: block; } .article-header { margin-bottom: 32px; } .article-category { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; } .article-header h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.3; margin-bottom: 12px; } .article-date { color: var(--text-muted); font-size: 0.95rem; } .article-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); } .back-link { color: var(--text-muted); font-weight: 500; } .back-link:hover { color: var(--accent); } /* === Prose (Article Body) === */ .prose { font-size: 1.05rem; line-height: 1.8; } .prose h2 { font-size: 1.6rem; margin: 32px 0 16px; font-weight: 700; } .prose h3 { font-size: 1.3rem; margin: 24px 0 12px; font-weight: 600; } .prose h4 { font-size: 1.1rem; margin: 20px 0 10px; font-weight: 600; } .prose p { margin-bottom: 16px; } .prose ul, .prose ol { margin: 0 0 16px 24px; } .prose li { margin-bottom: 4px; } .prose blockquote { border-left: 3px solid var(--accent); padding: 12px 20px; margin: 20px 0; background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-muted); font-style: italic; } .prose pre { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; overflow-x: auto; margin: 20px 0; font-size: 0.9rem; } .prose code { background: var(--bg-card); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; } .prose pre code { background: none; padding: 0; } .prose img { border-radius: var(--radius); margin: 20px 0; } .prose a { text-decoration: underline; text-underline-offset: 2px; } .prose table { width: 100%; border-collapse: collapse; margin: 20px 0; } .prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; } .prose th { background: var(--bg-card); font-weight: 600; } /* === Static Page === */ .static-page { max-width: 800px; margin: 0 auto; } .static-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 24px; } /* === Page Header === */ .page-header { margin-bottom: 32px; } .page-header h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; } .page-description { color: var(--text-muted); font-size: 1.1rem; } /* === Pagination === */ .pagination { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; } .pagination a { padding: 8px 14px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.9rem; transition: all 0.2s; } .pagination a.active { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 600; } .pagination a:hover { border-color: var(--accent); color: var(--accent); } /* === 404 === */ .error-page { text-align: center; padding: 80px 0; } .error-page h1 { font-size: 6rem; font-weight: 800; color: var(--accent); margin-bottom: 16px; } .error-page p { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 24px; } .btn { display: inline-block; padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-weight: 500; transition: all 0.2s; } .btn:hover { border-color: var(--accent); color: var(--accent); } /* === Footer === */ .site-footer { padding: 24px 0; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 0.85rem; } .empty-state { color: var(--text-muted); text-align: center; padding: 40px 0; } /* === Responsive === */ @media (max-width: 768px) { .menu-toggle { display: block; } .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px 20px; gap: 12px; } .site-nav.open { display: flex; } .hero h1 { font-size: 1.8rem; } .article-grid { grid-template-columns: 1fr; } .article-header h1 { font-size: 1.6rem; } .article-cover { margin: -20px -10px 24px; } }