Template:PosterGalleryCSS.css: Difference between revisions
From KSI Wiki
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
.ksi-posters .thumb img { display:block; width:100%; height:auto; } | .ksi-posters .thumb img { display:block; width:100%; height:auto; } | ||
/* | /* Caption container: make all non-link text white */ | ||
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext | .mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext { | ||
color: #fff !important; | color: #fff !important; | ||
font-size: 90%; | font-size: 90%; | ||
padding-top: 4px; | padding-top: 4px; | ||
text-align: center; | text-align: center; | ||
} | |||
/* Restore links to site’s normal colors (replace with your hex) */ | |||
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext a, | |||
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext a:link { | |||
color: #f2a900 !important; /* e.g., #f2a900 */ | |||
text-decoration: underline; | |||
} | |||
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext a:visited { | |||
color: #f2a900 !important; /* use your visited color if different */ | |||
} | |||
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext a:hover, | |||
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext a:focus { | |||
color: #f2a900 !important; /* or your hover color */ | |||
text-decoration: underline; | |||
} | } | ||
Revision as of 13:58, 14 September 2025
/* Card frame */
.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 container: make all non-link text white */
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext {
color: #fff !important;
font-size: 90%;
padding-top: 4px;
text-align: center;
}
/* Restore links to site’s normal colors (replace with your hex) */
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext a,
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext a:link {
color: #f2a900 !important; /* e.g., #f2a900 */
text-decoration: underline;
}
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext a:visited {
color: #f2a900 !important; /* use your visited color if different */
}
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext a:hover,
.mw-parser-output ul.gallery.ksi-posters li.gallerybox .gallerytext a:focus {
color: #f2a900 !important; /* or your hover color */
text-decoration: underline;
}