mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
fad72e2c35
In Ib81a60c7, /* @noflip */ was meant to apply to an entire block, which doesn't happen in LESS. This commit fixes that by using @noflip for every line that it needs to apply to. Also change spaces to tabs. Change-Id: I3b3e82397f8bc1b7466805d4ed9ce315df04d057
46 lines
866 B
Plaintext
46 lines
866 B
Plaintext
@media screen {
|
|
.mw-headline-anchor {
|
|
margin-left: -16px;
|
|
width: 16px;
|
|
}
|
|
|
|
.mw-content-ltr .mw-headline-anchor,
|
|
.mw-content-rtl .mw-content-ltr .mw-headline-anchor {
|
|
/* @noflip */
|
|
margin-left: -16px;
|
|
/* @noflip */
|
|
margin-right: 0;
|
|
}
|
|
|
|
.mw-content-rtl .mw-headline-anchor,
|
|
.mw-content-ltr .mw-content-rtl .mw-headline-anchor {
|
|
/* @noflip */
|
|
margin-left: 0;
|
|
/* @noflip */
|
|
margin-right: -16px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 982px) {
|
|
.mw-headline-anchor {
|
|
margin-left: -20px;
|
|
width: 20px;
|
|
}
|
|
|
|
.mw-content-ltr .mw-headline-anchor,
|
|
.mw-content-rtl .mw-content-ltr .mw-headline-anchor {
|
|
/* @noflip */
|
|
margin-left: -20px;
|
|
/* @noflip */
|
|
margin-right: 0;
|
|
}
|
|
|
|
.mw-content-rtl .mw-headline-anchor,
|
|
.mw-content-ltr .mw-content-rtl .mw-headline-anchor {
|
|
/* @noflip */
|
|
margin-left: 0;
|
|
/* @noflip */
|
|
margin-right: -20px;
|
|
}
|
|
}
|