barrettruth.com/index.html
2023-10-10 17:55:04 -04:00

150 lines
3.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
<title>Barrett Ruth</title>
</head>
<body>
<div class="container">
<div class="social-icons">
<a href="https://linkedin.com/in/barrett-ruth" target="_blank">
<i class="fab fa-linkedin"></i>
</a>
<a href="https://github.com/barrett-ruth" target="_blank">
<i class="fab fa-github"></i>
</a>
<a href="mailto:br.barrettruth@gmail.com" target="_blank">
<i class="fas fa-envelope"></i>
</a>
</div>
<h1>Barrett Ruth</h1>
</div>
<aside>Software developer.</aside>
<aside>Simplicity advocate.</aside>
<h2>
<a target="_blank" href="https://github.com/barrett-ruth">projects</a>
</h2>
<ol>
<li>
<a target="_blank" class="project" href="https://thecourseforum.com"
>theCourseForum</a
>
<span class="description"
>&#8212; university-wide enrollment analytics</span
>
</li>
<li>
<a
target="_blank"
class="project"
href="https://atlas-devs-atlas.vercel.app/"
>atlas</a
>
<span class="description"
>&#8212; cutting-edge machine learning research blog</span
>
</li>
<li>
<a target="_blank" class="project" href="https://github.com/nvimdev"
>nvimdev</a
>
<span class="description"
>&#8212; open-source neovim contributions</span
>
</li>
</ol>
<h2><a target="_blank" href="/resume.pdf">resume</a></h2>
</body>
<style type="text/css">
@font-face {
font-family: et-book;
src: url(et-book.ttf);
}
a {
color: inherit;
}
body {
font-family: et-book;
font-size: 1.5em;
background-color: #f9f5d7;
margin: 100px auto;
max-width: 650px;
scroll-behavior: smooth;
overscroll-behavior-y: none;
overscroll-behavior-x: none;
}
body,
html {
overflow-anchor: none;
}
.project {
position: relative;
text-decoration: none;
}
.project::after {
content: "";
position: absolute;
width: 0;
height: 1px;
background-color: #000;
bottom: 0;
left: 0;
transition: width 0.4s;
}
.project:hover::after {
width: 100%;
}
.description {
visibility: hidden;
white-space: nowrap;
overflow: hidden;
width: 0;
transition: all 0.4s ease;
display: inline-block;
vertical-align: top;
max-width: 0;
}
.project:hover + .description,
.description.revealed {
visibility: visible;
width: auto;
max-width: 450px;
}
.container {
position: relative;
}
.social-icons {
position: absolute;
top: 10px;
right: 10px;
font-size: 1.5em;
}
.social-icons a {
margin-left: 15px;
color: inherit;
text-decoration: none;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function () {
document.querySelectorAll(".project").forEach((project) => {
project.addEventListener("mouseover", () => {
const description = project.nextElementSibling;
description.classList.add("revealed");
});
});
});
</script>
</html>