diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 577bd53..3736ae1 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -137,9 +137,9 @@ export default function Home() { .red .theme-primary { color: rgba(255, 0, 0, 0.9); } .gold .theme-primary { color: rgba(255, 204, 0, 0.9); } - .black .theme-secondary { color: rgba(255, 255, 255, 0.6); } - .red .theme-secondary { color: rgba(255, 0, 0, 0.6); } - .gold .theme-secondary { color: rgba(255, 204, 0, 0.6); } + .black .theme-secondary { color: rgba(255, 255, 255, 0.7); } + .red .theme-secondary { color: rgba(255, 0, 0, 0.7); } + .gold .theme-secondary { color: rgba(255, 204, 0, 0.7); } .black .theme-accent { background-color: rgba(255, 255, 255, 0.03); } .red .theme-accent { background-color: rgba(255, 0, 0, 0.03); } @@ -152,6 +152,39 @@ export default function Home() { .theme-transition { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; } + + /* Focus styles for accessibility */ + a:focus-visible, button:focus-visible { + outline: 2px solid #4D90FE; + outline-offset: 2px; + } + + /* Improved touch targets for mobile */ + @media (max-width: 640px) { + a, button { + min-height: 44px; + min-width: 44px; + } + } + + /* Skip to content */ + .skip-to-content { + position: absolute; + left: -9999px; + top: 0; + z-index: 999; + padding: 1rem; + background-color: white; + color: black; + text-decoration: none; + transform: translateY(-100%); + transition: transform 0.3s; + } + + .skip-to-content:focus { + left: 0; + transform: translateY(0); + } `}