MediaWiki:Common.css: Difference between revisions
Appearance
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; | |||
} | } | ||
Revision as of 15:27, 6 December 2025
pre {
white-space: pre !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;
}