cleaned up HTML codes and easily to read
This commit is contained in:
@@ -10,12 +10,17 @@
|
||||
<meta property="og:image" content="/resources/img/pb_16_9_under512kb.webp">
|
||||
|
||||
<!-- Your stylesheet MUST be inside the head, before <body> -->
|
||||
|
||||
<link rel="stylesheet" href="/resources/css/index.css">
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<header class="site-header" role="banner">
|
||||
<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">
|
||||
@@ -24,6 +29,7 @@
|
||||
</header>
|
||||
|
||||
<nav class="site-nav" aria-label="Primary">
|
||||
|
||||
<ul>
|
||||
<li><a href="#content">Content</a></li>
|
||||
<li><a href="#social">Social</a></li>
|
||||
@@ -33,6 +39,9 @@
|
||||
</nav>
|
||||
|
||||
<main id="main" class="content">
|
||||
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@@ -32,7 +32,7 @@ main { max-width: 900px; margin: 0 auto; padding: 0 1rem 3rem; }
|
||||
font-family:"Iceland",sans-serif;
|
||||
font-size:clamp(2.4rem,6vw,6rem);
|
||||
line-height:1; margin:.75rem 0 0;
|
||||
color:var(--gold); text-align:center;
|
||||
color: #FFD700; text-align:center;
|
||||
text-shadow:0 4px 12px rgba(0,0,0,.6);
|
||||
opacity:0; transform:translateY(calc(-1*var(--nav-h))) scale(.98);
|
||||
animation:popFromNav 900ms cubic-bezier(.2,.75,.15,1.1) forwards,
|
||||
|
Reference in New Issue
Block a user