diff options
Diffstat (limited to 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css')
-rw-r--r-- | resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css b/resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css new file mode 100644 index 00000000..fdbb655f --- /dev/null +++ b/resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css @@ -0,0 +1,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; +} |