MediaWiki:Gadget-Compact-Captions.css

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
/* Make the [[Commons:File captions]] interface somehow more compact */

.wbmi-entityview-captionsPanel { padding:0.2em; }
.wbmi-entityview-captionsPanel .wbmi-entityview-editActions { margin:1em 0 0 0; padding:0; font-size:90%; }
.wbmi-entityview-captionsPanel .wbmi-entityview-captions-header { font-size:0.8em; }
.wbmi-entityview-captionsPanel .wbmi-entityview-captions-header .oo-ui-labelElement-label { font-size:1.5em; }
.wbmi-entityview-captionsPanel .oo-ui-dropdownWidget-handle { padding:0.1em; min-height:1.2em; }
.wbmi-entityview-captionsPanel .oo-ui-dropdownWidget { margin-top:-0.2em; }
.wbmi-entityview-captionsPanel .oo-ui-iconElement-icon { height:inherit; }
.wbmi-entityview-captionsPanel .wbmi-entityview-showLabel { margin-top:0; padding:0 0 0 0; }
.wbmi-entityview-editable .oo-ui-horizontalLayout { margin-bottom:-0.5em; padding:0 0 0 0; }
.wbmi-entityview-captionsPanel .wbmi-entityview-editButton { padding:0 60px 0 0; position:inherit; }
.wbmi-entityview-captionsPanel .oo-ui-textInputWidget input { padding:0.1em 0.1em 0.1em; line-height:1.2em; overflow:hidden; }
.wbmi-tabs-container .wbmi-tab.oo-ui-panelLayout { margin-top: 0; }