mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-12 14:16:28 +03:00
Major changes: - Consolidate 8 design skills into single frontend-design skill with 7 reference files - Add source/patterns.md as single source of truth for patterns/antipatterns - Patterns are merged into skill during build, served via API for website - Website now dynamically renders both "What TO Do" and "What NOT to Do" sections - Update build system to handle directory-based skills with references - Add /api/patterns endpoint to server - Refactor website with new Antidote section layout 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
174 lines
3.4 KiB
CSS
174 lines
3.4 KiB
CSS
/* Workflow / Commands - Renaissance Edition */
|
|
|
|
.commands-section {
|
|
position: relative;
|
|
padding: var(--spacing-xl) 0;
|
|
background: var(--color-paper);
|
|
}
|
|
|
|
.commands-gallery {
|
|
/* Reset grid */
|
|
display: block;
|
|
}
|
|
|
|
.commands-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1.2fr;
|
|
gap: var(--spacing-2xl);
|
|
align-items: start;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.commands-container {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* Left: The Manual (Scrollable) */
|
|
.command-manual {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-lg);
|
|
padding-bottom: 20vh;
|
|
}
|
|
|
|
.manual-entry {
|
|
padding: var(--spacing-lg);
|
|
border-left: 2px solid var(--color-mist);
|
|
transition: all 0.4s var(--ease-out);
|
|
opacity: 0.4;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.manual-entry:hover {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.manual-entry.active {
|
|
border-left-color: var(--color-accent);
|
|
opacity: 1;
|
|
padding-left: var(--spacing-xl);
|
|
background: linear-gradient(to right, var(--color-bg), transparent);
|
|
}
|
|
|
|
.manual-cmd-name {
|
|
font-family: var(--font-mono);
|
|
font-size: 1.5rem;
|
|
margin: 0 0 var(--spacing-sm);
|
|
color: var(--color-ink);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.manual-cmd-desc {
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
color: var(--color-charcoal);
|
|
margin: 0;
|
|
}
|
|
|
|
/* Right: The Terminal (Sticky) */
|
|
.glass-terminal-wrapper {
|
|
position: sticky;
|
|
top: var(--spacing-lg);
|
|
height: 600px;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.glass-terminal-wrapper {
|
|
display: none; /* Hide on mobile for now, or stack */
|
|
/* Alternatively: Position fixed bottom sheet */
|
|
}
|
|
}
|
|
|
|
.glass-terminal {
|
|
background: rgba(255, 255, 255, 0.9);
|
|
/* Glass effect handled by backdrop-filter if supported */
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid var(--color-mist);
|
|
border-radius: 8px;
|
|
box-shadow:
|
|
0 20px 60px -10px rgba(0,0,0,0.15),
|
|
0 0 0 1px rgba(255,255,255,0.5) inset;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.terminal-header {
|
|
background: rgba(0,0,0,0.02);
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border-bottom: 1px solid var(--color-mist);
|
|
}
|
|
|
|
.terminal-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
}
|
|
.terminal-dot.red { background: #ff5f56; }
|
|
.terminal-dot.yellow { background: #ffbd2e; }
|
|
.terminal-dot.green { background: #27c93f; }
|
|
|
|
.terminal-title {
|
|
margin-left: auto;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
color: var(--color-ash);
|
|
}
|
|
|
|
.terminal-body {
|
|
flex: 1;
|
|
padding: var(--spacing-lg);
|
|
font-family: var(--font-mono);
|
|
font-size: 0.9375rem;
|
|
color: var(--color-ink);
|
|
overflow-y: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.terminal-line {
|
|
margin-bottom: var(--spacing-sm);
|
|
display: flex;
|
|
gap: var(--spacing-sm);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.terminal-prompt {
|
|
color: var(--color-accent);
|
|
user-select: none;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.terminal-cursor {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 1.2em;
|
|
background: var(--color-accent);
|
|
vertical-align: middle;
|
|
animation: blink 1s step-end infinite;
|
|
}
|
|
|
|
.terminal-output {
|
|
color: var(--color-ash);
|
|
margin-bottom: var(--spacing-md);
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.terminal-preview {
|
|
border: 1px solid var(--color-mist);
|
|
border-radius: 4px;
|
|
background: var(--color-paper);
|
|
padding: var(--spacing-md);
|
|
margin: var(--spacing-md) 0;
|
|
flex: 1;
|
|
overflow: auto;
|
|
}
|
|
|
|
@keyframes blink { 50% { opacity: 0; } }
|