Recreating Latest

Random%20Topic
How would I be able to recreate how the structure and style of how latest topics are displayed like above. I would like to recreate this for a plugin. I would love any suggestions on how I can recreate this.

Thanks.