2017-07-12 15:12:40 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2021-04-29 01:01:54 +00:00
|
|
|
@import '../../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../../minerva.less/minerva.mixins.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
.content {
|
|
|
|
p {
|
2024-03-18 18:09:26 +00:00
|
|
|
padding-bottom: 0.5em;
|
|
|
|
margin: 0.5em 0 0 0;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
2018-09-01 11:53:03 +00:00
|
|
|
|
2019-04-15 17:42:40 +00:00
|
|
|
hr {
|
2023-04-09 13:49:29 +00:00
|
|
|
// border-color used as background-color as exception here.
|
|
|
|
background-color: @border-color-base;
|
2019-04-15 17:42:40 +00:00
|
|
|
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>
|
|
|
|
|
|
|
|
// 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
|
|
|
|
kbd,
|
|
|
|
samp,
|
|
|
|
code,
|
|
|
|
pre {
|
2019-12-06 05:12:46 +00:00
|
|
|
font-family: @font-family-monospace;
|
2023-04-09 13:49:29 +00:00
|
|
|
border: @border-subtle;
|
2018-09-01 11:53:03 +00:00
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2024-06-11 08:19:22 +00:00
|
|
|
padding: @spacing-12 @spacing-25;
|
2018-09-01 11:53:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
2024-02-01 17:33:08 +00:00
|
|
|
border-left: 3px @border-style-base var( --border-color-subtle );
|
2020-10-19 22:05:45 +00:00
|
|
|
padding: @padding-vertical-blockquote @padding-end-blockquote @padding-vertical-blockquote @padding-start-blockquote;
|
2019-12-06 05:12:46 +00:00
|
|
|
font-family: @font-family-serif;
|
2018-10-13 18:55:34 +00:00
|
|
|
font-size: 1.1em;
|
2020-10-19 22:05:45 +00:00
|
|
|
|
|
|
|
// Ensure not to inherit whitespace mashing margins on child elements.
|
|
|
|
> :first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
> :last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
> :only-child {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-10-13 18:55:34 +00:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|