initial commit
This commit is contained in:
parent
ce9e235ffe
commit
a6f7597fb3
3 changed files with 187 additions and 0 deletions
83
index.html
Normal file
83
index.html
Normal file
|
@ -0,0 +1,83 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>~raf | frzn.dev</title>
|
||||
<link rel="stylesheet" href="styles.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="card">
|
||||
<div style="display: flex; justify-content: center">
|
||||
<img src="pfp-angel.png" alt="NotAShelf" class="profile-picture" />
|
||||
</div>
|
||||
<h2>About Me</h2>
|
||||
<p>
|
||||
I'm raf, most commonly known as NotAShelf on the world wide web. I am
|
||||
a part-time FOSS contributor and part-time political scientist.
|
||||
</p>
|
||||
<p>
|
||||
You are visiting my personal page hosted on frzn.dev, which I will
|
||||
<a class="bullshit">definitely</a> update soon with more details.
|
||||
Totally, I promise. Trust me.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<span class="footer-text" id="footer-text"></span><br />
|
||||
<span class="footer-text" id="footer-text">
|
||||
Made with
|
||||
<span
|
||||
class="hover-item"
|
||||
data-content="Seriously, I love you guys. Special thanks to Donutman (MrAureliusR) for introducing me to the world of Linux"
|
||||
>
|
||||
<i class="fas fa-heart"></i> </span
|
||||
>,
|
||||
<span
|
||||
class="hover-item"
|
||||
data-content="I have an unhealthy addiction. Help, please."
|
||||
>
|
||||
<i class="fas fa-coffee"></i> </span
|
||||
>, and
|
||||
<span
|
||||
class="hover-item"
|
||||
data-content="I maintain my own Neovim distribution!"
|
||||
>
|
||||
<i class="fas fa-code"></i>
|
||||
</span>
|
||||
</span>
|
||||
</footer>
|
||||
<div class="tooltip"></div>
|
||||
<script>
|
||||
const currentYear = new Date().getFullYear();
|
||||
const footerText =
|
||||
currentYear === 2024
|
||||
? "© 2024 NotAShelf"
|
||||
: `© 2024-${currentYear} NotAShelf`;
|
||||
document.getElementById("footer-text").textContent = footerText;
|
||||
</script>
|
||||
<script>
|
||||
const tooltip = document.querySelector(".tooltip");
|
||||
const hoverItems = document.querySelectorAll(".hover-item");
|
||||
|
||||
hoverItems.forEach((item) => {
|
||||
item.addEventListener("mouseenter", (e) => {
|
||||
tooltip.innerText = e.target.dataset.content;
|
||||
tooltip.style.display = "block";
|
||||
tooltip.style.left = e.pageX + "px";
|
||||
tooltip.style.top = e.pageY - tooltip.offsetHeight - 10 + "px";
|
||||
});
|
||||
|
||||
item.addEventListener("mouseleave", () => {
|
||||
tooltip.style.display = "none";
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
BIN
pfp-angel.png
Normal file
BIN
pfp-angel.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 120 KiB |
104
styles.css
Normal file
104
styles.css
Normal file
|
@ -0,0 +1,104 @@
|
|||
body {
|
||||
background-color: #0a0a0a;
|
||||
color: #f8fafc;
|
||||
font-family:
|
||||
system-ui,
|
||||
-apple-system,
|
||||
"Segoe UI",
|
||||
Roboto,
|
||||
Oxygen,
|
||||
Ubuntu,
|
||||
Cantarell,
|
||||
"Open Sans",
|
||||
sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.container {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: #18181b;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
|
||||
padding: 20px;
|
||||
width: 80%;
|
||||
max-width: 500px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.profile-picture {
|
||||
width: 198px;
|
||||
height: 198px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
object-position: center;
|
||||
}
|
||||
|
||||
.card h2 {
|
||||
color: #f8fafc;
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.card p {
|
||||
line-height: 1.6;
|
||||
font-size: 16px;
|
||||
padding: 5px 15px;
|
||||
}
|
||||
|
||||
.divider {
|
||||
width: 50%;
|
||||
height: 2px;
|
||||
background-color: #f8fafc;
|
||||
margin: 10px auto;
|
||||
}
|
||||
|
||||
.bullshit {
|
||||
font-style: italic;
|
||||
letter-spacing: 0.6px;
|
||||
}
|
||||
|
||||
footer {
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.footer-text {
|
||||
font-size: 14px;
|
||||
color: #e5e5e5;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
position: absolute;
|
||||
background-color: #18181b;
|
||||
color: #d4d4d8;
|
||||
padding: 8px 10px;
|
||||
border-radius: 5px;
|
||||
display: none;
|
||||
z-index: 1000;
|
||||
transform: translateX(-50%);
|
||||
max-width: 200px;
|
||||
word-wrap: break-word;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.hover-item {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
margin: 0 5px;
|
||||
}
|
Loading…
Reference in a new issue