feat: improve metadata display

This commit is contained in:
Alexis Fourmaux 2025-05-14 22:36:03 +02:00
parent 917b19fea0
commit 1d939fb107
4 changed files with 34 additions and 16 deletions

View file

@ -27,10 +27,7 @@ article {
section {
&.title {
border-bottom-width: 1px;
border-bottom-color: var(--overlay0);
border-bottom-style: solid;
margin-bottom: 3rem;
margin-bottom: 2.5rem;
&>h1.title {
font-size: 3rem;
@ -40,20 +37,22 @@ section {
}
&>p {
&.metadata {
color: var(--subtext1);
font-size: .8rem;
font-style: italic;
font-weight: 300;
text-align: end;
margin: 0
}
&.subtitle {
color: var(--subtext1);
font-size: 1.5rem;
margin-top: 0;
margin-bottom: 2rem;
margin-bottom: 2.5rem;
}
&.metadata {
color: var(--subtext1);
font-size: .8rem;
font-weight: 100;
text-align: center;
margin: 0;
border-bottom-width: 1px;
border-bottom-color: var(--overlay0);
border-bottom-style: solid;
}
}
}