Log in

HCMC Journal

More progress on home page cards

: Martin Holmes
Minutes: 100

Today I worked on feedback from the team on the home page cards, and extended the layout so that there is an additional explanation for each card which is hidden by default, but which slides up from below on hover or focus (so it’s accessible in that respect). Took a little while to figure out which CSS approach would be best for this, but in the end a simple flex layout with some transforms did the job much more simply than some of the models I’ve seen. I also added an extra card for women poets, and extended the XSLT handling listPersons so that it can be passed a parameter for gender to create special listings; I will do the same with nationality if that seems like a type of subcollection we also want to create.