MediaWiki:Common.css/src/system/API.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 / system / API.scss
Siblings: API.scss JSON.scss OOUI.scss changeslist.scss edit.scss filepage.scss helpers.scss history.scss htmlform.scss mediawiki.ui.scss mediawiki.widgets.scss rcfilters.scss redirect.scss
Children: (none)
/********* api.php *********/
/* overwriting styles from here:
* https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/resources/src/mediawiki.apipretty/apihelp.css */
.apihelp-flags {
border-color: var(--oouihelper--borderdark);
}
.apihelp-deprecated,
.apihelp-internal,
.apihelp-flag-deprecated,
.apihelp-flag-internal strong {
color: var(--theme-text-color-red);
}
.apihelp-unknown {
color: var(--theme-text-color-note);
}
.apihelp-empty {
color: var(--theme-text-color-note);
}
/* overwriting styles from the "apioutput" skin (can't find the base stylesheet) */
.skin-apioutput .mw-body {
background: var(--theme-content-background);
color: var(--theme-text-color);
margin: 20px;
padding: 10px;
}
/* Fix empty parameter descriptions having no height, causing misalignments that seriously impede readability */
.apihelp-parameters dd:empty::before {
content: '\00A0';
}
/* Theme color for h3 headings */
.apihelp-header {
color: var(--theme-heading-color);
}