MediaWiki:Common.css: Difference between revisions

no edit summary
(Created page with "→‎CSS placed here will be applied to all skins: →‎{{pp|small=yes}}: →‎Module:Documentation/styles.css: .documentation, .documentation-metadata { border: 1px solid #a2a9b1; background-color: #ecfcf4; clear: both; } .documentation { margin: 1em 0 0 0; padding: 1em; } .documentation-metadata { margin: 0.2em 0; →‎same margin left-right as .documentation: font-style: italic; padding: 0.4em 1em; →‎same padding left-right as .documentation: } .d...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* NOTE: ALL OF THIS CSS IS PLACED HERE AS A WORK-AROUND; IN THE FUTURE, IT MAY NEED TO BE SPLIT BACK INTO ORIGINALLY INDICATED PAGES. */


/* {{pp|small=yes}} */
/* {{pp|small=yes}} */
Line 452: Line 453:
/* @noflip */
/* @noflip */
margin-right: 0.5em;
margin-right: 0.5em;
}
/* {{pp|small=y}} */
/* Module:Hatnote/styles.css */
.hatnote {
font-style: italic;
}
/* Limit structure CSS to divs because of [[Module:Hatnote inline]] */
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
.hatnote i {
font-style: normal;
}
/* The templatestyles element inserts a link element before hatnotes.
* TODO: Remove link if/when WMF resolves T200206 */
.hatnote + link + .hatnote {
margin-top: -0.5em;
}
/* included from here: https://www.wikidata.org/wiki/Help:Ranking */
.wb-deprecated { background-color: #FFE0E0; } /* deprecated claims with red-ish background */
.wb-preferred { background-color: #E0FFE0; } /* preferred claims with green-ish background */
/* Color non-default ranks */
.wikibase-rankselector-preferred {
    filter: grayscale(100%) brightness(70%) sepia(100%) hue-rotate(50deg) saturate(1000%);
}
.wikibase-rankselector-deprecated {
filter: grayscale(100%) brightness(70%) sepia(100%) hue-rotate(-20deg) saturate(1000%)
}
.wikibase-rankselector {
padding: 1em;
margin: -1em;
}
.wikibase-snakview-typeselector {
left: 21px;
}
.wikibase-statementview-mainsnak .wikibase-snakview .wikibase-snakview-value-container {
margin-left: 25px;
}
}