mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-02 01:46:47 +00:00
2dd888814a
We don't yet have any way to test or verify anything with less. Not the less
syntax, not the less compilation, not the resulting css code quality.
Using it at this point doesn't seem worth the cost of not having any of that.
This reverts commit 17ddf031fe
.
Change-Id: I7e8ab90f7a9f77f5cf6d7baeab586d4e0332042e
50 lines
1.3 KiB
CSS
50 lines
1.3 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki Initialization ViewPageTarget shared styles.
|
|
* These are styles that are common to the vector, monobook, and apex skins, but may not
|
|
* be applied to other skins (for example, minerva).
|
|
*
|
|
* @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/* ve.ce.MWBlockImageNode */
|
|
|
|
figure[typeof*='mw:Image'] {
|
|
margin: 0;
|
|
}
|
|
|
|
figure[typeof*='mw:Image'] a {
|
|
border: 0;
|
|
}
|
|
|
|
/* TODO: Merge with div.tright styles */
|
|
/* Due to a weird cssjanus bug, noflip rules
|
|
are set as single-rules rather than for the
|
|
whole class */
|
|
figure[typeof*='mw:Image'].mw-halign-right {
|
|
/* @noflip */
|
|
margin: .5em 0 1.3em 1.4em;
|
|
}
|
|
|
|
/* TODO: Merge with div.tleft styles */
|
|
/* Due to a weird cssjanus bug, noflip rules
|
|
are set as single-rules rather than for the
|
|
whole class */
|
|
figure[typeof*='mw:Image'].mw-halign-left {
|
|
/* @noflip */
|
|
margin: .5em 1.4em 1.3em 0;
|
|
}
|
|
|
|
/* TODO: Merge with div.thumbinner styles */
|
|
figure[typeof='mw:Image/Thumb'], figure[typeof='mw:Image/Frame'] {
|
|
background-color: #f9f9f9;
|
|
border: 1px solid #cccccc;
|
|
padding: 3px !important;
|
|
font-size: 94%;
|
|
}
|
|
|
|
/* TODO: Merge with .thumbimage styles */
|
|
figure[typeof*='mw:Image'] .ve-ce-mwBlockImageNode-thumbimage {
|
|
border: 1px solid #cccccc;
|
|
}
|