/* a11y-fixes.css — Gitea custom public CSS overrides for WCAG 2.1 AA */ /* V4 (#548): Green inline links — darken + underline for contrast */ .markdown-body a, .markdown-body a:not(.label):not([class]) { color: #507020 !important; text-decoration: underline !important; } .markdown-body a:hover, .markdown-body a:focus { color: #3a5518 !important; } /* V5 (#545): Skip navigation link (WCAG 2.4.1) — visible on focus only */ .skip-link { position: absolute; top: -100px; left: 8px; background: #1a1a1a; color: #fff; padding: 12px 16px; font-size: 14px; font-weight: 600; z-index: 9999; border-radius: 0 0 4px 4px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); transition: top 0.2s ease-in-out, background 0.2s; text-decoration: none; } .skip-link:focus { top: 0; outline: 3px solid #ffcc00; outline-offset: 2px; }