mediawiki-skins-Citizen/skinStyles/mediawiki.page.gallery.styles.less

53 lines
931 B
Plaintext
Raw Normal View History

2019-08-19 19:44:19 +00:00
/*
* Citizen - Gallery Styles
* https://starcitizen.tools
*/
@import '../resources/variables.less';
@import '../resources/mixins.less';
ul.gallery {
2019-08-19 19:51:18 +00:00
margin: @content-margin-top * 2 @negative-margin!important;
2019-08-19 19:44:19 +00:00
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;
}
2019-08-19 20:03:41 +00:00
@media only screen and (max-width: @screen2) {
2019-08-19 19:44:19 +00:00
ul.gallery {
2019-08-19 19:51:18 +00:00
margin: @content-margin-top * 2 0!important;
2019-08-19 19:44:19 +00:00
}
}
2019-08-19 20:03:41 +00:00
@media only screen and (max-width: @screen1) {
2019-08-19 19:44:19 +00:00
ul.gallery {
2019-08-19 19:51:18 +00:00
margin: @content-margin-top * 2 -@margin-side!important;
2019-08-19 19:44:19 +00:00
}
}