mediawiki-extensions-Cite/modules/ve-cite/ve.ui.MWReferenceContextItem.less
WMDE-Fisch c40dc94c37 Separate sub-ref content from main content in ContextItem
Bug: T376131
Change-Id: I859298746cf85b75cc27192c1e1c9c136312beea
2024-10-01 13:59:32 +02:00

32 lines
656 B
Plaintext

/*!
* 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;
}
}
}