Deploy: Complete TekDek documentation website with all content pages, CSS, and infrastructure
This commit is contained in:
59
publish/web1/public/css/base.css
Normal file
59
publish/web1/public/css/base.css
Normal file
@@ -0,0 +1,59 @@
|
||||
/* TekDek Base Styles — Icarus: customize these */
|
||||
|
||||
:root {
|
||||
--color-bg: #0f0f0f;
|
||||
--color-surface: #1a1a2e;
|
||||
--color-primary: #00d4ff;
|
||||
--color-secondary: #7b2ff7;
|
||||
--color-text: #e0e0e0;
|
||||
--color-text-muted: #888;
|
||||
--color-border: #2a2a3e;
|
||||
--color-accent: #ff6b6b;
|
||||
--font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
--font-mono: 'Fira Code', 'Cascadia Code', monospace;
|
||||
--max-width: 1100px;
|
||||
--radius: 8px;
|
||||
}
|
||||
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
html { font-size: 16px; scroll-behavior: smooth; }
|
||||
|
||||
body {
|
||||
font-family: var(--font-body);
|
||||
background: var(--color-bg);
|
||||
color: var(--color-text);
|
||||
line-height: 1.7;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; width: 100%; }
|
||||
|
||||
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
|
||||
a:hover { color: #fff; }
|
||||
|
||||
h1, h2, h3, h4, h5, h6 { line-height: 1.3; margin-bottom: 0.75rem; color: #fff; }
|
||||
h1 { font-size: 2.25rem; }
|
||||
h2 { font-size: 1.5rem; margin-top: 2rem; }
|
||||
h3 { font-size: 1.25rem; }
|
||||
|
||||
p { margin-bottom: 1rem; }
|
||||
|
||||
ul, ol { margin: 0 0 1rem 1.5rem; }
|
||||
li { margin-bottom: 0.35rem; }
|
||||
|
||||
code { font-family: var(--font-mono); background: var(--color-surface); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }
|
||||
pre { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.25rem; overflow-x: auto; margin-bottom: 1.5rem; }
|
||||
pre code { background: none; padding: 0; }
|
||||
|
||||
blockquote { border-left: 3px solid var(--color-primary); padding-left: 1rem; color: var(--color-text-muted); margin-bottom: 1rem; }
|
||||
|
||||
hr { border: none; border-top: 1px solid var(--color-border); margin: 2rem 0; }
|
||||
|
||||
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
|
||||
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
|
||||
th { color: #fff; font-weight: 600; }
|
||||
|
||||
img { max-width: 100%; height: auto; border-radius: var(--radius); }
|
||||
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); }
|
||||
17
publish/web1/public/css/responsive.css
Normal file
17
publish/web1/public/css/responsive.css
Normal file
@@ -0,0 +1,17 @@
|
||||
/* TekDek Responsive — Icarus: refine breakpoints */
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.menu-toggle { display: block; }
|
||||
.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 1rem; }
|
||||
.main-nav.open { display: block; }
|
||||
.main-nav ul { flex-direction: column; }
|
||||
.main-nav a { padding: 0.75rem 1rem; }
|
||||
.hero h1 { font-size: 2rem; }
|
||||
.cards { grid-template-columns: 1fr 1fr; }
|
||||
h1 { font-size: 1.75rem; }
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.cards { grid-template-columns: 1fr; }
|
||||
.header-inner { padding: 0 1rem; }
|
||||
}
|
||||
Reference in New Issue
Block a user