mediawiki-skins-Vector/skinStyles/mediawiki.sectionAnchor.less
Vivek Ghaisas fad72e2c35 Fix @noflip use in mediawiki.sectionAnchor.less
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
2015-02-26 22:07:31 +00:00

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;
}
}