mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
d0f1a02aec
Make the spacing between the image title and the description the same as the space between the description and the metadata. Bug: T87451 Change-Id: I0d0051cd66072861019b904980c405fa05145b2b
69 lines
1.5 KiB
CSS
69 lines
1.5 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWMediaDialog styles.
|
|
*
|
|
* @copyright 2011-2015 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-thumb {
|
|
text-align: center;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-thumb img {
|
|
margin: 1em 2em 0 2em;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-info {
|
|
padding: 1em 2em;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-main {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-portrait .ve-ui-mwMediaDialog-panel-imageinfo-thumb img {
|
|
margin-bottom: 1em;
|
|
max-height: none;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-portrait .ve-ui-mwMediaDialog-panel-imageinfo-thumb,
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-portrait .ve-ui-mwMediaDialog-panel-imageinfo-info {
|
|
float: left;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-portrait .ve-ui-mwMediaDialog-panel-imageinfo-info {
|
|
padding-left: 0;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-title {
|
|
font-size: 1.5em;
|
|
line-height: 1.5em;
|
|
margin-top: -0.2em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-details {
|
|
color: #666;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-separator {
|
|
margin: 0 0.5em;
|
|
display: inline-block;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-altText {
|
|
width: auto;
|
|
}
|
|
|
|
.ve-ui-mwMediaSearchWidget .oo-ui-searchWidget-results {
|
|
padding-right: 0;
|
|
}
|
|
|
|
/* HACK: Override ooui specific 2em top margin */
|
|
.ve-ui-mwMediaDialog-caption-fielset.oo-ui-labelElement.oo-ui-fieldsetLayout {
|
|
margin-top: 0;
|
|
}
|