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
4 changes: 4 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@
## 2024-07-15 - Expand clickable area of project cards
**Learning:** Using an anchor tag to wrap an entire card (block-level element) can result in verbose and confusing screen reader output. However, restricting the clickable area to just the title makes the UI harder to interact with (violating Fitts's Law).
**Action:** Apply `position: relative` to the card container and use a `::after` pseudo-element with `position: absolute; inset: 0;` on the title's anchor tag. This expands the clickable area to the whole card while keeping semantic and accessible HTML structure.

## 2026-08-03 - Add active state for buttons
**Learning:** 단일 λ²„νŠΌκ³Ό 링크(.button, .language-switch button) μš”μ†Œλ“€μ— hover μƒνƒœλŠ” μ‘΄μž¬ν•˜μ§€λ§Œ, ν΄λ¦­ν•˜λŠ” μˆœκ°„μ˜ μ‹œκ°μ  ν”Όλ“œλ°±(:active)이 λˆ„λ½λ˜μ–΄ μžˆμ–΄ 물리적인 μΈν„°λž™μ…˜ κ²½ν—˜μ΄ λ‹€μ†Œ λ°‹λ°‹ν•©λ‹ˆλ‹€.
**Action:** μΈν„°λž™ν‹°λΈŒ μš”μ†Œμ—λŠ” μƒνƒœ λ³€ν™”(focus, hover, active)λ§ˆλ‹€ μ μ ˆν•œ μ‹œκ°μ  λ‹¨μ„œλ₯Ό μ œκ³΅ν•˜μ—¬ μ‚¬μš©μžκ°€ μ˜λ„ν•œ μ‘°μž‘μ΄ μ‹œμŠ€ν…œμ— 잘 μ „λ‹¬λ˜μ—ˆμŒμ„ μ•Œ 수 μžˆλ„λ‘ transform: scale()을 ν™œμš©ν•΄ 마이크둜 μΈν„°λž™μ…˜μ„ κ΅¬ν˜„ν•©λ‹ˆλ‹€.
12 changes: 10 additions & 2 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,11 @@ a {
font-size: 13px;
font-weight: 850;
cursor: pointer;
transition: opacity 0.2s;
transition: opacity 0.2s, transform 0.1s ease;
}

.language-switch button:active {
transform: scale(0.96);
}

.language-switch button:not([aria-pressed="true"]):hover {
Expand Down Expand Up @@ -218,7 +222,11 @@ h1 {
text-decoration: none;
font-size: 15px;
font-weight: 800;
transition: opacity 0.2s;
transition: opacity 0.2s, transform 0.1s ease;
}

.button:active {
transform: scale(0.98);
}

.button:hover {
Expand Down
Loading