/*!
 * VisualEditor MediaWiki UserInterface reference context item styles.
 *
 * @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
 * @license MIT
 */

@import 'mediawiki.skin.variables.less';

.ve-ui-mwReferenceContextItem {
	&-muted {
		color: @color-subtle;
		font-style: italic;
		line-height: 1.5;
	}

	.ve-ui-previewElement {
		/* Reference links can often be too long, so break them up */
		word-break: break-word;
		word-wrap: break-word;
		overflow-wrap: break-word;

		+ .ve-ui-mwReferenceContextItem-muted {
			margin-top: 0.5em;
		}

		+ .ve-ui-mwReferenceContextItemSubNote {
			margin-bottom: 0.5em;
		}
	}
}
