Jump to content

MediaWiki:Common.css: Difference between revisions

From Derail Valley
No edit summary
Tag: Manual revert
No edit summary
 
Line 3: Line 3:
/* 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). This should only
but previously translated text (.mw-translate-fuzzy class). This should only
have an effect on non-English pages, therefore the not([lang="en"]) selector */
have an effect on non-English pages, therefore the not([lang="en"]) selector.
NOTE: MediaWiki says there's an error, ignore it, code works fine. */
div#mw-content-text > .mw-content-ltr:not([lang="en"]) > div[lang="en"]:is(.mw-content-ltr) {
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;
}
}

Latest revision as of 21:55, 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.
NOTE: MediaWiki says there's an error, ignore it, code works fine. */
div#mw-content-text > .mw-content-ltr:not([lang="en"]) > div[lang="en"]:is(.mw-content-ltr) {
    background-color: #fdd;
    color: #333;
}