bunch of updates

This commit is contained in:
Barrett Ruth 2025-05-13 13:35:37 -04:00
commit fda13b53ad
14 changed files with 693 additions and 0 deletions

64
styles/common.css Normal file
View file

@ -0,0 +1,64 @@
/* Fonts will be loaded from system */
html,
body {
font-family: "Signifier", serif;
overscroll-behavior: none;
margin: 0;
padding: 0;
height: 100%;
}
header,
footer {
padding: 20px;
}
a {
color: inherit;
}
li {
margin-bottom: 10px;
}
.graph-background {
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;
}
.terminal-cursor {
display: inline-block;
width: 10px;
height: 1em;
background-color: white;
border: 1px solid black;
vertical-align: text-top;
animation: blink 1s step-start infinite;
}
@keyframes blink {
50% {
background-color: transparent;
border-color: transparent;
}
}
.terminal-container {
font-family: "Courier New", monospace;
}
/* Code styling */
:not(pre) > code {
font-family: "Courier New", Courier, monospace;
margin: 0 5px;
font-size: 0.8em; /* Match the font size in barrettruth.com */
white-space: nowrap;
border: 1px solid #e1e1e1;
background-color: #f4f4f4;
border-radius: 4px;
display: inline-block;
padding: 0.2em 0.4em;
}

113
styles/index.css Normal file
View file

@ -0,0 +1,113 @@
html,
body {
display: flex;
flex-direction: column;
}
header,
footer {
font-size: 1.5em;
display: flex;
align-items: center;
}
header {
justify-content: space-between;
}
footer {
justify-content: space-between;
}
.main {
flex: 1;
display: flex;
}
.header-links a,
.footer-links a {
margin-left: 25px;
}
.greek-delta {
font-family: "Times New Roman", Times, serif;
font-size: 1.5em;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
.content {
display: flex;
justify-content: space-between;
width: 100%;
}
.repos,
.repos-list,
.posts,
.topics {
padding: 0 40px;
align-self: center;
}
.repos-list,
.topics {
font-size: 3em;
}
.repos,
.posts {
font-size: 2em;
text-align: right;
flex: 1;
}
a {
text-decoration: none;
}
.repo-item,
.post {
margin-bottom: 25px;
}
.repo-item a,
.topic a {
position: relative;
display: inline-block;
color: inherit;
text-decoration: none;
margin-bottom: 25px;
transition: color 0.5s ease;
}
.repo-item a::after,
.topic a::after {
content: "";
height: 2px;
display: block;
margin-top: 4px;
background: currentColor;
width: 0;
right: 100%;
position: absolute;
transition:
width 0.5s ease,
right 0.5s ease;
}
.repo-item a:hover::after,
.repo-item a.active::after,
.topic a:hover::after,
.topic a.active::after {
width: 100%;
right: 0;
}
.repo-description {
margin-top: 10px;
font-size: 0.7em;
}