MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: →Mark untranslated text in the same way as MediaWiki already marks outdated but previously translated text (.mw-translate-fuzzy class): div[lang="en"]:is(.mw-content-ltr) { background-color: #fdd; color: #333; }" |
No edit summary |
||
Line 2: | Line 2: | ||
/* Mark untranslated text in the same way as MediaWiki already marks outdated | /* Mark untranslated text in the same way as MediaWiki already marks outdated | ||
but previously translated text (.mw-translate-fuzzy class) */ | but previously translated text (.mw-translate-fuzzy class). This should only | ||
div[lang="en"]:is(.mw-content-ltr) { | have an effect on non-English pages, therefore the not([lang="en"]) selector */ | ||
div#mw-content-text > .mw-content-ltr:not([lang="en"]) > div[lang="en"]:is(.mw-content-ltr) { | |||
background-color: #fdd; | background-color: #fdd; | ||
color: #333; | color: #333; | ||
} | } |
Revision as of 21:38, 5 March 2025
/* CSS placed here will be applied to all skins */
/* Mark untranslated text in the same way as MediaWiki already marks outdated
but previously translated text (.mw-translate-fuzzy class). This should only
have an effect on non-English pages, therefore the not([lang="en"]) selector */
div#mw-content-text > .mw-content-ltr:not([lang="en"]) > div[lang="en"]:is(.mw-content-ltr) {
background-color: #fdd;
color: #333;
}