- Add project foundation README.md and root AGENTS.md for pair programming - Configure .agents/ rules and skills for Eleventy tiling and Obsidian publishing - Decompose monolithic styles into modular tokens, reset, layout, and component CSS - Implement Nunjucks layout inheritance (base.njk, post.njk, page.njk) and reusable partials - Configure Eleventy 3 with markdown-it-anchor, syntax highlighting, and dynamic collections - Migrate sample prototypes into dynamic dispatches lander, gateway, and Markdown posts - Add multi-stage Dockerfile and clean-URL nginx.conf for production serving
141 lines
2.9 KiB
CSS
141 lines
2.9 KiB
CSS
/* ==========================================================================
|
|
Tile Containers & Hero Tile (components/tiles.css)
|
|
========================================================================== */
|
|
|
|
/* Standard Tile Container */
|
|
.tile {
|
|
background-color: var(--bg-surface);
|
|
border: var(--border-width) solid var(--border-color);
|
|
border-radius: var(--border-radius);
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.tile-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
border-bottom: var(--border-width) solid var(--border-color);
|
|
padding-bottom: 10px;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.tile-title {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.92rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.tile-meta {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.74rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.tile-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
/* Hero Lander Tile */
|
|
.hero-tile {
|
|
background-color: var(--bg-surface);
|
|
border: var(--border-width) solid var(--border-color);
|
|
border-left: 3px solid var(--accent-cyan);
|
|
border-radius: var(--border-radius);
|
|
padding: 24px 28px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.hero-pretitle {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.8rem;
|
|
color: var(--accent-cyan);
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hero-main-title {
|
|
font-family: var(--font-mono);
|
|
font-size: 2.1rem;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.hero-main-title {
|
|
font-size: 1.6rem;
|
|
}
|
|
}
|
|
|
|
.hero-landing-text {
|
|
font-size: 0.98rem;
|
|
color: var(--text-primary);
|
|
line-height: 1.65;
|
|
max-width: 82ch;
|
|
}
|
|
|
|
/* Filter Pills Row in Hero Tile */
|
|
.filter-pills-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 4px;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.filter-tag-btn {
|
|
background-color: var(--bg-canvas);
|
|
border: var(--border-width) solid var(--border-color);
|
|
color: var(--text-muted);
|
|
padding: 3px 8px;
|
|
border-radius: var(--border-radius-sm);
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.filter-tag-btn:hover {
|
|
border-color: var(--accent-cyan);
|
|
color: var(--text-primary);
|
|
background-color: var(--bg-elevated);
|
|
}
|
|
|
|
.filter-tag-btn.active {
|
|
background-color: var(--accent-cyan);
|
|
color: var(--bg-canvas);
|
|
border-color: var(--accent-cyan);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* Directive Callout Box inside Hero */
|
|
.hero-directive-box {
|
|
background-color: var(--bg-canvas);
|
|
border: var(--border-width) solid var(--border-color);
|
|
border-radius: var(--border-radius-sm);
|
|
padding: 12px 16px;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.82rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.hero-directive-box strong {
|
|
color: var(--text-primary);
|
|
}
|