phil : CSS on table of contents in PIR journal
IK of library asked "Can the page numbers and pdf buttons on the far right hand side be moved a little to the left? That column is so far over to the right that it's actually hard to line up, visually, with the title, etc. over on the left side of the Table of Contents. "
Discovered that each entry in toc is a table and each cell is a member of a different class, so it's no problem to add selectors to the custom css file for the site. I changed the rules to allocate more of the width of the table to the left column cells (tocTitle, tocAuthors) and less to the right column cells (tocGalleys - for PDF link, and tocPages). I also put padding right on the right column cells to put some whitespace between the right justified text in those cells and the vertical line on the right side of the table.
They then wanted more visual spacing between entries (because there is more space between the PDF link in the tocGalley cell and the page numbers in the tocPages cell of one table than there is between the tocPages cell of one entry and the tocGalley cell of the following table. Added some padding-bottom, margin-bottom and light grey border-bottom to each table. Also suggested that they change the modifications they've made to the templates to remove "
Reviewed by" from the end of the tocTitle cell and instead put "Reviewed by " at the start of the tocAuthor cell, that will get rid of the large gap between the PDF link and the page numbers within one TOC table.
The css file I'm using is called pir_table.css .