MediaWiki:Common.css: Difference between revisions
Appearance
Make overlong lines of code overflow with a scroll bar instead of wrapping |
Make quotes sans-serif |
||
| (One intermediate revision by the same user not shown) | |||
| 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; | |||
font-family: sans-serif; | |||
} | |||
samp:after { | |||
content: close-quote; | |||
font-family: sans-serif; | |||
} | } | ||
Latest revision as of 14:29, 8 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;
font-family: sans-serif;
}
samp:after {
content: close-quote;
font-family: sans-serif;
}