2019-08-19 19:44:19 +00:00
|
|
|
/*
|
|
|
|
* Citizen - Gallery Styles
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
2023-01-25 23:12:04 +00:00
|
|
|
// T326017
|
|
|
|
ul.gallery.gallery.gallery {
|
2023-01-15 00:34:54 +00:00
|
|
|
padding: 0;
|
|
|
|
margin: var( --space-xxs ) 0;
|
|
|
|
}
|
|
|
|
|
2022-05-31 23:37:09 +00:00
|
|
|
// Sync with caption styles
|
|
|
|
div.gallerytext {
|
2022-11-25 02:11:38 +00:00
|
|
|
padding: 0;
|
|
|
|
padding-right: var( --border-radius--small );
|
|
|
|
padding-left: var( --border-radius--small );
|
2024-02-26 22:14:19 +00:00
|
|
|
font-size: var( --font-size-x-small );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2022-11-25 02:11:38 +00:00
|
|
|
letter-spacing: 0.025em;
|
2022-05-31 23:37:09 +00:00
|
|
|
|
|
|
|
p {
|
2024-04-17 18:04:02 +00:00
|
|
|
margin: var( --space-xxs ) 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 {
|
2024-02-26 23:04:49 +00:00
|
|
|
right: 0;
|
2024-04-16 05:28:45 +00:00
|
|
|
width: auto !important;
|
|
|
|
padding: var( --space-xs );
|
2024-02-26 23:25:56 +00:00
|
|
|
margin: var( --space-xs );
|
|
|
|
margin-right: 0; // MAGIC
|
2022-11-25 02:11:38 +00:00
|
|
|
font-weight: var( --font-weight-normal ); // should use the same weight as caption
|
2024-07-01 00:41:31 +00:00
|
|
|
background: var( --background-color-backdrop-light );
|
2022-05-31 23:37:09 +00:00
|
|
|
}
|
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-11-25 02:11:38 +00:00
|
|
|
|
|
|
|
.mw-gallery-slideshow {
|
|
|
|
&-buttons {
|
|
|
|
padding-top: var( --space-md );
|
|
|
|
padding-bottom: var( --space-sm );
|
|
|
|
}
|
|
|
|
|
|
|
|
&-img-container {
|
|
|
|
border-radius: var( --border-radius--large );
|
|
|
|
}
|
|
|
|
|
|
|
|
&-caption {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
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 {
|
2024-04-17 18:04:02 +00:00
|
|
|
margin: var( --space-xxs );
|
2022-05-31 23:37:09 +00:00
|
|
|
overflow: hidden; // quick hack for rounded corner
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-2 );
|
2022-05-31 23:37:09 +00:00
|
|
|
border-color: transparent;
|
|
|
|
border-radius: var( --border-radius--small );
|
2019-12-26 10:21:50 +00:00
|
|
|
}
|
|
|
|
}
|