title chapter
This commit is contained in:
parent
5cb765701a
commit
9ed0fb0d1d
9 changed files with 302 additions and 126 deletions
|
|
@ -1,8 +1,20 @@
|
|||
|
||||
#section__content{
|
||||
margin-left: 28mm;
|
||||
// margin-left: 28mm;
|
||||
|
||||
h1, h2, h3 {
|
||||
|
||||
|
||||
h1{
|
||||
|
||||
column-span: all;
|
||||
height: $content-h;
|
||||
}
|
||||
|
||||
// h1 + ol{
|
||||
// break-before: page;
|
||||
// }
|
||||
|
||||
h2, h3 {
|
||||
&::before{
|
||||
content: attr(data-counter);
|
||||
}
|
||||
|
|
@ -15,7 +27,7 @@
|
|||
}
|
||||
|
||||
|
||||
h1, h2, h3 , h4{
|
||||
h2, h3 , h4{
|
||||
break-inside: avoid;
|
||||
break-after: avoid;
|
||||
text-wrap: balance;
|
||||
|
|
@ -57,6 +69,29 @@
|
|||
|
||||
|
||||
|
||||
h1{
|
||||
|
||||
font-weight: 200;
|
||||
font-size: 98px;
|
||||
line-height: 1;
|
||||
hyphens: auto;
|
||||
|
||||
break-inside: avoid;
|
||||
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
text-align: center;
|
||||
|
||||
|
||||
span{
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -152,36 +187,36 @@
|
|||
margin-top: 0;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-family: var(--font-title);
|
||||
font-size: 1.6rem;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
line-height: calc(var(--baseline)*1.6);
|
||||
// text-align: center;
|
||||
position: relative;
|
||||
margin-top: calc(var(--baseline)*2 - 3px);
|
||||
padding-bottom: calc(var(--baseline)*1);
|
||||
padding-left: calc(var(--indent)*2);
|
||||
padding-right: 1ch;
|
||||
// h1{
|
||||
// font-family: var(--font-title);
|
||||
// font-size: 1.6rem;
|
||||
// font-weight: 500;
|
||||
// text-transform: uppercase;
|
||||
// line-height: calc(var(--baseline)*1.6);
|
||||
// // text-align: center;
|
||||
// position: relative;
|
||||
// margin-top: calc(var(--baseline)*2 - 3px);
|
||||
// padding-bottom: calc(var(--baseline)*1);
|
||||
// padding-left: calc(var(--indent)*2);
|
||||
// padding-right: 1ch;
|
||||
|
||||
|
||||
&::before{
|
||||
// font-size: var(--fs-num);
|
||||
// width: 2ch;
|
||||
// height: 2ch;
|
||||
// border: 1px solid currentColor;
|
||||
// border-radius: 50%;
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// justify-content: center;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: calc(var(--indent)*2 - 0.5ch);
|
||||
// border-bottom: 2px solid #cfcfcf;
|
||||
// top: 3px;
|
||||
}
|
||||
}
|
||||
// &::before{
|
||||
// // font-size: var(--fs-num);
|
||||
// // width: 2ch;
|
||||
// // height: 2ch;
|
||||
// // border: 1px solid currentColor;
|
||||
// // border-radius: 50%;
|
||||
// // display: flex;
|
||||
// // align-items: center;
|
||||
// // justify-content: center;
|
||||
// position: absolute;
|
||||
// left: 0;
|
||||
// width: calc(var(--indent)*2 - 0.5ch);
|
||||
// // border-bottom: 2px solid #cfcfcf;
|
||||
// // top: 3px;
|
||||
// }
|
||||
// }
|
||||
|
||||
section h1:first-of-type{
|
||||
margin-top: 3px!important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue