From bc0df9c764f27118d9d6b475e85f38b7e235db35 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Sat, 9 May 2026 01:45:13 -0700 Subject: Show ratings inline with year/director using brand logos IMDb, Rotten Tomatoes, and Metacritic scores now appear on the same row as the subtitle with SVG brand logos instead of plain text chips. Co-Authored-By: Claude Sonnet 4.6 --- static/logos/imdb.svg | 4 ++++ static/logos/metacritic.svg | 4 ++++ static/logos/rt.svg | 6 ++++++ static/styles.css | 36 ++++++++++++++++-------------------- 4 files changed, 30 insertions(+), 20 deletions(-) create mode 100644 static/logos/imdb.svg create mode 100644 static/logos/metacritic.svg create mode 100644 static/logos/rt.svg (limited to 'static') diff --git a/static/logos/imdb.svg b/static/logos/imdb.svg new file mode 100644 index 0000000..e57848d --- /dev/null +++ b/static/logos/imdb.svg @@ -0,0 +1,4 @@ + + + IMDb + diff --git a/static/logos/metacritic.svg b/static/logos/metacritic.svg new file mode 100644 index 0000000..28d759f --- /dev/null +++ b/static/logos/metacritic.svg @@ -0,0 +1,4 @@ + + + M + diff --git a/static/logos/rt.svg b/static/logos/rt.svg new file mode 100644 index 0000000..c028e86 --- /dev/null +++ b/static/logos/rt.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/static/styles.css b/static/styles.css index c7be672..9f8619b 100644 --- a/static/styles.css +++ b/static/styles.css @@ -548,36 +548,32 @@ h2 { color: var(--accent); } -.ratings-row { +.detail-subtitle { display: flex; + align-items: center; + gap: 16px; flex-wrap: wrap; - gap: 10px; - margin: 16px 0 20px; + margin-bottom: 20px; } -.rating-chip { +.ratings-inline { display: flex; - flex-direction: column; - gap: 3px; - border: 1px solid var(--line); - border-radius: 8px; - background: var(--panel); - padding: 10px 14px; - min-width: 90px; + align-items: center; + gap: 14px; } -.rating-chip-label { +.rating-badge { + display: inline-flex; + align-items: center; + gap: 6px; color: var(--muted); - font-size: 0.72rem; - font-weight: 700; - text-transform: uppercase; - letter-spacing: 0.06em; + font-size: 0.88rem; + font-weight: 600; } -.rating-chip-value { - color: var(--text); - font-size: 1.05rem; - font-weight: 600; +.rating-badge img { + display: block; + flex-shrink: 0; } .detail-tagline { -- cgit v1.3-2-g0d8e