Merge "Reduce CSS size & specificity for headings"

This commit is contained in:
jenkins-bot 2023-11-27 20:28:09 +00:00 committed by Gerrit Code Review
commit 6d196bb4fe
2 changed files with 16 additions and 21 deletions

View file

@ -1,7 +1,7 @@
[
{
"resourceModule": "skins.minerva.base.styles",
"maxSize": "7.4KB"
"maxSize": "7.3KB"
},
{
"resourceModule": "skins.minerva.content.styles.images",

View file

@ -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
}
}
}