Deploy: Complete TekDek documentation website with all content pages, CSS, and infrastructure
This commit is contained in:
54
publish/web1/public/css/components.css
Normal file
54
publish/web1/public/css/components.css
Normal file
@@ -0,0 +1,54 @@
|
||||
/* TekDek Components — Icarus: expand these */
|
||||
|
||||
/* Header */
|
||||
.site-header { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 1rem 0; position: sticky; top: 0; z-index: 100; }
|
||||
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
|
||||
.site-logo { display: flex; flex-direction: column; text-decoration: none; }
|
||||
.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--color-primary); }
|
||||
.logo-tagline { font-size: 0.75rem; color: var(--color-text-muted); }
|
||||
|
||||
/* Navigation */
|
||||
.main-nav ul { display: flex; list-style: none; gap: 0.25rem; margin: 0; padding: 0; }
|
||||
.main-nav a { display: flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.75rem; border-radius: var(--radius); color: var(--color-text-muted); transition: all 0.2s; }
|
||||
.main-nav a:hover, .main-nav .active a { color: #fff; background: rgba(0,212,255,0.1); }
|
||||
.nav-icon { font-size: 1.1rem; }
|
||||
|
||||
/* Mobile menu toggle */
|
||||
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
|
||||
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 24px; height: 2px; background: var(--color-text); transition: all 0.3s; position: relative; }
|
||||
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
|
||||
.hamburger::before { top: -7px; }
|
||||
.hamburger::after { top: 7px; }
|
||||
|
||||
/* Main content */
|
||||
.site-main { flex: 1; padding: 2rem 0; }
|
||||
.page-content { max-width: 800px; }
|
||||
|
||||
/* Hero */
|
||||
.hero { margin-bottom: 3rem; padding: 2rem 0; }
|
||||
.hero h1 { font-size: 2.75rem; margin-bottom: 0.5rem; }
|
||||
.lead { font-size: 1.2rem; color: var(--color-text-muted); }
|
||||
|
||||
/* Cards */
|
||||
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
|
||||
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; transition: all 0.2s; text-decoration: none; color: var(--color-text); }
|
||||
.card:hover { border-color: var(--color-primary); transform: translateY(-2px); color: #fff; }
|
||||
.card-icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
|
||||
.card h3 { margin-bottom: 0.25rem; }
|
||||
.card-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
|
||||
.card-list .card { cursor: default; }
|
||||
.card-list .card:hover { transform: none; }
|
||||
|
||||
/* Badges */
|
||||
.badge { display: inline-block; padding: 0.2em 0.6em; border-radius: 999px; font-size: 0.8rem; background: var(--color-border); color: var(--color-text-muted); }
|
||||
.badge-active { background: rgba(0,212,255,0.15); color: var(--color-primary); }
|
||||
|
||||
/* Buttons */
|
||||
.btn { display: inline-block; padding: 0.6rem 1.25rem; border-radius: var(--radius); background: var(--color-primary); color: var(--color-bg); font-weight: 600; transition: all 0.2s; }
|
||||
.btn:hover { background: #fff; color: var(--color-bg); }
|
||||
|
||||
/* Footer */
|
||||
.site-footer { padding: 2rem 0; border-top: 1px solid var(--color-border); text-align: center; color: var(--color-text-muted); font-size: 0.85rem; }
|
||||
|
||||
/* Decisions table */
|
||||
.decisions-table th { background: var(--color-surface); }
|
||||
Reference in New Issue
Block a user