Compare commits
17 Commits
c482a91015
...
main
Author | SHA1 | Date | |
---|---|---|---|
8edfd49eca | |||
d273005d1c | |||
1e33071913 | |||
ed359ec018 | |||
1ee6b819b1 | |||
18d0d8315b | |||
92980ad4c3 | |||
23fa3af9ed | |||
31c89b4c33 | |||
790868bb5c | |||
0ea4cbf51a | |||
3e691bd97a | |||
5200e5f421 | |||
f41fdf6606 | |||
f6d9b3848c | |||
8b93b19087 | |||
779c77bf66 |
92
index.html
92
index.html
@@ -1,38 +1,68 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Peter the Baker</title>
|
||||
|
||||
<!-- Optional: system fonts for speed; swap later if you like -->
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Iceland&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/resources/css/index.css" />
|
||||
<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>
|
||||
<header class="site-header">
|
||||
<img src="/resources/img/pb.png" alt="Portrait of Peter Baker" width="1280" height="372"/>
|
||||
<h1 class="site-title">Peter Baker</h1>
|
||||
</header>
|
||||
|
||||
<nav class="site-nav" aria-label="Primary">
|
||||
<ul>
|
||||
<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>
|
||||
|
||||
<footer class="site-footer">
|
||||
<small>© <span id="year"></span> Peter Baker</small>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
document.getElementById('year').textContent = new Date().getFullYear();
|
||||
</script>
|
||||
<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,84 +1,36 @@
|
||||
/* Reset the default 8px body margin so the image can touch the edges */
|
||||
* { box-sizing: border-box; }
|
||||
html, body { margin: 0; padding: 0; }
|
||||
* {
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* Optional base text */
|
||||
body {
|
||||
font-family: 'Iceland';
|
||||
color: #BF8915;
|
||||
background: #1c1c1c;
|
||||
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;
|
||||
}
|
||||
|
||||
/* Full-bleed banner at the very top */
|
||||
.site-header {
|
||||
position: relative; /* allows overlay title */
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/* line-height: 0; /* removes stray gap under inline images */
|
||||
/* Center the Image */
|
||||
|
||||
.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);
|
||||
}
|
||||
.site-header img {
|
||||
display: block; /* removes inline whitespace */
|
||||
width: 100%; /* full width */
|
||||
height: auto; /* keep aspect ratio */
|
||||
}
|
||||
|
||||
/* Overlay title on the banner (optional; keep if you like this look) */
|
||||
|
||||
.site-title {
|
||||
line-height: 1; /* restore readable line height */
|
||||
position: absolute; /* overlay on the banner */
|
||||
left: 50%;
|
||||
bottom: 8%;
|
||||
transform: translateX(-50%);
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
z-index: 1;
|
||||
|
||||
/* animations */
|
||||
opacity: 1;
|
||||
animation: fadeSlideIn 2s ease-out forwards, goldShine 4s ease-in-out infinite;
|
||||
animation-delay: 0s, 2s;
|
||||
|
||||
/* gold shine */
|
||||
background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
|
||||
background-size: 200% auto;
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
-webkit-text-fill-color: transparent; /* extra safety for WebKit */
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Horizontal nav under header */
|
||||
.site-nav {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: rgba(20,20,20,.75);
|
||||
backdrop-filter: blur(6px);
|
||||
border-top: 1px solid rgba(255,255,255,.07);
|
||||
border-bottom: 1px solid rgba(255,255,255,.07);
|
||||
}
|
||||
.site-nav ul {
|
||||
margin: 0 auto;
|
||||
padding: .5rem 1rem;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
justify-content: center;
|
||||
max-width: 1000px;
|
||||
}
|
||||
.site-nav a {
|
||||
color: #efefef;
|
||||
text-decoration: none;
|
||||
padding: .5rem .75rem;
|
||||
border-radius: .5rem;
|
||||
}
|
||||
.site-nav a:hover, .site-nav a:focus-visible {
|
||||
background: rgba(255,255,255,.08);
|
||||
}
|
||||
|
||||
/* Content + footer */
|
||||
.content { max-width: 1000px; margin: 2rem auto; padding: 0 1rem 3rem; }
|
||||
.site-footer { text-align: center; color: #bdbdbd; padding: 1.5rem 1rem 3rem; }
|
||||
|
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