remove previous site
This commit is contained in:
parent
057bd4f7d6
commit
b4d725fe2b
3 changed files with 132 additions and 130 deletions
107
index.css
107
index.css
|
|
@ -1,75 +1,44 @@
|
||||||
@font-face {
|
html,
|
||||||
font-family: et-book;
|
|
||||||
src: url(et-book.ttf);
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: et-book;
|
height: 100%;
|
||||||
font-size: 1.5em;
|
font-family: "EB Garamond";
|
||||||
background-color: #f9f5d7;
|
margin: 0;
|
||||||
margin: 100px auto;
|
|
||||||
max-width: 675px;
|
|
||||||
scroll-behavior: smooth;
|
|
||||||
overscroll-behavior-y: none;
|
|
||||||
overscroll-behavior-x: none;
|
|
||||||
}
|
|
||||||
body,
|
|
||||||
html {
|
|
||||||
overflow-anchor: none;
|
|
||||||
padding: 0 5%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.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.5s;
|
|
||||||
}
|
|
||||||
.project:hover::after {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.description {
|
|
||||||
visibility: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
overflow: hidden;
|
|
||||||
width: 0;
|
|
||||||
transition: all 0.6s 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 {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 10px;
|
|
||||||
right: 10px;
|
|
||||||
font-size: 1.5em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-icons a {
|
main {
|
||||||
margin-left: 15px;
|
flex: 1;
|
||||||
color: inherit;
|
}
|
||||||
text-decoration: none;
|
|
||||||
|
header,
|
||||||
|
footer {
|
||||||
|
text-align: center;
|
||||||
|
padding: 10px 0;
|
||||||
|
background-color: #f3f3f3;
|
||||||
|
}
|
||||||
|
|
||||||
|
header {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-left {
|
||||||
|
flex: 1;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-right {
|
||||||
|
flex: 1;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
img.logo {
|
||||||
|
width: 7%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style-type: none; /* no bullet points */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
155
index.html
155
index.html
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
|
@ -9,74 +9,107 @@
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
|
||||||
/>
|
/>
|
||||||
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||||
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap"
|
||||||
|
rel="stylesheet"
|
||||||
|
/>
|
||||||
<title>Barrett Ruth</title>
|
<title>Barrett Ruth</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<header>
|
||||||
<div class="social-icons">
|
<div class="header-left">
|
||||||
<a href="https://linkedin.com/in/barrett-ruth" target="_blank">
|
<img src="public/logo.webp" alt="Barrett Ruth logo" class="logo" />
|
||||||
<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>
|
</div>
|
||||||
<h1>Barrett Ruth</h1>
|
<div class="header-right">
|
||||||
</div>
|
<span>Header Text Here</span>
|
||||||
<aside>Software developer.</aside>
|
</div>
|
||||||
<aside>Simplicity advocate.</aside>
|
</header>
|
||||||
<h2>
|
<main>
|
||||||
<a target="_blank" href="https://github.com/barrett-ruth">projects</a>
|
<ul>
|
||||||
</h2>
|
<li>Projects</li>
|
||||||
<ol>
|
<li>Resume</li>
|
||||||
<li>
|
<li>Transcript</li>
|
||||||
<a target="_blank" class="project" href="https://thecourseforum.com"
|
</ul>
|
||||||
>theCourseForum</a
|
</main>
|
||||||
>
|
<footer>
|
||||||
<span class="description"
|
<div>Footer Text Here</div>
|
||||||
>— university-wide enrollment analytics</span
|
<div>
|
||||||
>
|
<a href="https://twitter.com/yourtwitterhandle">Twitter</a> |
|
||||||
</li>
|
<a href="https://linkedin.com/in/yourlinkedinprofile">LinkedIn</a>
|
||||||
<li>
|
</div>
|
||||||
<a
|
</footer>
|
||||||
target="_blank"
|
|
||||||
class="project"
|
|
||||||
href="https://atlas-devs-atlas.vercel.app/"
|
|
||||||
>atlas</a
|
|
||||||
>
|
|
||||||
<span class="description"
|
|
||||||
>— cutting-edge machine learning research blog</span
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a target="_blank" class="project" href="https://github.com/nvimdev"
|
|
||||||
>nvimdev</a
|
|
||||||
>
|
|
||||||
<span class="description"
|
|
||||||
>— open-source neovim contributions</span
|
|
||||||
>
|
|
||||||
</li>
|
|
||||||
</ol>
|
|
||||||
<h2>
|
|
||||||
<a href="https://swe-interview-prep.vercel.app" target="_blank"
|
|
||||||
>interview preparation</a
|
|
||||||
>
|
|
||||||
</h2>
|
|
||||||
<h2><a target="_blank" href="/public/resume.pdf">resume</a></h2>
|
|
||||||
<h2 style="display: none">
|
|
||||||
<a target="_blank" href="/public/transcript.pdf">transcript</a>
|
|
||||||
</h2>
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
<!-- <body> -->
|
||||||
|
<!-- TODO: move this -->
|
||||||
|
<!-- <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" -->
|
||||||
|
<!-- >— university-wide enrollment analytics</span -->
|
||||||
|
<!-- > -->
|
||||||
|
<!-- </li> -->
|
||||||
|
<!-- <li> -->
|
||||||
|
<!-- <a -->
|
||||||
|
<!-- target="_blank" -->
|
||||||
|
<!-- class="project" -->
|
||||||
|
<!-- href="https://atlas-devs-atlas.vercel.app/" -->
|
||||||
|
<!-- >atlas</a -->
|
||||||
|
<!-- > -->
|
||||||
|
<!-- <span class="description" -->
|
||||||
|
<!-- >— cutting-edge machine learning research blog</span -->
|
||||||
|
<!-- > -->
|
||||||
|
<!-- </li> -->
|
||||||
|
<!-- TODO: no -->
|
||||||
|
<!-- <li> -->
|
||||||
|
<!-- <a target="_blank" class="project" href="https://github.com/nvimdev" -->
|
||||||
|
<!-- >nvimdev</a -->
|
||||||
|
<!-- > -->
|
||||||
|
<!-- <span class="description" -->
|
||||||
|
<!-- >— open-source neovim contributions</span -->
|
||||||
|
<!-- > -->
|
||||||
|
<!-- </li> -->
|
||||||
|
<!-- </ol> -->
|
||||||
|
<!-- TODO: remove this? -->
|
||||||
|
<!-- <h2> -->
|
||||||
|
<!-- <a href="https://swe-interview-prep.vercel.app" target="_blank" -->
|
||||||
|
<!-- >interview preparation</a -->
|
||||||
|
<!-- > -->
|
||||||
|
<!-- </h2> -->
|
||||||
|
<!-- <h2><a target="_blank" href="/public/resume.pdf">resume</a></h2> -->
|
||||||
|
<!-- <h2 style="display: none"> -->
|
||||||
|
<!-- <a target="_blank" href="/public/transcript.pdf">transcript</a> -->
|
||||||
|
<!-- </h2> -->
|
||||||
|
<!-- </body> -->
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function () {
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
document.querySelectorAll(".project").forEach((project) => {
|
document.querySelectorAll(".project").forEach((p) => {
|
||||||
project.addEventListener("mouseover", () => {
|
p.addEventListener("mouseover", () => {
|
||||||
const description = project.nextElementSibling;
|
p.nextElementSibling.classList.add("revealed");
|
||||||
description.classList.add("revealed");
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
BIN
public/logo.webp
Normal file
BIN
public/logo.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 76 KiB |
Loading…
Add table
Add a link
Reference in a new issue