MediaWiki:Common.css: Difference between revisions

Make overlong lines of code overflow with a scroll bar instead of wrapping
 
Add quotes around samp tags
Line 2: Line 2:
   white-space: pre !important;
   white-space: pre !important;
   overflow-x: auto !important;
   overflow-x: auto !important;
}
/* Add ’quotes’ around <samp> to make its rendering more similar to the official documentation. */
body {
  quotes: '‘' '’';
}
samp:before {
  content: open-quote;
}
samp:after {
  content: close-quote;
}
}