mediawiki-skins-Vector/skinStyles/mediawiki.sectionAnchor.less
Vivek Ghaisas 2466e550e5 Change styling of clickable link for section headers
The anchors introduced in I562e437e use a small width to account for
skins with narrow gutters. Since Vector has a wider gutter, the anchors
should use the available width.

Change-Id: Ib81a60c789c1225c93bf8d694a02e67a5d131eac
2015-02-23 01:29:21 +05:30

42 lines
930 B
Plaintext

@media screen {
.mw-headline-anchor {
margin-left: -16px;
width: 16px;
}
/* @noflip */
.mw-content-ltr .mw-headline-anchor,
.mw-content-rtl .mw-content-ltr .mw-headline-anchor {
margin-left: -16px;
margin-right: 0;
}
/* @noflip */
.mw-content-rtl .mw-headline-anchor,
.mw-content-ltr .mw-content-rtl .mw-headline-anchor {
margin-left: 0;
margin-right: -16px;
}
}
@media screen and (min-width: 982px) {
.mw-headline-anchor {
margin-left: -20px;
width: 20px;
}
/* @noflip */
.mw-content-ltr .mw-headline-anchor,
.mw-content-rtl .mw-content-ltr .mw-headline-anchor {
margin-left: -20px;
margin-right: 0;
}
/* @noflip */
.mw-content-rtl .mw-headline-anchor,
.mw-content-ltr .mw-content-rtl .mw-headline-anchor {
margin-left: 0;
margin-right: -20px;
}
}