2014-02-14 23:12:58 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor ContentEditable MediaWiki MWBlockImageNode styles.
|
|
|
|
*
|
|
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
/*csslint regex-selectors:false, overqualified-elements:false */
|
|
|
|
|
|
|
|
/* Hide outer shield for centered images */
|
2014-06-10 23:19:50 +00:00
|
|
|
figure[typeof~='mw:Image'].mw-halign-center + .ve-ce-focusableNode-shield {
|
2014-02-14 23:12:58 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2014-05-29 01:35:07 +00:00
|
|
|
|
|
|
|
/* Override border on shields for images */
|
2014-06-10 23:19:50 +00:00
|
|
|
.ve-ce-mwBlockImageNode .ve-ce-focusableNode-shield {
|
2014-05-29 01:35:07 +00:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Override paragraph margins inside of captions */
|
|
|
|
.ve-ce-mwBlockImageNode figcaption p {
|
|
|
|
margin: 0 !important;
|
2014-06-10 23:19:50 +00:00
|
|
|
}
|