Template:PosterGalleryCSS.css

From KSI Wiki
Revision as of 13:53, 14 September 2025 by Void (talk | contribs)
Jump to: navigation, search
/* === Card frame for each poster === */
.ksi-posters .gallerybox .thumb {
  border: 1px solid #777;
  background: #111;
  padding: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.ksi-posters .thumb img {
  display:block;
  width:100%;
  height:auto;
}

/* === Caption text === */
.ksi-posters .gallerytext {
  color: #fff !important;   /* force non-link caption text to white */
  font-size: 90%;
  padding-top: 4px;
  text-align: center;
}

/* Make sure only non-links stay white */
.ksi-posters .gallerytext :not(a) {
  color: #fff !important;
}

/* Reset links back to default browser/site colors */
.ksi-posters .gallerytext a,
.ksi-posters .gallerytext a:visited,
.ksi-posters .gallerytext a:active,
.ksi-posters .gallerytext a:hover,
.ksi-posters .gallerytext a:focus {
  color: inherit !important;
  text-decoration: underline;
}