2014-08-07 11:38:34 +00:00
|
|
|
/*
|
|
|
|
* Any rules which should not be flipped automatically in right-to-left situations should be
|
|
|
|
* prepended with @noflip in a comment block.
|
|
|
|
*
|
|
|
|
*/
|
2017-01-23 14:59:47 +00:00
|
|
|
@import 'mediawiki.mixins';
|
2014-08-07 11:38:34 +00:00
|
|
|
|
|
|
|
/* Framework */
|
|
|
|
html {
|
|
|
|
font-size: @html-font-size;
|
|
|
|
}
|
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-family: @content-font-family;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
background-color: @menu-background-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Content */
|
2017-04-11 18:25:51 +00:00
|
|
|
.mw-body,
|
|
|
|
.parsoid-body {
|
|
|
|
padding: @content-padding;
|
|
|
|
background-color: @body-background-color;
|
|
|
|
color: @content-font-color;
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
2014-08-13 10:51:40 +00:00
|
|
|
.mw-body {
|
2014-08-07 11:38:34 +00:00
|
|
|
margin-left: 10em;
|
|
|
|
/* Border on top, left, and bottom side */
|
|
|
|
border: 1px solid @content-border-color;
|
|
|
|
border-right-width: 0;
|
|
|
|
/* Merge the border with tabs' one (in their background image) */
|
|
|
|
margin-top: -1px;
|
|
|
|
|
2017-03-05 17:42:53 +00:00
|
|
|
// h1's can exist outside of mw-body-content so some heading styles
|
|
|
|
// need to be defined in mw-body as well
|
|
|
|
& h1,
|
|
|
|
&-content h1,
|
|
|
|
&-content h2 {
|
2014-08-07 11:38:34 +00:00
|
|
|
font-family: @content-heading-font-family;
|
|
|
|
line-height: @heading-line-height;
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
padding: 0;
|
2015-06-11 21:21:25 +00:00
|
|
|
|
|
|
|
/* Fallback heading font for scripts which render poorly in @content-heading-font-family. */
|
|
|
|
/* See T73240 */
|
|
|
|
&:lang( ja ), /* See T65817 */
|
|
|
|
&:lang( he ), /* See T65843 and T65844 */
|
|
|
|
&:lang( ko ) { /* See T65827 */
|
|
|
|
font-family: @content-heading-font-family-generic;
|
|
|
|
}
|
2014-08-07 11:38:34 +00:00
|
|
|
}
|
|
|
|
|
2017-03-05 17:42:53 +00:00
|
|
|
& h1,
|
|
|
|
&-content h1 {
|
2014-08-07 11:38:34 +00:00
|
|
|
font-size: @content-heading-font-size;
|
|
|
|
}
|
2017-03-05 17:42:53 +00:00
|
|
|
|
|
|
|
.firstHeading {
|
|
|
|
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-indicators {
|
|
|
|
float: right;
|
|
|
|
line-height: @content-line-height;
|
|
|
|
font-size: @content-font-size;
|
|
|
|
/* Ensure that this is displayed on top of .mw-body-content and clickable */
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-indicator {
|
|
|
|
display: inline-block;
|
|
|
|
zoom: 1;
|
2018-05-23 06:19:49 +00:00
|
|
|
// Support: IE7
|
2017-03-05 17:42:53 +00:00
|
|
|
*display: inline; // stylelint-disable declaration-block-no-duplicate-properties
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-body-content {
|
|
|
|
position: relative;
|
|
|
|
line-height: @content-line-height;
|
|
|
|
font-size: @content-font-size;
|
|
|
|
z-index: 0;
|
|
|
|
|
|
|
|
p {
|
|
|
|
line-height: inherit;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin-top: 1em;
|
2015-05-23 12:07:14 +00:00
|
|
|
}
|
2014-08-07 11:38:34 +00:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
line-height: @content-line-height;
|
|
|
|
margin-top: 0.3em;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2015-05-23 12:07:14 +00:00
|
|
|
font-size: 1.2em;
|
2014-08-07 11:38:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3,
|
|
|
|
h4 {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-size: 100%; /* (reset) */
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc h2 {
|
|
|
|
font-size: 100%; /* (reset) */
|
|
|
|
font-family: @content-font-family;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-12 11:14:37 +00:00
|
|
|
/* Allow edit sections outside of mw-body-content (T160269) */
|
|
|
|
.mw-editsection,
|
|
|
|
.mw-editsection-like {
|
|
|
|
font-family: @content-font-family;
|
|
|
|
}
|
|
|
|
|
2014-08-07 11:38:34 +00:00
|
|
|
/* Hide empty portlets */
|
|
|
|
div.emptyPortlet {
|
2015-06-23 21:31:24 +00:00
|
|
|
display: none;
|
2014-08-07 11:38:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: disc;
|
2015-01-19 09:51:27 +00:00
|
|
|
.list-style-image-svg('images/bullet-icon.svg', 'images/bullet-icon.png');
|
2014-08-07 11:38:34 +00:00
|
|
|
}
|
|
|
|
|
2015-06-23 21:31:24 +00:00
|
|
|
pre,
|
|
|
|
.mw-code {
|
2014-08-07 11:38:34 +00:00
|
|
|
line-height: 1.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Site Notice (includes notices from CentralNotice extension) */
|
|
|
|
#siteNotice {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|