X-Git-Url: https://scripts.mit.edu/gitweb/autoinstallsdev/mediawiki.git/blobdiff_plain/19e297c21b10b1b8a3acad5e73fc71dcb35db44a..6932310fd58ebef145fa01eb76edf7150284d8ea:/resources/src/mediawiki/mediawiki.apihelp.css diff --git a/resources/src/mediawiki/mediawiki.apihelp.css b/resources/src/mediawiki/mediawiki.apihelp.css new file mode 100644 index 00000000..d3e49500 --- /dev/null +++ b/resources/src/mediawiki/mediawiki.apihelp.css @@ -0,0 +1,105 @@ +.apihelp-header { + clear: both; + margin-bottom: 0.1em; +} + +.apihelp-header.apihelp-module-name { + /* + * This element is explicitly set to dir="ltr" in HTML. + * Set explicit alignment so that CSSJanus will flip it to "right"; + * otherwise the alignment will be automatically set to "left" according + * to the element's direction, and this will have an inconsistent look. + */ + text-align: left; +} + +div.apihelp-linktrail { + font-size: smaller; +} + +.apihelp-block { + margin-top: 0.5em; +} + +.apihelp-block-head { + font-weight: bold; +} + +.apihelp-flags { + font-size: smaller; + float: right; + border: 1px solid #000; + padding: 0.25em; + width: 20em; +} + +.apihelp-deprecated, +.apihelp-flag-deprecated, +.apihelp-flag-internal strong { + font-weight: bold; + color: #d33; +} + +.apihelp-deprecated-value { + text-decoration: line-through; +} + +.apihelp-unknown { + color: #72777d; +} + +.apihelp-empty { + color: #72777d; +} + +.apihelp-help-urls ul { + list-style-image: none; + list-style-type: none; + margin-left: 0; +} + +.apihelp-parameters dl, +.apihelp-examples dl, +.apihelp-permissions dl { + margin-left: 2em; +} + +.apihelp-parameters dt { + float: left; + clear: left; + min-width: 10em; + white-space: nowrap; + line-height: 1.5em; +} + +.apihelp-parameters dt:after { + content: ':\A0'; +} + +.apihelp-parameters dd { + margin: 0 0 0.5em 10em; + line-height: 1.5em; +} + +.apihelp-parameters dd p:first-child { + margin-top: 0; +} + +.apihelp-parameters dd.info { + margin-left: 12em; + text-indent: -2em; +} + +.apihelp-examples dt { + font-weight: normal; +} + +.api-main-links { + text-align: center; +} +.api-main-links ul:before { + content: '['; +} +.api-main-links ul:after { + content: ']'; +}