/* * Citizen - Gallery Styles * https://starcitizen.tools */ @import '../resources/variables.less'; @import '../resources/mixins.less'; ul.gallery { margin: @content-margin-top * 2 @negative-margin; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; } li.gallerybox { margin: 2px; display: block; } li.gallerybox div.thumb { margin: 0; } li.gallerybox, li.gallerybox>div { width: fit-content !important; } li.gallerybox, li.gallerybox div, li.gallerybox a.image, li.gallerybox a.image img { transition: @transition-width, @transition-height; } div.gallerytext { display: none; } @media only screen and (max-width: @footer-width) { ul.gallery { margin: @content-margin-top * 2 0; } } @media only screen and (max-width: @footer-width) { ul.gallery { margin: @content-margin-top * 2 -@margin-side; } }