fix: Improve main title header

This commit is contained in:
Alexis Fourmaux 2025-05-13 01:57:20 +02:00
parent a8eae5f0f9
commit 7ecc381930

View file

@ -31,15 +31,23 @@ section {
border-bottom-color: var(--surface0); border-bottom-color: var(--surface0);
border-bottom-style: solid; border-bottom-style: solid;
&>h1.title {
font-size: 3rem;
font-weight: 900;
margin-bottom: 0;
margin-top: 0;
}
&>p { &>p {
&.metadata { &.metadata {
color: var(--subtext0);
font-size: .8rem; font-size: .8rem;
font-style: italic; font-style: italic;
text-align: end; text-align: end;
} }
&.subtitle { &.subtitle {
color: var(--subtext0); color: var(--subtext1);
font-size: 1.5rem; font-size: 1.5rem;
margin-top: 0; margin-top: 0;
margin-bottom: 2rem; margin-bottom: 2rem;
@ -53,13 +61,6 @@ h1 {
font-weight: medium; font-weight: medium;
margin-top: 2rem; margin-top: 2rem;
margin-bottom: 1rem; margin-bottom: 1rem;
&.title {
font-size: 3rem;
font-weight: 900;
margin-bottom: 0;
color: var(--maroon);
}
} }
h2 { h2 {