MediaWiki:Common.css/src/system/redirect.scss
< MediaWiki:Common.css | src
Jump to navigation
Jump to search
This page is one of the SCSS pages which are the basis for MediaWiki:Common.css. After you edit this page, you will need to recompile them for your changes to take effect. See Terraria Wiki:CSS to learn more.
Ancestors: / src / system / redirect.scss
Siblings: API.scss JSON.scss OOUI.scss changeslist.scss edit.scss filepage.scss helpers.scss history.scss htmlform.scss mediawiki.ui.scss mediawiki.widgets.scss rcfilters.scss redirect.scss
Children: (none)
/********* redirect *********/
/* Arrow on redirect pages */
/* overwriting styles from here:
* https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css */
/* In the default style, the icon is the background of the <li> element.
* We want to apply a filter to the image only (not the text), so we have to
* move the image to a new pseudo-element. */
.mw-content-ltr .redirectText li:first-child {
background: none;
padding-left: 0;
&:before {
content: '';
background: linear-gradient(transparent, transparent), url(/resources/src/mediawiki.action/images/redirect-ltr.svg);
padding-left: 47px;
filter: var(--ooui--icon-normal-filter); /* theme-dependent color of the icon */
}
}