StealThis .dev
الصفحات متوسط

News — Magazine Table of Contents

A print-grade magazine table of contents for an editorial issue, built with strict column grids and hairline rules. An issue masthead carries the logo, number, and date above a featured on-the-cover hero with a duotone press photo, drop cap, and pull quote. Categorized listings for Features, Departments, and Columns pair page numbers, deks, and contributors, while category tabs, a live title search, and a floating hover thumbnail make the page feel alive.

فتح في المختبر
html css vanilla-js
الأهداف: JS HTML

الكود

Magazine Table of Contents

A complete front-of-book contents page for a fictional monthly, art-directed like real print. The masthead sets the issue number, date, theme, and cover price across a three-up header, then hands off to a cover feature: a 4:5 duotone “press photograph” beside an oversized Playfair headline, a drop-capped dek, a dateline byline with read time, and a centered serif pull quote. Below the thick rule, the issue is laid out in two newsprint columns and broken into Features, Departments, and Columns, each row carrying a red folio number, title, short dek, and contributor.

The page is quietly interactive. Section tabs filter the listings (and the cover) in place, an Escape-clearable search box matches titles, deks, and bylines as you type, and an empty state appears in italic serif when nothing matches. Hovering or keyboard-focusing any row raises a small floating thumbnail rendered entirely in CSS gradients, so the reader gets a glimpse of the “page” before turning to it. A contributors strip with monogram avatars closes the issue, and a toast confirms each navigation.

Everything is self-contained — two Google Fonts, semantic article/figure/figcaption markup, WCAG-AA contrast, full keyboard support, and a responsive grid that collapses to a single column on phones with no framework or build step.

Illustrative UI only — masthead, headlines, bylines, and articles are fictional; not a real news publication.