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-face {
font-family: 'Signifier'; font-family: "Signifier";
src: url('public/signifier/Signifier-Regular.ttf'); src: url("public/signifier/Signifier-Regular.ttf");
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Signifier'; font-family: "Signifier";
src: url('public/signifier/Signifier-Italic.ttf'); src: url("public/signifier/Signifier-Italic.ttf");
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
} }
@font-face { @font-face {
font-family: 'Signifier'; font-family: "Signifier";
src: url('public/signifier/Signifier-Bold.ttf'); src: url("public/signifier/Signifier-Bold.ttf");
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Signifier'; font-family: "Signifier";
src: url('public/signifier/Signifier-BoldItalic.ttf'); src: url("public/signifier/Signifier-BoldItalic.ttf");
font-weight: bold; font-weight: bold;
font-style: italic; font-style: italic;
} }
html, html,
body { body {
height: 100%; font-family: "Signifier", serif;
font-family: "Signifier"; overflow: hidden;
margin: 0; margin: 0;
padding: 0;
height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overscroll-behavior-x: none; background-image: linear-gradient(
overscroll-behavior-y: none; to right,
background-color: #f3f3f3; rgba(200, 200, 200, 0.4) 1px,
} transparent 1px
),
main { linear-gradient(to bottom, rgba(200, 200, 200, 0.4) 1px, transparent 1px);
flex: 1; background-size: 3vw 3vw;
} }
header, header,
footer { footer {
text-align: center; font-size: 1.5em;
padding: 10px 0; display: flex;
justify-content: flex-end;
align-items: center;
padding: 20px;
} }
header { .main {
flex: 1;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between;
} }
.header-left { header a,
flex: 1; footer a {
text-align: left; margin-left: 20px;
}
.header-right {
flex: 1;
text-align: right;
}
img.logo {
width: 7%;
height: auto;
} }
ul { 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"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>barrett ruth</title> <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> </head>
<body> <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> </body>
</html> </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>