2017-07-12 15:12:40 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2018-05-19 18:17:31 +00:00
|
|
|
@import '../../minerva.less/minerva.variables';
|
|
|
|
@import '../../minerva.less/minerva.mixins';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
.content {
|
|
|
|
p {
|
|
|
|
margin: 0.5em 0 1em 0;
|
|
|
|
}
|
2018-09-01 11:53:03 +00:00
|
|
|
|
2019-04-15 17:42:40 +00:00
|
|
|
hr {
|
|
|
|
// @color used as background-color as exception here.
|
|
|
|
background-color: @colorGray10;
|
|
|
|
height: 1px;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2018-09-01 11:53:03 +00:00
|
|
|
// 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;
|
|
|
|
}
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
|
2018-10-13 18:55:34 +00:00
|
|
|
b,
|
|
|
|
strong {
|
2017-07-12 15:12:40 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2018-10-13 18:55:34 +00:00
|
|
|
blockquote {
|
|
|
|
border-left: 3px solid @colorGray12;
|
|
|
|
font-family: @fontFamilyHeading;
|
|
|
|
font-size: 1.1em;
|
|
|
|
padding: 1em @blockquotePaddingRight 1em @blockquotePaddingLeft;
|
|
|
|
position: relative;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
em,
|
|
|
|
i {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
sup {
|
|
|
|
vertical-align: super;
|
|
|
|
}
|
|
|
|
|
|
|
|
sub {
|
|
|
|
vertical-align: sub;
|
|
|
|
}
|
|
|
|
|
|
|
|
sub,
|
2019-02-09 14:10:52 +00:00
|
|
|
sup,
|
|
|
|
.content .mw-ref {
|
2017-07-12 15:12:40 +00:00
|
|
|
font-size: 0.75em;
|
|
|
|
// Avoid line-height issues caused by sup and sub
|
|
|
|
line-height: 1;
|
|
|
|
}
|