ul.gallery-index {
  list-style: none;
  font-weight: bold;
}

ul.gallery-index li a {
  display: block;
  padding: 5px;
}

ul.gallery-index li a:visited {
  color: blue;
}