decor subtitles finish js
This commit is contained in:
parent
1c1a2b0a93
commit
cc971f6152
6 changed files with 180 additions and 84 deletions
|
|
@ -6,10 +6,15 @@ h3, h4{
|
|||
margin-top: calc(var(--baseline)*1);
|
||||
margin-bottom: calc(var(--baseline)*1);
|
||||
position: relative;
|
||||
font-size: var(--fs-subtitle);
|
||||
font-size: var(--font-size);
|
||||
color: var(--sign-color);
|
||||
}
|
||||
|
||||
.h3_container,
|
||||
.h4_container{
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.h3-before,
|
||||
.h3-after{
|
||||
|
|
@ -50,24 +55,53 @@ h3, h4{
|
|||
|
||||
|
||||
|
||||
/* LEFT PAGE */
|
||||
|
||||
.decor-h3_small{
|
||||
left: -13.5mm;
|
||||
padding-top: 9px;
|
||||
top: calc(var(--baseline)*-2.5 + 9px);
|
||||
}
|
||||
|
||||
|
||||
.decor-h3_small div{
|
||||
position: relative;
|
||||
top: calc(var(--baseline)*-1.5);
|
||||
}
|
||||
|
||||
|
||||
.decor-h3_big{
|
||||
right: -93px;
|
||||
right: -92px;
|
||||
text-align: right;
|
||||
top: calc(var(--baseline) * -3.5 - 9px);
|
||||
}
|
||||
|
||||
|
||||
.decor-h3_big div{
|
||||
position: relative;
|
||||
top: calc(var(--baseline) * -2.5 - 9px);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* RIGHT PAGE */
|
||||
|
||||
|
||||
.pagedjs_right_page .decor-h3_small{
|
||||
left: auto;
|
||||
right: -62px;
|
||||
top: calc(var(--baseline)*-2.5 + 9px);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.pagedjs_right_page .decor-h3_big{
|
||||
right: 0;
|
||||
left: -87px;
|
||||
text-align: left;
|
||||
top: calc(var(--baseline) * -3.5 - 9px);
|
||||
}
|
||||
|
||||
|
||||
|
||||
.pagedjs_right_page .chapter > .h3_container h3 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
|
||||
.pagedjs_right_page .chapter > .h3_container .decor-h3_big [data-count="2"]{
|
||||
color: transparent
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue