Template:Centered headers/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) Tesinormed changed the content model of the page Template:Centered headers/styles.css from "CSS" to "Sanitized CSS" |
Tesinormed (talk | contribs) No edit summary |
||
| Line 4: | Line 4: | ||
padding: 0 15px 0 15px; |
padding: 0 15px 0 15px; |
||
text-align: center; |
text-align: center; |
||
| ⚫ | |||
h2 { |
|||
| ⚫ | |||
| ⚫ | |||
h3 { |
|||
| ⚫ | |||
} |
} |
||
| Line 19: | Line 27: | ||
h3 .mw-editsection { |
h3 .mw-editsection { |
||
display: none; |
display: none; |
||
| ⚫ | |||
h2 .mw-headline { |
|||
| ⚫ | |||
| ⚫ | |||
h3 .mw-headline { |
|||
| ⚫ | |||
} |
} |
||
Revision as of 00:31, December 3, 2024
h2,
h3 {
flex: 0 1 auto;
padding: 0 15px 0 15px;
text-align: center;
}
h2 {
font-size: var(--font-size-xxx-large);
}
h3 {
font-size: var(--font-size-x-large);
}
h2 .mw-headline,
h3 .mw-headline {
font-weight: bold;
display: flex;
flex-wrap: nowrap;
justify-content: flex-start;
align-items: center;
gap: var(--space-md);
}
h2 .mw-editsection,
h3 .mw-editsection {
display: none;
}
h2 .mw-headline::before,
h3 .mw-headline::before,
h2 .mw-headline::after,
h3 .mw-headline::after {
content: '';
height: 1px;
flex: 1 1 100px;
background: var(--color-base--emphasized);
}