In a discussion titled ‘Cards design for topics?’ within the UX category, amaboura asked if the Discourse community had successfully transformed topic lists from tables into card layouts, similar to a Dribbble design. Tom_Newsom initially suggested that a plugin would be required to hijack templates, but later discovered that using display: inline-block on .topic-list-item via CSS could achieve the effect without a full plugin. He shared a working example combining this styling with the Topic List Previews plugin to show excerpts, though he noted that fully integrating author info and likes would require deeper customization. pinbot inquired about the difficulty of fully integrated cards, while Pad_Pors asked if cards could be organized by tags or categories like the TED design. Tom_Newsom clarified that such organization is likely impossible through simple styling and would require a plugin, though he acknowledged that category pages previously offered similar organization without excerpts. Finally, cpradio suggested that mobile view overrides might now be possible, referencing a Meta discussion on overriding Handlebars templates.
The topic list is structured as a table, so I think it would be impossible to do this in CSS. You’d need to write a plugin that hijacks the topic-list template and the topic-list-item method to create <div>s instead. No small task.
EDIT: Hang on, you can’t display: inline-block a <tr> can you? that might work.
Yes it does work. Styling each card would be a bottomless pit of CSS despair, but I believe it can be done. Combine with the Topic List Previews plugin and you’d get an excerpt on each card.
Actually it might be due to it using the Mobile view. And prior to today, Mobile view templates couldn’t be overridden. So now that they can be, he might already be working on that.