mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-06 06:39:10 +00:00
2466e550e5
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
42 lines
930 B
Plaintext
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;
|
|
}
|
|
}
|