Compare commits
4 Commits
1ee6b819b1
...
main
Author | SHA1 | Date | |
---|---|---|---|
8edfd49eca | |||
d273005d1c | |||
1e33071913 | |||
ed359ec018 |
109
index.html
109
index.html
@@ -1,47 +1,68 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta name="description" content="Deaf-led community builder & creator advocate. Projects, socials, and contact.">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Iceland&display=swap" rel="stylesheet">
|
||||
<link rel="icon" href="/resources/img/pp.jpg" type="image/jpeg">
|
||||
<meta name="color-scheme" content="dark light">
|
||||
<meta property="og:title" content="Petrus Pistor — Peter Baker">
|
||||
<meta property="og:description" content="Deaf-led community builder & creator advocate.">
|
||||
<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">
|
||||
</picture>
|
||||
|
||||
</header>
|
||||
|
||||
<nav class="site-nav" aria-label="Primary">
|
||||
|
||||
<ul>
|
||||
<li><a href="#content">Content</a></li>
|
||||
<li><a href="#social">Social</a></li>
|
||||
<li><a href="#projects">Projects</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<main id="main" class="content">
|
||||
|
||||
</main>
|
||||
|
||||
</body>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Website Under Construction</title>
|
||||
<style>
|
||||
/* Global styles */
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
/* Create a subtle diagonal caution stripe background */
|
||||
background: repeating-linear-gradient(
|
||||
-45deg,
|
||||
#ffeb3b 0,
|
||||
#ffeb3b 20px,
|
||||
#f5c542 20px,
|
||||
#f5c542 40px
|
||||
);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
.overlay {
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
padding: 40px;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
||||
max-width: 500px;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
margin-bottom: 20px;
|
||||
font-size: 2.4rem;
|
||||
color: #333;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 20px;
|
||||
font-size: 1.2rem;
|
||||
color: #555;
|
||||
}
|
||||
.contact {
|
||||
font-size: 1rem;
|
||||
color: #555;
|
||||
}
|
||||
a {
|
||||
color: #007bff;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="overlay">
|
||||
<h1>Under Construction</h1>
|
||||
<p>I'm currently working on bringing you an amazing website. Please check back soon!</p>
|
||||
<p class="contact">If you have any questions, feel free to <a href="mailto:connect+pp@petruspistor.com">contact me</a>.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@@ -1,167 +1,36 @@
|
||||
/* style.css (minimal baseline) */
|
||||
:root {
|
||||
--bg:#0e0e10; --text:#eaeaea; --accent:#ffd700;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
* {
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
|
||||
margin:0;
|
||||
padding:0;
|
||||
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: system-ui, -apple-system, "Iceland", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
aligin-times: center;
|
||||
background: linear-gradient(180deg, #f7d34b, #e0a82e);
|
||||
|
||||
/* fallback solid background */
|
||||
|
||||
background-color: #f7d34b;
|
||||
font-family: Arial, san-serif;
|
||||
}
|
||||
|
||||
header {
|
||||
text-align:center;
|
||||
padding:2rem 1rem;
|
||||
}
|
||||
/* Center the Image */
|
||||
|
||||
h1, h3 {
|
||||
font-family: "Iceland", sans-serif;
|
||||
letter-spacing:.5px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
list-style:none;
|
||||
display:flex;
|
||||
gap:1rem;
|
||||
justify-content:center;
|
||||
padding:0; margin:0 0 2rem;
|
||||
}
|
||||
|
||||
nav a, nav li {
|
||||
text-decoration:none;
|
||||
color:#ddd;
|
||||
padding:.4rem .6rem;
|
||||
border-radius:.5rem;
|
||||
}
|
||||
|
||||
nav a:hover, nav li:hover {
|
||||
background:rgba(255,255,255,.08);
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
padding: 0 1rem 3rem;
|
||||
}
|
||||
|
||||
/* Normalize nav list look */
|
||||
|
||||
.site-nav ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.site-nav a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-nav a:focus-visible {
|
||||
outline: 2px solid currentColor;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
/* ===== Header & title (pop from nav) ===== */
|
||||
.site-header img {
|
||||
display:block;
|
||||
width:100%;
|
||||
height:auto
|
||||
}
|
||||
|
||||
.site-title {
|
||||
font-family:"Iceland",sans-serif;
|
||||
font-size:clamp(2.4rem,6vw,6rem);
|
||||
line-height:1;
|
||||
margin:.75rem 0 0;
|
||||
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,
|
||||
underlineDelay 1ms linear 900ms forwards;
|
||||
}
|
||||
|
||||
.site-title::after{
|
||||
content:""; display:block; height:3px; width:0%;
|
||||
margin:.6rem auto 0;
|
||||
background:linear-gradient(90deg,#b8860b,#ffd700,#b8860b);
|
||||
border-radius:999px;
|
||||
animation:underlineGrow 700ms ease-out 1200ms forwards;
|
||||
}
|
||||
|
||||
/* ===== Keyframes ===== */
|
||||
|
||||
@keyframes popFromNav {
|
||||
0% {
|
||||
opacity:0;
|
||||
transform:translateY(calc(-1*var(--nav-h))) scale(.98)
|
||||
}
|
||||
60% {
|
||||
opacity:1;
|
||||
transform:translateY(-8px) scale(1.02)
|
||||
}
|
||||
100% {
|
||||
opacity:1;
|
||||
transform:translateY(0) scale(1)
|
||||
}
|
||||
|
||||
@keyframes underlineGrow{
|
||||
to
|
||||
{
|
||||
width:54%
|
||||
}
|
||||
|
||||
@keyframes underlineDelay{} /* just to offset ::after timing */
|
||||
|
||||
/* ===== Content container ===== */
|
||||
|
||||
.content {
|
||||
max-width:1000px;
|
||||
margin:2rem auto 4rem;
|
||||
padding:0 1rem
|
||||
}
|
||||
|
||||
/* ===== Responsive ===== */
|
||||
|
||||
@media (max-width:800px){
|
||||
:root {
|
||||
--nav-h:56px
|
||||
}
|
||||
.site-title::after {
|
||||
height:2px
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
:root{--nav-h:52px
|
||||
}
|
||||
.site-title {
|
||||
font-size:clamp(2rem,9vw,3.2rem)
|
||||
}
|
||||
.site-title::after {
|
||||
width:60%
|
||||
}
|
||||
|
||||
|
||||
/* Respect reduced motion */
|
||||
@media (prefers-reduced-motion:reduce){
|
||||
.site-title,.site-title::after {
|
||||
animation:none !important;
|
||||
opacity:1 !important;
|
||||
transform:none !important
|
||||
}
|
||||
.container img {
|
||||
|
||||
max-width: 90%;
|
||||
height: auto;
|
||||
border: 6px solid #e0a82e;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
BIN
resources/img/underconstruction.png
Normal file
BIN
resources/img/underconstruction.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 MiB |
Reference in New Issue
Block a user