diff --git a/CLAUDE.md b/CLAUDE.md index 1b28ecf..80b9d55 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,6 +4,10 @@ **NEVER attribute Claude in commit messages.** No co-author tags, no "Generated with Claude" footers, no AI mentions. Keep commits clean and human-authored in appearance. +## Naming Conventions + +**Always use `uri`, never `url`.** This applies to variable names, function names, column names, and comments. URI is the correct term (Uniform Resource Identifier). + ## Quick Start ```bash diff --git a/archive.py b/archive.py index e734580..4bb5764 100644 --- a/archive.py +++ b/archive.py @@ -708,7 +708,7 @@ async function search() {{ }} container.innerHTML = data.map(r => `
@@ -779,27 +779,31 @@ MEDIA_HTML = """ margin: 0; padding: 20px; background: #0a0a0a; color: #e0e0e0; }} - .container {{ max-width: 1400px; margin: 0 auto; }} + .container {{ max-width: 1600px; margin: 0 auto; }} h1 {{ color: #ff6b6b; }} nav {{ margin-bottom: 20px; }} nav a {{ color: #ff6b6b; margin-right: 15px; text-decoration: none; }} nav a:hover {{ text-decoration: underline; }} .grid {{ display: grid; - grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); - gap: 15px; + grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); + grid-auto-rows: min-content; + gap: 12px; }} .card {{ background: #1a1a1a; border-radius: 8px; overflow: hidden; transition: transform 0.2s; + break-inside: avoid; }} .card:hover {{ transform: scale(1.02); }} .card a {{ display: block; }} .card img, .card video {{ - width: 100%; height: 150px; - object-fit: contain; background: #222; + width: 100%; + height: auto; + display: block; + background: #222; }} - .card-info {{ padding: 10px; }} + .card-info {{ padding: 8px 10px; }} .card-title {{ font-size: 11px; color: #888; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -823,6 +827,249 @@ MEDIA_HTML = """