Invert the URL color scheme in the shared CSS assets to improve user experience by using lighter colors for normal link state and darker colors for hover state, following standard web design conventions.
--coderipple-blue: #003d47(darker blue) - currently used for normal links--coderipple-blue-hover: #0A5A66(lighter blue) - currently used for hover state
- Global links (lines 192-198):
aanda:hover - Repository name links (lines 162-169):
.repo-name aand.repo-name a:hover - Analysis links (lines 181-189):
.analysis-links aand.analysis-links a:hover
Docsify default theme is overriding our custom link colors with CSS specificity:
- Docsify CSS:
.markdown-section a{color:#42b983}(greenish, more specific) - Our CSS:
a{color:var(--coderipple-blue)}(less specific)
Result: Showroom displays links in green (#42b983) instead of our desired dark blue (#003d47)
Required Fix: Increase CSS specificity to match Docsify's selectors
- Add high-specificity selectors: Override Docsify's
.markdown-section awith our own - Maintain color scheme: Keep
#003d47for links,#0A5A66for hover - Ensure consistency: Apply to all link contexts (markdown content, analysis links, etc.)
- Test deployment: Deploy to Showroom and verify color override works
- Add
.markdown-section aand.markdown-section a:hoverrules - Keep existing specific selectors (
.repo-name a,.analysis-links a) - Deploy updated CSS to all S3 buckets
shared-assets/css/coderipple.css(to be updated)- Deployment to S3 buckets via existing scripts
Successfully implemented CSS specificity override to ensure correct link colors in Showroom.
- Added
.markdown-section aand.markdown-section a:hoverselectors with!importantdeclarations - Maintained desired color scheme:
#003d47for links,#0A5A66for hover - Deployed to Showroom S3 bucket - CSS override now active
- Links should display dark blue instead of Docsify's default green
- Updated CSS deployed to: http://coderipple-showroom.s3-website-us-east-1.amazonaws.com/assets/css/coderipple.css
- Override rules added at lines 200-208 with higher specificity than Docsify theme