summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css
blob: fdbb655f635465d81f6046881dc1c8de00725f16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*!
 * Display neat icons on redirect pages.
 */

/* Hide, but keep accessible for screen-readers. */
.redirectMsg p {
	overflow: hidden;
	height: 0;
	zoom: 1;
}

.redirectText {
	list-style: none none;
	display: inline;
	/* shared.css has some very weird directionality-specific rules for 'ul' we need to override,
	   search for "Correct directionality when page dir is different from site/user dir" */
	margin: 0 !important;
	padding: 0 !important;
}

/* @noflip */
.mw-content-ltr .redirectText li {
	display: inline;
	margin: 0;
	padding: 0;
	padding-left: 42px;
	/* @embed */
	background: url(images/nextredirect-ltr.png) bottom left no-repeat;
}

/* @noflip */
.mw-content-ltr .redirectText li:first-child {
	padding-left: 47px;
	/* @embed */
	background: url(images/redirect-ltr.png) bottom left no-repeat;
}

/* @noflip */
.mw-content-rtl .redirectText li {
	display: inline;
	margin: 0;
	padding: 0;
	padding-right: 42px;
	/* @embed */
	background: url(images/nextredirect-rtl.png) bottom right no-repeat;
}

/* @noflip */
.mw-content-rtl .redirectText li:first-child {
	padding-right: 47px;
	/* @embed */
	background: url(images/redirect-rtl.png) bottom right no-repeat;
}