new draft

This commit is contained in:
Barrett Ruth 2024-06-07 18:09:00 -05:00
parent 9ed4e4512d
commit 39e2f23762
5 changed files with 158 additions and 38 deletions

0
about.html Normal file
View file

126
index.css
View file

@ -1,74 +1,130 @@
@font-face {
font-family: 'Signifier';
src: url('public/signifier/Signifier-Regular.ttf');
font-family: "Signifier";
src: url("public/signifier/Signifier-Regular.ttf");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Signifier';
src: url('public/signifier/Signifier-Italic.ttf');
font-family: "Signifier";
src: url("public/signifier/Signifier-Italic.ttf");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Signifier';
src: url('public/signifier/Signifier-Bold.ttf');
font-family: "Signifier";
src: url("public/signifier/Signifier-Bold.ttf");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Signifier';
src: url('public/signifier/Signifier-BoldItalic.ttf');
font-family: "Signifier";
src: url("public/signifier/Signifier-BoldItalic.ttf");
font-weight: bold;
font-style: italic;
}
html,
body {
height: 100%;
font-family: "Signifier";
font-family: "Signifier", serif;
overflow: hidden;
margin: 0;
padding: 0;
height: 100%;
display: flex;
flex-direction: column;
overscroll-behavior-x: none;
overscroll-behavior-y: none;
background-color: #f3f3f3;
}
main {
flex: 1;
background-image: linear-gradient(
to right,
rgba(200, 200, 200, 0.4) 1px,
transparent 1px
),
linear-gradient(to bottom, rgba(200, 200, 200, 0.4) 1px, transparent 1px);
background-size: 3vw 3vw;
}
header,
footer {
text-align: center;
padding: 10px 0;
font-size: 1.5em;
display: flex;
justify-content: flex-end;
align-items: center;
padding: 20px;
}
header {
.main {
flex: 1;
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;
header a,
footer a {
margin-left: 20px;
}
ul {
list-style: none; /* no bullet points */
list-style: none;
}
a {
color: inherit;
text-decoration: none;
}
.topics {
padding-left: 30px;
font-size: 2.5em;
margin: 0;
}
.topic {
margin-bottom: 25px;
transition: color 0.5s ease;
}
.topic.software:hover {
color: #0073e6;
}
.topic.economics:hover {
color: #009975;
}
.topic.trading:hover {
color: #d50032;
}
.topic.interview-problems:hover {
color: #6a0dad;
}
.logo {
height: 40px;
}
.topic a {
position: relative;
display: inline-block;
color: inherit;
text-decoration: none;
}
.topic a::after {
content: "";
height: 2px;
display: block;
margin-top: 4px;
background: currentColor;
transition:
width 0.5s ease,
right 0.5s ease;
}
.topic a:hover::after {
width: 100%;
right: 0;
}
.topic a:not(:hover)::after {
width: 0;
right: 100%;
}

View file

@ -2,10 +2,48 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>barrett ruth</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="index.css" />
<!-- <link rel="icon" type="image/webp" href="/public/logo.webp" /> -->
<title>Barrett Ruth</title>
</head>
<body>
my website
<header>
<!-- <img src="public/logo.webp" alt="Barrett Ruth Logo" class="logo" /> -->
<nav class="nav">
<a target="_blank" href="public/resume.pdf">Resume</a>
<a target="_blank" href="public/transcript.pdf">Transcript</a>
<!-- <a target="_blank" href="about.html">About</a> -->
<a target="_blank" href="/wip.html">About</a>
</nav>
</header>
<main class="main">
<ul class="topics">
<li class="topic software">
<!-- <a href="topics/software">Software</a> -->
<a href="/wip.html">Software</a>
</li>
<li class="topic economics">
<!-- <a href="topics/economics">Economics</a> -->
<a href="/wip.html">Economics</a>
</li>
<li class="topic trading">
<!-- <a href="topics/trading">Trading</a> -->
<a href="/wip.html">Trading</a>
</li>
<li class="topic interview-problems">
<!-- <a href="topics/interview-problems">Interview Problems</a> -->
<a href="wip.html">Interview Problems</a>
</li>
</ul>
</main>
<footer>
<a target="_blank" href="https://github.com/barrett-ruth/">GitHub</a>
<a target="_blank" href="https://www.linkedin.com/in/barrett-ruth/"
>LinkedIn</a
>
<a target="_blank" href="mailto:br.barrettruth@gmail.com">Email</a>
</footer>
</body>
</html>

Binary file not shown.

26
wip.html Normal file
View file

@ -0,0 +1,26 @@
<!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="index.css" />
<!-- <link rel="icon" type="image/webp" href="/public/logo.webp" /> -->
<title>Barrett Ruth</title>
</head>
<body>
<main>
<div
style="
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-size: 2.5em;
"
>
<a class="topic" href="/">wip</a>
</div>
</main>
</body>
</html>