MediaWiki:Common.css: Difference between revisions
Appearance
Add quotes around samp tags |
Make quotes sans-serif |
||
| Line 12: | Line 12: | ||
samp:before { | samp:before { | ||
content: open-quote; | content: open-quote; | ||
font-family: sans-serif; | |||
} | } | ||
samp:after { | samp:after { | ||
content: close-quote; | 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;
}