decor-6-expe/maquette-tests/assets/css/text.css

100 lines
1.5 KiB
CSS
Raw Permalink Normal View History

2026-03-04 10:52:07 +01:00
.chapter p{
text-align: justify;
hyphens: auto;
hyphenate-limit-chars: 8 3;
position: relative;
orphans: 2;
hyphens: 2;
}
.container-following-note + p,
p + p{
text-indent: 30%;
position: relative;
}
p::before{
/* content: ">";
position: absolute;
left: 0;
font-family: var(--mono);
font-weight: normal;
font-size: var(--fs-nav); */
/* display: block;
width: var(--unit);
height: var(--unit);
background-color: var(--grey);
top: 2px;
display: flex;
align-items: center; */
/* justify-content: center; */
}
h3, h4{
break-after: avoid;
}
h3, h4{
font-family: var(--mono);
font-size: var(--fs-nav);
background-color: var(--grey);
font-size: var(--fs-nav);
line-height: 1;
padding: 4px 1ch;
min-height: var(--unit);
margin-top: calc(var(--baseline)*1.5);
margin-bottom: calc(var(--baseline)*0.5);
font-weight: normal;
}
h4{
border: var(--border-grey);
background: none;
}
blockquote p{
/* font-family: var(--mono); */
}
blockquote{
padding-left: 3ch;
/* font-style: italic; */
margin-top: calc(var(--baseline)*0..5);
margin-bottom: calc(var(--baseline)*0.5);
}
blockquote::before{
content: "> > > > > > > > > >";
display: block;
width: 1ch;
position: absolute;
left: 0;
font-family: var(--mono);
font-size: var(--fs-nav);
font-style: normal;
}
.chapter > :first-child{
margin-top: 0px;
}
.pagedjs_area{
position: relative;
}