Merge "Improve sorting on SpecialWanted*-Pages"
[mediawiki.git] / resources / src / mediawiki.action / mediawiki.action.view.redirectPage.css
blobdccbaccef40a23d2393681efa84de3286ab198b3
1 /*!
2 * Display neat icons on redirect pages.
3 */
5 /* Hide, but keep accessible for screen-readers. */
6 .redirectMsg p {
7 overflow: hidden;
8 height: 0;
9 zoom: 1;
12 .redirectText {
13 list-style: none none;
14 display: inline;
15 /* shared.css has some very weird directionality-specific rules for 'ul' we need to override,
16 * search for "Correct directionality when page dir is different from site/user dir" */
17 /* stylelint-disable declaration-no-important */
18 margin: 0 !important;
19 padding: 0 !important;
20 /* stylelint-enable declaration-no-important */
23 /* @noflip */
24 .mw-content-ltr .redirectText li {
25 display: inline;
26 margin: 0;
27 padding: 0;
28 padding-left: 42px;
29 background: transparent url( images/nextredirect-ltr.png ) bottom left no-repeat;
30 /* @embed */
31 background-image: linear-gradient( transparent, transparent ), url( images/nextredirect-ltr.svg );
34 /* @noflip */
35 .mw-content-ltr .redirectText li:first-child {
36 padding-left: 47px;
37 background: transparent url( images/redirect-ltr.png ) bottom left no-repeat;
38 /* @embed */
39 background-image: linear-gradient( transparent, transparent ), url( images/redirect-ltr.svg );
42 /* @noflip */
43 .mw-content-rtl .redirectText li {
44 display: inline;
45 margin: 0;
46 padding: 0;
47 padding-right: 42px;
48 background: transparent url( images/nextredirect-rtl.png ) bottom right no-repeat;
49 /* @embed */
50 background-image: linear-gradient( transparent, transparent ), url( images/nextredirect-rtl.svg );
53 /* @noflip */
54 .mw-content-rtl .redirectText li:first-child {
55 padding-right: 47px;
56 background: transparent url( images/redirect-rtl.png ) bottom right no-repeat;
57 /* @embed */
58 background-image: linear-gradient( transparent, transparent ), url( images/redirect-rtl.svg );