support double line in subtitles

This commit is contained in:
Julie Blanc 2026-03-15 11:30:36 +01:00
parent 9340553c0b
commit 15aaf441cd
4 changed files with 93 additions and 53 deletions

View file

@ -21,6 +21,11 @@ h3, h4{
line-height: var(--sign-baseline);
}
.h3-line {
display: flex;
justify-content: flex-end;
}
.h3-before{
padding-right: 0.75ch;
}
@ -29,6 +34,11 @@ h3, h4{
padding-left: 0.75ch;
}
.h3-text{
background-color: yellow;
flex-grow: 2;
}
.decor-h3{
font-size: var(--sign-size);
color: var(--sign-color);

View file

@ -9,14 +9,29 @@
}
.container-following-note + p,
p + p{
text-indent: 30%;
/* text-indent: 30%; */
position: relative;
/* text-indent: -6ch; */
}
p::before{
content: ".............";
font-size: var(--sign-size);
color: var(--sign-color);
letter-spacing: var(--sign-spacing);
line-height: var(--sign-baseline);
position: relative;
top: -3px;
/* position: absolute;
left: 0; */
}
h4{