Fixed mobile formatting for hero-by line

This commit is contained in:
John Gatward
2026-03-21 13:24:13 +00:00
parent 6f313c8d49
commit 2100334f1f
2 changed files with 22 additions and 2 deletions

View File

@@ -69,8 +69,6 @@
</div> </div>
<div class="intro"> <div class="intro">
<h3 id="introjump">About me</h3> <h3 id="introjump">About me</h3>
<p class="v4-margin-note">The original
about me section was full of nonsense memes and has been removed.</p>
<p>A cool website to show my projects</p> <p>A cool website to show my projects</p>
</div> </div>

View File

@@ -1052,6 +1052,28 @@ footer a:hover {
font-size: clamp(2.8rem, 12vw, 5rem); font-size: clamp(2.8rem, 12vw, 5rem);
} }
.hero-by-line {
align-items: flex-start;
flex-wrap: wrap;
gap: 0.35rem;
margin-bottom: 0.45rem;
}
.hero-by-line:last-child {
margin-bottom: 0;
}
.hero-by {
font-size: 0.86rem;
line-height: 1.5;
}
.hero-by-role {
font-size: 0.8rem;
line-height: 1.5;
opacity: 0.75;
}
footer { footer {
flex-direction: column; flex-direction: column;
gap: 0.5rem; gap: 0.5rem;