mic_none

User:GhostInTheMachine/SD-display-helper.js Source: en.wikipedia.org/wiki/User:GhostInTheMachine/SD-display-helper.js

mw.util.addCSS(`

/* show any of the embedded SD */

.shortdescription {
  display: inline-block !important;	/* the important is important */
  background-color: cornsilk;
  padding: 3px;
  border: blue dashed 2px;
}

.shortdescription ~ .shortdescription {
  border-color: deeppink;
}

/* needed when the SD helper is also displaying the SD */

#siteSub {
  display: none;
}

/* move the SD helper down a bit so that it clears the title */

#sdh {
  padding-top: 10px;
}

/* larger text when editing the SD and the edit summary */

#sdh-descriptionbox, #sdh-summarybox {
  font-size: 150%;
  margin-top: 5px;
}

/* highlight the description in the SD helper prior to editing and when missing */

.mw-page-description, .sdh-missing-description {
  border: red solid 1px;
  padding: 10px;
  font-size: 120%;
  background-color: cornsilk;
  display: inline-block;
}

`);