mediawiki-skins-MinervaNeue/resources/skins.minerva.content.styles/text.less
jdlrobson 2cc9516cde Minerva is its own skin
This is programmatic output from python3 scripts/migrate.py

This will result in a Minerva skin dependent on MobileFrontend.

Post merge we will rename message keys to have minerva- prefix

Bug: T166748
Change-Id: Iff1f7e63e796cc5d4a6d2ab0370e0c33248d2fce
2017-07-12 08:12:40 -07:00

75 lines
878 B
Plaintext

@import 'mediawiki.mixins.less';
@import 'minerva.variables.less';
@import 'minerva.mixins.less';
.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>
//
// Styleguide 1.7.
code,
pre {
font-family: monospace;
border: solid 1px @colorGray12;
white-space: pre-wrap;
}
code {
padding: 0.2em 0.5em;
}
pre {
padding: 1em;
}
sup {
vertical-align: super;
}
sub {
vertical-align: sub;
}
sub,
sup {
font-size: 0.75em;
// Avoid line-height issues caused by sup and sub
line-height: 1;
}