Adds border for index and applies vertical rythm