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 20: | Line 20: | ||
align-items: center; |
align-items: center; |
||
gap: var(--space-md); |
gap: var(--space-md); |
||
flex: 0 2 auto; |
|||
} |
} |
||
Revision as of 16:08, 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);
flex: 0 2 auto;
}
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;
}