diff --git a/static/css/style.css b/static/css/style.css index f24de47..81e595a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -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; @@ -246,8 +258,9 @@ 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 { @@ -255,6 +268,7 @@ nav.scrolled { font-size: 2.5rem; color: var(--indigo); letter-spacing: -0.02em; + margin: 0; } .section-heading .line { @@ -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; @@ -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; diff --git a/templates/index.html b/templates/index.html index 51d993b..7aae2b2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,8 +7,8 @@ PythonAsia @@ -42,6 +42,9 @@

Software built by the Python community across Asia

+
+ +

Featured Projects

@@ -138,18 +141,85 @@

Cardiff

+
+
+ +

Meet the Contributors

+
+
+ +
+
+ Daniel Roy Greenfeld +
+

Daniel Roy Greenfeld

+

Air Framework Co-founder

+
+
+
+ Audrey M. Roy Greenfeld +
+

Audrey M. Roy Greenfeld

+

Air Framework Co-founder

+
+
+
+ Jay Miller +
+

Jay Miller

+

Render Engine Lead Developer

+
+
+
+ Mesrenyame Dogbe +
+

Mesrenyame Dogbe

+

Organizer Toolkit Developer

+
+
+
+ Mason Egger +
+

Mason Egger

+

Organizer Toolkit Developer

+
+
+
+ Zildjian E. California +
+

Zildjian E. California

+

Cardiff Creator

+
+
+
+
+ +
+
+

Submit Your Project

+
+
+ +
+ + + + + + + +

Form is not connected to a backend in this demo.

+
+
+

Share your project

Building something in the open? We want to feature Python open source projects from developers across Asia. Submit yours to be showcased.

-
@@ -158,7 +228,143 @@

Share your project

2025 PythonAsia Community + + {% endblock %} \ No newline at end of file