mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-04 12:09:30 +00:00
81 lines
1.3 KiB
Plaintext
81 lines
1.3 KiB
Plaintext
|
/*
|
||
|
* Any rules which should not be flipped automatically in right-to-left situations should be
|
||
|
* prepended with @noflip in a comment block.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
.mw-body-content {
|
||
|
p {
|
||
|
margin: 0.5em 0;
|
||
|
}
|
||
|
|
||
|
h1 {
|
||
|
margin-top: 1em;
|
||
|
}
|
||
|
|
||
|
h2 {
|
||
|
margin-top: 1em;
|
||
|
font-size: @font-size-heading-2;
|
||
|
}
|
||
|
|
||
|
h3,
|
||
|
h4,
|
||
|
h5,
|
||
|
h6 {
|
||
|
margin-top: 0.3em;
|
||
|
margin-bottom: 0;
|
||
|
padding-bottom: 0;
|
||
|
line-height: @line-height-base;
|
||
|
}
|
||
|
|
||
|
h3 {
|
||
|
font-size: @font-size-heading-3;
|
||
|
}
|
||
|
|
||
|
h3,
|
||
|
h4 {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
h4,
|
||
|
h5,
|
||
|
h6 {
|
||
|
font-size: @font-size-reset; // Reset.
|
||
|
}
|
||
|
|
||
|
.toc h2 {
|
||
|
font-family: @font-family-sans;
|
||
|
font-size: @font-size-reset; // Reset.
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* Allow edit sections outside of mw-body-content (T160269) */
|
||
|
.mw-editsection,
|
||
|
.mw-editsection-like {
|
||
|
font-family: @font-family-sans;
|
||
|
}
|
||
|
|
||
|
ul {
|
||
|
// No need for PNG fallback. Fallback is browser default (a smaller, also black, circle).
|
||
|
.list-style-image( 'images/bullet-icon.svg' );
|
||
|
}
|
||
|
|
||
|
pre,
|
||
|
.mw-code {
|
||
|
line-height: @line-height-code;
|
||
|
}
|
||
|
|
||
|
.mw-jump-link:not( :focus ) {
|
||
|
.mixin-screen-reader-text;
|
||
|
}
|
||
|
|
||
|
// External links
|
||
|
.mw-parser-output {
|
||
|
.external {
|
||
|
background-position: center right;
|
||
|
background-repeat: no-repeat;
|
||
|
.background-image-svg( 'images/external-link-ltr-icon.svg', 'images/external-link-ltr-icon.png' );
|
||
|
padding-right: 13px;
|
||
|
}
|
||
|
}
|