.nbsphinx-gallery {
  gap: 10px;
}

.nbsphinx-gallery > a {
  background: #fff;
  border: solid #fff 1px;
  border-radius: 5px;
  box-shadow: none;
  transition: 0.2s ease-out;
  text-decoration: none;
}

.nbsphinx-gallery > a:hover {
  box-shadow: 0 0 15px rgba(142, 176, 202, 0.5);
}

.nbsphinx-gallery > a > div > img {
  opacity: 60%;
  transition: 0.2s ease-out;
  border-radius: 100%;
  padding: 20px;
}

.nbsphinx-gallery > a:hover > div > img {
  opacity: 100%;
}

.nbsphinx-gallery > a > div:first-child {
  height: 160px;
}

.nbsphinx-gallery > a > div:last-child {
  padding-bottom: 20px;
}
