Add Projects page with detail view, removed navbar entries that only led to home and made featured projects links to the new site
All checks were successful
publish.yml / publish (push) Successful in 1m9s
All checks were successful
publish.yml / publish (push) Successful in 1m9s
This commit is contained in:
98
src/pages/projects/projects.css
Normal file
98
src/pages/projects/projects.css
Normal file
@@ -0,0 +1,98 @@
|
||||
.page-wrap {
|
||||
margin: 0 auto;
|
||||
padding: 1rem 1.25rem 4rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 2.5rem;
|
||||
border: 1px solid rgba(110, 118, 129, 0.28);
|
||||
border-radius: 24px;
|
||||
background: radial-gradient(circle at top right, rgba(88, 166, 255, 0.2), rgba(13, 17, 23, 0.85));
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
width: fit-content;
|
||||
margin: 0 0 1rem;
|
||||
padding: 0.35rem 0.7rem;
|
||||
border: 1px solid rgba(88, 166, 255, 0.5);
|
||||
border-radius: 999px;
|
||||
color: #9ecbff;
|
||||
font-size: 0.82rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: clamp(2rem, 5vw, 3.2rem);
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.lede {
|
||||
max-width: 65ch;
|
||||
margin-top: 1rem;
|
||||
color: #c9d1d9;
|
||||
}
|
||||
|
||||
.card-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.project-link {
|
||||
display: block;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.project-card {
|
||||
height: 100%;
|
||||
transition: border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
|
||||
}
|
||||
|
||||
.project-link:hover .project-card,
|
||||
.project-link:focus-visible .project-card {
|
||||
border-color: rgba(88, 166, 255, 0.8);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 14px 28px rgba(31, 111, 235, 0.2);
|
||||
}
|
||||
|
||||
.project-link:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.project-card p {
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
|
||||
.meta {
|
||||
color: #8b949e;
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
|
||||
.impact {
|
||||
color: #9ecbff;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.page-wrap {
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 2rem 1.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user