Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
220 changes: 214 additions & 6 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ body {
overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Instrument Serif', serif;
color: var(--indigo);
margin: 0;
}

p, .project-description, .contributor-info p, .hero-description, .contribute-text p {
font-family: 'DM Sans', sans-serif;
color: var(--text-mid);
line-height: 1.7;
}

body::after {
content: '';
position: fixed;
Expand Down Expand Up @@ -246,15 +258,17 @@ nav.scrolled {
margin: 0 auto;
padding: 0 2.5rem 3rem;
display: flex;
align-items: baseline;
justify-content: space-between;
flex-direction: column;
align-items: flex-start;
gap: 1rem;
}

.section-heading h2 {
font-family: 'Instrument Serif', serif;
font-size: 2.5rem;
color: var(--indigo);
letter-spacing: -0.02em;
margin: 0;
}

.section-heading .line {
Expand All @@ -264,6 +278,56 @@ nav.scrolled {
margin-left: 2rem;
}

.search-container {
width: 100%;
max-width: 520px;
margin: 0;
}

.search-input {
width: 100%;
max-width: 520px;
padding: 0.95rem 1.2rem;
font-size: 0.95rem;
font-family: 'DM Sans', sans-serif;
color: var(--text-dark);
background: var(--cream);
border: 2px solid rgba(27, 20, 100, 0.15);
border-radius: 12px;
outline: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
box-shadow: 0 6px 15px rgba(27,20,100,0.05);
}

.search-input::placeholder {
color: var(--text-mid);
opacity: 0.9;
}

.search-input:focus {
border-color: var(--indigo);
box-shadow: 0 0 0 3px rgba(27, 20, 100, 0.12), 0 8px 18px rgba(27,20,100,0.12);
transform: translateY(-1px);
}

#contributor-search:focus {
border-color: var(--indigo);
box-shadow: 0 0 0 3px rgba(27, 20, 100, 0.12), 0 8px 18px rgba(27,20,100,0.12);
transform: translateY(-1px);
}

.contributors-search {
width: 100%;
max-width: 420px;
margin: 0 0 1.5rem 0;
text-align: center;
align-self: flex-start;
}

#contributor-search {
width: 100%;
}

.projects {
max-width: 1300px;
margin: 0 auto;
Expand Down Expand Up @@ -438,16 +502,160 @@ nav.scrolled {
flex-shrink: 0;
}

.contribute {
.contributors {
max-width: 1300px;
margin: 0 auto;
padding: 0 2.5rem 6rem;
text-align: center;
}

.contributors-grid {
display: grid;
grid-template-columns: repeat(3, 240px);
gap: 1.5rem;
justify-content: center;
align-items: start;
max-width: 780px;
margin: 0 auto;
}

@media (max-width: 820px) {
.contributors-grid {
grid-template-columns: repeat(2, 220px);
max-width: 480px;
}
}

@media (max-width: 540px) {
.contributors-grid {
grid-template-columns: 220px;
max-width: 220px;
}
}

.contributor-card {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
justify-content: flex-start;
padding: 1.4rem;
background: white;
border-radius: 16px;
border: 1px solid rgba(27, 20, 100, 0.08);
box-shadow: var(--card-shadow);
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: 100%;
max-width: 240px;
min-height: 260px;
margin: 0 auto;
}

.contributor-card:hover {
transform: translateY(-5px);
box-shadow: var(--card-shadow-hover);
}

.contributor-card img,
.contributor-avatar {
width: 100px;
height: 100px;
object-fit: cover;
display: block;
margin: 0 auto 0.85rem;
border-radius: 8px;
border: 3px solid var(--gold);
}

.contributor-info h4 {
font-size: 1rem;
margin-bottom: 0.3rem;
}

.contributor-info p {
font-size: 0.88rem;
color: var(--text-mid);
margin: 0;
font-weight: 500;
}

.contributor-card:hover .contributor-avatar {
transform: scale(1.05);
}

.submission-form {
max-width: 520px;
margin: 1.5rem auto 2rem;
background: white;
border: 1px solid rgba(27, 20, 100, 0.1);
border-radius: 14px;
box-shadow: var(--card-shadow);
padding: 1.75rem;
display: flex;
flex-direction: column;
gap: 0.9rem;
}

.submission-form label {
font-size: 0.88rem;
color: var(--text-dark);
font-weight: 600;
}

.contribute-card {
.submission-form input {
padding: 0.78rem 0.95rem;
border: 1px solid rgba(27, 20, 100, 0.2);
border-radius: 10px;
font-size: 0.95rem;
}

.submission-form input:focus {
outline: none;
border-color: var(--indigo);
box-shadow: 0 0 0 3px rgba(27, 20, 100, 0.12);
}

.submit-btn {
background: var(--indigo);
border-radius: 20px;
padding: 4rem 5rem;
color: var(--cream);
border: none;
padding: 0.85rem 1.2rem;
border-radius: 10px;
cursor: pointer;
font-size: 0.95rem;
font-weight: 600;
}

.submit-btn:hover {
background: var(--indigo-light);
}

.submission-status {
margin-top: 0.4rem;
color: var(--text-mid);
font-size: 0.85rem;
}


.contributor-info h4 {
font-size: 1.1rem;
color: var(--indigo);
margin-bottom: 0.5rem;
font-weight: 600;
letter-spacing: -0.01em;
}

.contributor-info p {
font-size: 0.9rem;
color: var(--text-mid);
margin: 0;
font-weight: 500;
}

.contribute {
max-width: 1300px;
margin: 0 auto;
padding: 0 2.5rem 6rem;
display: flex;
align-items: center;
justify-content: space-between;
Expand Down
Loading