deleted skips in css, changed title position to top

This commit is contained in:
2025-08-21 22:22:58 +00:00
parent 790868bb5c
commit 31c89b4c33
2 changed files with 3 additions and 11 deletions

View File

@@ -14,11 +14,12 @@
<body>
<header class="site-header" role="banner">
<picture>
<h1 class="site-title">Peter Baker</h1>
<picture>
<source srcset="/resources/img/pb_16_9_under512kb.webp" type="image/webp">
<img src="/resources/img/pb.png" alt="Portrait of Peter Baker" width="1280" height="372" loading="eager" decoding="async">
</picture>
<h1 class="site-title">Peter Baker</h1>
</header>
<nav class="site-nav" aria-label="Primary">

View File

@@ -25,15 +25,6 @@ main { max-width: 900px; margin: 0 auto; padding: 0 1rem 3rem; }
.site-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px;
}
/* Skip link utility */
.skip-link {
position: absolute; left: -9999px; top: 0;
}
.skip-link:focus {
left: 1rem; top: 1rem; z-index: 1000;
background: #000; color: #fff; padding: .5rem .75rem; border-radius: .5rem;
}
/* ===== Header & title (pop from nav) ===== */
.site-header img{display:block;width:100%;height:auto
}