center rich text headings

This commit is contained in:
Yisroel Baum 2026-05-27 21:54:37 +03:00
parent 90e1c6f196
commit 0931819100
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -330,6 +330,16 @@ function isShortYoutubeHost(hostname: string): boolean {
line-height: 1.75;
}
.element-page__rich-text :deep(h2) {
margin: 0 0 0.9rem;
color: #2c2c2c;
font-family: var(--font-serif);
font-size: 2rem;
font-weight: 400;
line-height: 1.2;
text-align: center;
}
.element-page__rich-text :deep(p) {
margin: 0 0 1rem;
}