2022-05-30 03:46:57 +00:00
|
|
|
@import '../resources/common/variables.less';
|
|
|
|
|
2022-10-18 05:26:31 +00:00
|
|
|
// Reset the font-size for the whole body, but then re-override this below
|
|
|
|
// to ensure the preview width (which is based on font-size) is correct.
|
|
|
|
.vector-body {
|
|
|
|
font-size: @font-size-reset;
|
|
|
|
}
|
|
|
|
|
2022-05-30 03:46:57 +00:00
|
|
|
// Even if the editing form is max-width, the preview should be constrained.
|
2022-11-15 19:34:12 +00:00
|
|
|
.vector-feature-limited-width-disabled #wikiPreview {
|
2022-05-30 03:46:57 +00:00
|
|
|
max-width: @max-width-content-container;
|
|
|
|
margin: auto;
|
2022-11-03 22:21:08 +00:00
|
|
|
}
|
2022-10-18 05:26:31 +00:00
|
|
|
|
2022-11-03 22:21:08 +00:00
|
|
|
// Change font-size for the actual preview content.
|
|
|
|
.mw-parser-output {
|
|
|
|
font-size: @font-size-base;
|
2022-05-30 03:46:57 +00:00
|
|
|
}
|