mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-13 17:37:07 +00:00
64134bd8a6
Use local imports instead given all relevant files are within the same repository, and don't vary by configuraion. Bug: T140807 Depends-On: If3edac9a35b346af0320c12f70c0d978a6346201 Change-Id: Ife3cc345a63aff452e93accbe0a593fbaa358732
81 lines
1.2 KiB
Plaintext
81 lines
1.2 KiB
Plaintext
@import 'mediawiki.mixins.less';
|
|
@import '../../minerva.less/minerva.variables';
|
|
@import '../../minerva.less/minerva.mixins';
|
|
|
|
.content {
|
|
p {
|
|
margin: 0.5em 0 1em 0;
|
|
}
|
|
}
|
|
|
|
strong,
|
|
b {
|
|
font-weight: bold;
|
|
}
|
|
|
|
em,
|
|
i {
|
|
font-style: italic;
|
|
}
|
|
|
|
// Code
|
|
//
|
|
// Use this solely for blocks of computer code.
|
|
//
|
|
// Markup:
|
|
// <code>
|
|
// body {
|
|
// color:red;
|
|
// }
|
|
// </code>
|
|
//
|
|
// Styleguide 1.6.
|
|
|
|
// Preformatted text
|
|
//
|
|
// Use on text where whitespace is significant and the content should not be formatted.
|
|
//
|
|
// Markup:
|
|
// <pre>
|
|
// body {
|
|
// color:red;
|
|
// }
|
|
// </pre>
|
|
//
|
|
// Note .mw-code is not added here as it is assumed that will be used with a suitable tag
|
|
// tt is a non-standard element so is not included in the selector.
|
|
// Styleguide 1.7.
|
|
kbd,
|
|
samp,
|
|
code,
|
|
pre {
|
|
font-family: @fontFamilyMonospace;
|
|
border: solid 1px @colorGray12;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
code {
|
|
padding: 0.2em 0.5em;
|
|
}
|
|
|
|
pre {
|
|
padding: 1em;
|
|
}
|
|
|
|
.mw-ref, // For Parsoid content (e.g. mediawiki.skinning.content.parsoid)
|
|
sup {
|
|
vertical-align: super;
|
|
}
|
|
|
|
sub {
|
|
vertical-align: sub;
|
|
}
|
|
|
|
.mw-ref, // For Parsoid content (e.g. mediawiki.skinning.content.parsoid)
|
|
sub,
|
|
sup {
|
|
font-size: 0.75em;
|
|
// Avoid line-height issues caused by sup and sub
|
|
line-height: 1;
|
|
}
|