MediaWiki:Gadget-sprite.css

/* Module:Sprite */ .sprite { display: inline-block; vertical-align: middle; background-repeat: no-repeat; }

.sprite + .sprite-text { padding-left: 0.312em; }

.sprite-text-backwards { padding-right: 0.312em; }

clear: both; }
 * 1) spritedoc {

.spritedoc-section { margin-top: 0.3em; }

.spritedoc-section > h3 { padding-top: 0; margin-top: 0; }

display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; padding: 0 0 1px 1px; margin: 0.5em 0; }
 * 1) spritedoc .spritedoc-boxes {

.spritedoc-box { position: relative; /* Non-flex fallback */ display: inline-block; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; padding: 0.5em; background: var(--table-background); border: 1px solid var(--table-border); margin: 0 0 -1px -1px; }

.spritedoc-image { /* Non-flex fallback */ display: inline-block; /* Non-flex fallback */ vertical-align: middle; margin-right: 0.5em; line-height: 0; }

/* Non-flex fallback */ display: inline-block; /* Non-flex fallback */ vertical-align: middle; width: 14em; margin: 0; /* Non-flex fallback */ list-style: none; }
 * 1) spritedoc .spritedoc-names {

.spritedoc-name { line-height: 1.2; margin-bottom: 0.3em; }

.spritedoc-name:last-child { margin: 0; }

.spritedoc-name > code { display: inline-block; border: 0; border-radius: 0; padding: 0; word-wrap: break-word; /* Necessary to make word-wrap work */ max-width: 14em; }

.spritedoc-deprecated { background-color: var(--color-yellow); }

.spritedoc-name > .spritedoc-nolink { border: solid var(--color-brightred); }

.spritedoc-name > .spritedoc-nolink { border: solid var(--color-brightred); }

.spritedoc-name > .spritedoc-black { border: solid var(--interface-border); }

.spritedoc-name > .spritedoc-dark { border: dashed var(--interface-border); }