Template:Centered headers/styles.css: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
h2, |
h2, |
||
h3 { |
h3 { |
||
flex: 0 1 auto; |
|||
text-align: center; |
text-align: center; |
||
} |
} |
||
Revision as of 16:07, December 3, 2024
h2,
h3 {
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,
h2 .mw-headline::after {
content: '';
border-top: 1px solid var(--color-base--emphasized);
flex: 1 1 100px;
}
h3 .mw-headline::before,
h3 .mw-headline::after {
content: '';
border-top: 1px dashed var(--color-base--emphasized);
flex: 1 1 100px;
}