mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-11 16:38:20 +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",
|
||||
"maxSize": "7.4KB"
|
||||
"maxSize": "7.3KB"
|
||||
},
|
||||
{
|
||||
"resourceModule": "skins.minerva.content.styles.images",
|
||||
|
|
|
@ -154,30 +154,25 @@ main {
|
|||
}
|
||||
|
||||
.mw-parser-output {
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.mw-headline {
|
||||
flex-grow: 1;
|
||||
flex-basis: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
.mw-headline {
|
||||
flex-grow: 1;
|
||||
flex-basis: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.mw-editsection {
|
||||
align-self: center;
|
||||
// Negative margins to prevent the edit icon from affecting the height of the heading
|
||||
margin-top: -1em;
|
||||
margin-bottom: -1em;
|
||||
.cdx-mixin-button-layout-flush( 'end', true, 'large' );
|
||||
.mw-editsection {
|
||||
align-self: center;
|
||||
// Negative margins to prevent the edit icon from affecting the height of the heading
|
||||
margin-top: -1em;
|
||||
margin-bottom: -1em;
|
||||
.cdx-mixin-button-layout-flush( 'end', true, 'large' );
|
||||
|
||||
.cdx-button {
|
||||
font-size: 1rem; // stylelint-disable-line unit-disallowed-list
|
||||
}
|
||||
.cdx-button {
|
||||
font-size: 1rem; // stylelint-disable-line unit-disallowed-list
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue