DevPlace CI / test (push) Successful in 32m28s
Add `_alt_from_url` helper in Python rendering and `altFromUrl` in JS ContentRenderer to generate descriptive alt attributes from image filenames, replacing empty alt strings. Update image embed templates and Avatar component to use derived alt text. Migrate inline `style.width` assignments to CSS custom properties (`--poll-pct`, `--hud-xp`, `--quest-pct`, `--bar-pct`, `--quota-pct`) across PollManager, GameFarm, and profile/quest CSS for better maintainability. Introduce new admin, docs, projects, services, and base CSS utility classes. Add "Code Farm" docs page entry.
38 lines
717 B
CSS
38 lines
717 B
CSS
/* retoor <retoor@molodetz.nl> */
|
|
|
|
.component-demo {
|
|
margin: 1rem 0 1.5rem;
|
|
padding: 1.5rem;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.component-demo-title {
|
|
margin: 0 0 0.75rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.05em;
|
|
text-transform: uppercase;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.component-demo-stage {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.docs-demo-ctx-target {
|
|
padding: 1.5rem;
|
|
cursor: context-menu;
|
|
user-select: none;
|
|
}
|
|
|
|
.docs-demo-thumb,
|
|
.docs-demo-avatar {
|
|
border-radius: var(--radius);
|
|
border: 1px solid var(--border);
|
|
}
|