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

.ve-ui-mwReferenceContextItem {
	&-muted {
		color: #72777d;
		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;
		}
	}
}
