decor-6-expe/maquette-tests/assets/css/chapter-header.css

93 lines
1.4 KiB
CSS
Raw Normal View History

2026-03-04 10:52:07 +01:00
.chapter-header {
position: relative;
}
.chapter-header p {
text-indent: 0px !important;
}
2026-03-10 11:49:12 +01:00
.chapter-header .type,
2026-03-04 10:52:07 +01:00
.chapter-header .h2-pattern {
display: none;
}
.chapter-header .hgroup{
2026-03-10 11:49:12 +01:00
/* margin-top: var(--gap);
2026-03-04 10:52:07 +01:00
border-left: var(--unit) solid var(--grey);
border-left: var(--unit) solid var(--grey);
padding-left: var(--gap);
display: flex;
2026-03-10 11:49:12 +01:00
flex-direction: column; */
margin-left: 15%;
2026-03-04 10:52:07 +01:00
}
.chapter-header h2 {
2026-03-10 14:17:49 +01:00
font-weight: 160;
font-family: var(--font-ocr);
2026-03-10 11:49:12 +01:00
line-height: 1.1;
2026-03-04 10:52:07 +01:00
font-size: 36px;
2026-03-10 11:49:12 +01:00
2026-03-04 10:52:07 +01:00
}
.chapter-header .author {
2026-03-10 14:17:49 +01:00
font-weight: 100;
font-family: var(--font-ocr);
line-height: 1.1;
font-size: 30px;
margin-top: calc(var(--baseline)*1);
2026-03-10 11:49:12 +01:00
margin-bottom: calc(var(--baseline)*2);
2026-03-04 10:52:07 +01:00
2026-03-10 11:49:12 +01:00
/* background-color: black;
2026-03-04 10:52:07 +01:00
color: white;
font-family: var(--mono);
font-size: var(--fs-nav);
text-align: center;
font-size: var(--fs-nav);
line-height: 1;
padding: 4px 1ch;
font-weight: normal;
height: var(--unit);
2026-03-10 11:49:12 +01:00
margin-bottom: 0; */
2026-03-04 10:52:07 +01:00
/* display: inline-block;
margin-inline: auto;
margin-top: calc(var(--baseline)*1); */
}
.chapter-header .bio{
display: none;
}
.chapter-header{
margin-bottom: calc(var(--baseline)*1);
}
.chapter-header:after{
/* content: "";
display: block;
margin-top: var(--gap);
border-top: 2px dashed var(--grey);
margin-bottom: calc(var(--baseline)*1); */
}