Skip to content

Commit 8567e5f

Browse files
committed
STYLE: expand member spacing and adopt dynamic gallery grid
1 parent 09a876b commit 8567e5f

3 files changed

Lines changed: 23 additions & 5 deletions

File tree

CLAUDE.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
# CLAUDE.md — Lee Optimization Group Homepage
1+
# CLAUDE.md
22

3-
This is a static HTML/CSS academic lab website for the **Lee Optimization Group (LOG)** at POSTECH.
3+
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4+
5+
## Overview
6+
7+
This is a static HTML/CSS academic lab website for the **Lee Optimization Group (LOG)** at POSTECH, deployed via GitHub Pages at `opt.postech.ac.kr`. There is no build step — edit HTML files directly and push to deploy.
48

59
## Pages
610

@@ -14,6 +18,18 @@ This is a static HTML/CSS academic lab website for the **Lee Optimization Group
1418
| `contact.html` | Contact info |
1519
| `gallery.html` | Lab photos |
1620

21+
## Architecture
22+
23+
**CSS is inline per-page** — each HTML file contains a full `<style>` block in `<head>`. There is no shared stylesheet. When making a visual change that must apply site-wide (e.g., changing a font size or color), you must update every page's `<style>` block individually.
24+
25+
**Asset directories:**
26+
- `logo/` — sponsor and collaborator logos (PNG/SVG); referenced in `index.html` and `research.html`
27+
- `research_focus/` — thumbnail images for research area cards in `research.html`
28+
- `stories/` — gallery photos for `gallery.html` (year-prefixed filenames, e.g., `25_iclr.jpeg`)
29+
- `group_profile/` — member headshots for `group.html` (filename = person's name slug)
30+
31+
**Scratch files** (not published pages, do not modify unless explicitly asked): `index_v1.html`, `design_demo.html`, `font_compare.html`
32+
1733
## Design Conventions (must be preserved)
1834

1935
- **Background**: `#FAF8F5` (warm off-white)
@@ -47,6 +63,8 @@ When adding or modifying any page, verify all of the following:
4763
- [ ] **Lab name font size is fixed at `2.3em`** — do not use `clamp()` with a viewport unit for `.lab-name`, and do not override it in media queries
4864
- [ ] **Body text is unified at `0.93em`** across all pages — `p`, `.intro`, and equivalent paragraph elements must use `0.93em`, matching `index.html`
4965
- [ ] **Logo card containers use `flex-wrap: wrap`** so logos reflow to multiple rows on narrow screens instead of shrinking — do not set `flex-wrap: nowrap` or force images to scale down inside logo cards (`.sponsor-logos`, `.collab-logos`)
66+
- [ ] **Members grid keeps fixed avatar size** — member photos must not shrink on small screens; reduce the number of columns instead (`4 → 3 → 2 → 1`) and keep visible spacing between cards
67+
- [ ] **Gallery page uses dynamic grid**`.gallery-grid` should use `repeat(auto-fit, minmax(..., 1fr))` with consistent `gap`, so tile count adapts smoothly to viewport width
5068

5169
### Content
5270
- [ ] External links open in a new tab (`target="_blank"`) and have `rel="noopener"`

gallery.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@
103103
/* Gallery grid */
104104
.gallery-grid {
105105
display: grid;
106-
grid-template-columns: repeat(6, 1fr);
107-
gap: 4px;
106+
grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
107+
gap: 8px;
108108
}
109109

110110
.gallery-item {

group.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
display: grid;
132132
grid-template-columns: repeat(4, 140px);
133133
justify-content: center;
134-
gap: 28px 28px;
134+
gap: 34px 34px;
135135
}
136136

137137
.member-item {

0 commit comments

Comments
 (0)