Colors
All colors are CSS custom properties defined on :root.
No preprocessor variables. Change the token, change the world.
Core
Semantic
Typography
System font stack for sans-serif. Modern monospace stack for code. 16px base. 1.6 line height. Maximum 65ch measure for body text.
Spacing
4px base unit. 8-step scale. Use CSS custom properties for consistency.
--space-1
--space-2
--space-3
--space-4
--space-5
--space-6
--space-7
--space-8
CSS Grid Layout
All layout uses CSS Grid. No flexbox. No floats. Grid handles both macro layout (page structure) and micro layout (component internals).
12-column grid
Buttons
Simple, accessible buttons. Keyboard-focusable with visible focus rings.
Use <button> for actions, <a> for navigation.
Sizes
Forms
Native HTML5 form elements. No custom dropdowns unless absolutely necessary.
Use <datalist> for autocomplete. Use required,
pattern, and type for validation.
Alerts
Capability-driven: dismiss buttons are js-only. Without JavaScript,
users see the message but not a broken dismiss button.
Cards
Content containers with optional header and footer. Use CSS Grid for card layouts.
Fix session handling for cookie-based authentication. Remove beaker dependency entirely.
Modernize UI: remove jQuery, switch to CSS Grid, add living style guide endpoint.
Add SQLite3 support for single-instance deployments on permacomputer hardware.
Tables
Native HTML tables with minimal styling. Wrapped for horizontal scroll on narrow screens.
| Commit | Message | Author | Date |
|---|---|---|---|
4f73837 |
Remove beaker dependency, switch to SignedCookieSessionFactory | fox | 2 hours ago |
ceb23e4 |
release(version-bump): 5.11.3 → 5.11.4 | andverb | 1 day ago |
93d4bc5 |
Cleanup, better handling for multiline comments | andverb | 3 days ago |
Badges
Details / Accordion
Native <details> element. Works without JavaScript.
Progressive enhancement at its finest.
Repository Settings
Configure repository name, description, landing page, and permissions. All changes take effect immediately.
VCS Configuration
Configure hooks, large file storage, and protocol settings for this repository.
Danger Zone
Destructive actions that cannot be undone. Proceed with caution.
Dialog
Native <dialog> element with showModal().
Accessible by default. Backdrop handled by CSS.
The trigger button is js-only — no broken button without JS.
Repository List
Repository listing with icon, info, and metadata. CSS Grid three-column layout.
rhodecode-enterprise-ce
Enterprise Source Code Management Platform
make_post_sell
Commission-free digital and physical sales
remarkbox
Hosted comment system, embeds in pages
Diff View
Side-by-side line numbers with CSS Grid. Monospace font. Addition and deletion colors.
Code Blocks
Inline code and block-level pre/code. Monospace font stack.
Capability-Driven Presentation
A web page does not need to look the same on every browser or device. Capability drives presentation. Deliver identical content regardless of viewer capabilities. Use the viewer's capabilities to gracefully enhance the presentation.
The js-only Pattern
Elements with class="js-only" are hidden when JavaScript is
unavailable. This prevents presenting broken interactive elements to users
whose browser cannot execute them.
The Rules
- Maintain a single canonical URI for all users.
- Deliver identical content regardless of viewer capabilities.
- Use the viewer's capabilities to gracefully enhance the presentation.
- Never present a broken button to the user.
- CSS Grid only. No flexbox. No floats.
- No jQuery. No CSS preprocessors. No framework bloat.
- Native HTML5 elements first:
<details>,<dialog>,<datalist>. - Code outlasts authors. Infrastructure outlasts builders.