retro-css-generator
Generate retro-styled CSS for WordPress login page. Use when creating custom login page designs.
When & Why to Use This Skill
This Claude skill automates the creation of retro-styled CSS specifically tailored for WordPress login pages. It solves the problem of manual styling for isolated WordPress components by providing optimized, accessible, and selector-accurate code snippets that enhance brand identity without compromising site performance.
Use Cases
- Case 1: Designing unique, branded login experiences for retro-themed websites, gaming blogs, or creative portfolios.
- Case 2: Rapidly prototyping custom WordPress authentication screens using pre-defined CSS variables and best-practice selectors.
- Case 3: Improving web development efficiency by generating isolated styles that ensure the login page remains visually consistent without loading heavy theme assets.
| name | retro-css-generator |
|---|---|
| description | Generate retro-styled CSS for WordPress login page. Use when creating custom login page designs. |
Retro CSS Generator
Instructions
When creating retro login page styles:
- Use CSS custom properties for colors and fonts
- Target login-specific selectors (
.login,#loginform) - Apply retro effects subtly - prioritize accessibility
- Keep styles isolated - login page doesn't load theme styles
Retro Style Elements
| Element | CSS Selector | Notes |
|---|---|---|
| Page wrapper | .login |
Main container |
| Login form | #loginform |
Form element |
| Logo area | .login h1 a |
WordPress logo |
| Error box | .login .message |
Info/error messages |
| Submit button | .wp-submit-button |
Login button |
| Footer | .login footer |
Footer area |
Example Pattern
:root {
--retro-bg: #2d1b4e;
--retro-primary: #ff6b9d;
--retro-text: #c8d6e5;
--retro-font: 'Press Start 2P', monospace;
}
.login {
background: var(--retro-bg);
font-family: var(--retro-font);
}
#loginform {
background: rgba(255, 255, 255, 0.05);
border: 2px solid var(--retro-primary);
border-radius: 4px;
}
.wp-submit-button {
background: var(--retro-primary);
color: var(--retro-bg);
border: none;
}
Guidelines
- Define colors as
:rootvariables for easy theming - Test contrast ratios for accessibility
- Use subtle animations (scanlines, glow)
- Don't modify core WordPress functionality
- Keep CSS minimal - login page should load fast