mediawiki-skins-Citizen/skinStyles/extensions/MultimediaViewer/mmv.less

56 lines
1 KiB
Plaintext
Raw Normal View History

2019-08-15 17:40:13 +00:00
/*
* Citizen - MultimediaViewer Styles
* https://starcitizen.tools
*/
2019-12-29 17:58:50 +00:00
@import '../../resources/variables.less';
@import '../../resources/mixins.less';
2019-08-15 17:40:13 +00:00
.mw-mmv-image-metadata {
border-color: @base-80;
}
.mw-mmv-stripe-button.mw-mmv-description-page-button,
.mw-mmv-stripe-button.mw-mmv-description-page-button:active,
.mw-mmv-stripe-button.mw-mmv-description-page-button:visited {
margin: 0;
padding: 18px 16px;
border-radius: 0;
font-size: @ui-menu-text;
}
2019-12-26 10:21:50 +00:00
@media only screen and ( max-width: 560px ) {
2019-08-15 17:40:13 +00:00
.mw-mmv-image-metadata-links-column {
width: auto; // Fix mobile bouncing
float: none;
}
.mw-mmv-untruncated {
.mw-mmv-image-metadata-desc-column,
.mw-mmv-image-metadata-links-column {
width: auto;
max-width: none;
}
}
}
2019-12-03 02:39:36 +00:00
2019-12-26 10:21:50 +00:00
@media ( prefers-color-scheme: dark ) {
2019-12-03 02:39:36 +00:00
.mw-mmv-post-image {
background-color: @dark-bg-0;
color: @dark-text-100;
}
.mw-mmv-image-metadata {
background-color: @dark-bg-10;
border-color: @dark-bg-20;
}
.mw-mmv-credit {
color: @dark-text-90;
}
.mw-mmv-image-links li {
color: @dark-text-80;
}
2019-12-26 10:21:50 +00:00
}