2019-08-19 19:44:19 +00:00
|
|
|
/*
|
|
|
|
* Citizen - Gallery Styles
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
2022-05-31 23:37:09 +00:00
|
|
|
// Sync with caption styles
|
|
|
|
div.gallerytext {
|
|
|
|
color: var( --color-base--subtle );
|
|
|
|
font-size: 0.8125rem;
|
|
|
|
font-style: italic;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0.4rem 0; // reset default style
|
2021-03-05 18:43:11 +00:00
|
|
|
}
|
2022-05-31 23:37:09 +00:00
|
|
|
}
|
2019-08-19 19:44:19 +00:00
|
|
|
|
2022-05-31 23:37:09 +00:00
|
|
|
ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
|
|
|
|
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
|
|
|
|
ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
|
|
|
|
background: var( --background-color-overlay );
|
|
|
|
}
|
2021-03-05 18:43:11 +00:00
|
|
|
|
2022-05-31 23:37:09 +00:00
|
|
|
/* Slideshow */
|
|
|
|
ul.gallery.mw-gallery-slideshow {
|
|
|
|
.gallerybox {
|
|
|
|
&.slideshow-current {
|
|
|
|
background: var( --color-surface-2 );
|
2021-03-05 18:43:11 +00:00
|
|
|
}
|
2019-12-26 10:21:50 +00:00
|
|
|
}
|
2022-05-31 23:37:09 +00:00
|
|
|
}
|
2019-08-19 19:44:19 +00:00
|
|
|
|
2022-05-31 23:37:09 +00:00
|
|
|
@media screen {
|
|
|
|
li.gallerybox div.thumb {
|
|
|
|
overflow: hidden; // quick hack for rounded corner
|
|
|
|
border-color: transparent;
|
|
|
|
border-radius: var( --border-radius--small );
|
2022-09-28 21:02:56 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
2019-12-26 10:21:50 +00:00
|
|
|
}
|
|
|
|
}
|