mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-13 17:37:07 +00:00
Merge "Reduce CSS size & specificity for headings"
This commit is contained in:
commit
6d196bb4fe
|
@ -1,7 +1,7 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"resourceModule": "skins.minerva.base.styles",
|
"resourceModule": "skins.minerva.base.styles",
|
||||||
"maxSize": "7.4KB"
|
"maxSize": "7.3KB"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"resourceModule": "skins.minerva.content.styles.images",
|
"resourceModule": "skins.minerva.content.styles.images",
|
||||||
|
|
|
@ -154,30 +154,25 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-parser-output {
|
.mw-parser-output {
|
||||||
h1,
|
h1, h2, h3, h4, h5, h6 {
|
||||||
h2,
|
|
||||||
h3,
|
|
||||||
h4,
|
|
||||||
h5,
|
|
||||||
h6 {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
.mw-headline {
|
.mw-headline {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-basis: 0;
|
flex-basis: 0;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-editsection {
|
.mw-editsection {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
// Negative margins to prevent the edit icon from affecting the height of the heading
|
// Negative margins to prevent the edit icon from affecting the height of the heading
|
||||||
margin-top: -1em;
|
margin-top: -1em;
|
||||||
margin-bottom: -1em;
|
margin-bottom: -1em;
|
||||||
.cdx-mixin-button-layout-flush( 'end', true, 'large' );
|
.cdx-mixin-button-layout-flush( 'end', true, 'large' );
|
||||||
|
|
||||||
.cdx-button {
|
.cdx-button {
|
||||||
font-size: 1rem; // stylelint-disable-line unit-disallowed-list
|
font-size: 1rem; // stylelint-disable-line unit-disallowed-list
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue