MediaWiki:Common.css/src/interface/mainBox/content/helplink.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 / interface / mainBox / content / helplink.scss
Siblings: ad.scss catlinks.scss headingSection.scss helplink.scss indicators.scss tablePager.scss
Children: (none)
/********* Helplink *********/
/* The help icon on category pages, Special:RecentChanges, etc. */
/* overwriting styles from here:
* https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/resources/src/mediawiki.helplink/helplink.less */
/* see also interface/mainBox/content/indicators.scss */
/* In the default style, the icon is the background-image of the <a> 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-indicator-mw-helplink a {
background: none;
padding-left: 0;
display: flex;
}
#mw-indicator-mw-helplink a:before {
content: '';
background-image: url(/resources/src/mediawiki.helplink/images/helpNotice.svg?46d34);
background-position: left center;
background-repeat: no-repeat;
display: inline-block;
height: 20px;
padding-left: 25px;
filter: var(--ooui--icon-normal-filter); /* theme-dependent color of the icon */
}