notes smaller
This commit is contained in:
parent
8823395d75
commit
cc75afe344
5 changed files with 126 additions and 270 deletions
|
|
@ -2,54 +2,83 @@
|
|||
|
||||
@page {
|
||||
size: 165mm 240mm;
|
||||
margin-top: 16mm;
|
||||
margin-bottom: 20mm;
|
||||
margin-top: 25mm;
|
||||
margin-bottom: 14mm;
|
||||
bleed: 6mm;
|
||||
marks: crop;
|
||||
|
||||
margin-left: 28mm;
|
||||
margin-right: 16mm;
|
||||
margin-left: 33mm;
|
||||
margin-right: 11mm;
|
||||
|
||||
}
|
||||
|
||||
@page:left {
|
||||
|
||||
|
||||
@top-left{
|
||||
content: element(navDecor);
|
||||
@top-left {
|
||||
content: element(decor);
|
||||
width: 0px;
|
||||
vertical-align: top;
|
||||
padding-top: 8mm;
|
||||
}
|
||||
|
||||
|
||||
@bottom-center {
|
||||
@top-right {
|
||||
content: element(author);
|
||||
vertical-align: top;
|
||||
padding-top: 8mm;
|
||||
width: 100%;
|
||||
padding-top: 8mm;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@top-left-corner {
|
||||
content: counter(page);
|
||||
font-family: var(--font-title);
|
||||
font-size: 20px;
|
||||
vertical-align: bottom;
|
||||
padding-bottom: 8mm;
|
||||
vertical-align: top;
|
||||
padding-top: 8mm;
|
||||
text-align: left;
|
||||
margin-left: 11mm;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@page:right {
|
||||
/* margin-left: 18mm;
|
||||
margin-right: 26mm; */
|
||||
|
||||
@top-left{
|
||||
content: element(nav);
|
||||
|
||||
@top-left {
|
||||
content: element(type);
|
||||
width: 0px;
|
||||
vertical-align: top;
|
||||
padding-top: 8mm;
|
||||
}
|
||||
|
||||
@bottom-center {
|
||||
@top-right {
|
||||
content: element(title);
|
||||
vertical-align: top;
|
||||
padding-top: calc(8mm + 20px);
|
||||
/* padding-right: 11mm; */
|
||||
text-align: left;
|
||||
position: relative;
|
||||
left: -11mm;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@top-right-corner {
|
||||
content: counter(page);
|
||||
font-family: var(--font-title);
|
||||
font-size: 20px;
|
||||
vertical-align: bottom;
|
||||
padding-bottom: 8mm;
|
||||
|
||||
width: 40px;
|
||||
position: relative;
|
||||
left: -40px;
|
||||
text-align: right;
|
||||
vertical-align: top;
|
||||
padding-top: 8mm;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -61,131 +90,48 @@
|
|||
|
||||
|
||||
@page chapter:first {
|
||||
@top-left {
|
||||
@top-right {
|
||||
content: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@page:blank {
|
||||
@page:blank {
|
||||
@top-left {
|
||||
content: none;
|
||||
}
|
||||
@bottom-center {
|
||||
@top-left-corner {
|
||||
content: none;
|
||||
}
|
||||
|
||||
@top-right {
|
||||
content: none;
|
||||
}
|
||||
@top-center {
|
||||
content: none;
|
||||
}
|
||||
|
||||
@bottom-center {
|
||||
content: none;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.chapter-header h2 {
|
||||
string-set: title content(text);
|
||||
.nav-title {
|
||||
position: running(title);
|
||||
}
|
||||
|
||||
.chapter-header .author {
|
||||
string-set: author content(text);
|
||||
.nav-author {
|
||||
position: running(author);
|
||||
}
|
||||
|
||||
.chapter-header .type {
|
||||
string-set: type content(text);
|
||||
.nav-type {
|
||||
position: running(type);
|
||||
}
|
||||
|
||||
|
||||
.running-nav{
|
||||
position: running(nav);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.running-nav-decor{
|
||||
position: running(navDecor);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.running-nav-decor ul,
|
||||
.running-nav ul{
|
||||
|
||||
display: flex;
|
||||
gap: calc(var(--unit)*4);
|
||||
list-style: none;
|
||||
|
||||
}
|
||||
|
||||
.running-nav-decor li,
|
||||
.running-nav li{
|
||||
font-family: var(--font-nav);
|
||||
font-size: 10px;
|
||||
line-height: 10px;
|
||||
padding-left: 6ch;
|
||||
max-width: 24ch;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
/* color: var(--blue); */
|
||||
/* text-transform: lowercase;
|
||||
border: var(--border-grey);
|
||||
line-height: 1;
|
||||
padding: 4px 1ch;
|
||||
min-height: var(--unit);
|
||||
font-weight: normal;
|
||||
max-width: 24ch; */
|
||||
|
||||
}
|
||||
|
||||
.running-nav-decor li::before,
|
||||
.running-nav li::before{
|
||||
content: ">";
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
}
|
||||
|
||||
/* .running-nav-decor ul li.nav-title,
|
||||
.running-nav ul li.nav-title{
|
||||
flex-grow: 2;
|
||||
}
|
||||
|
||||
.running-nav ul li.nav-author{
|
||||
flex-shrink: 0;
|
||||
|
||||
}
|
||||
|
||||
.running-nav ul li.nav-title{
|
||||
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.running-nav ul li.nav-title{
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.running-nav ul li.nav-author{
|
||||
flex: 0 0 auto; /* taille fixe */
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
.running-nav-decor ul li.nav-chevron{
|
||||
padding: 0;
|
||||
width: var(--unit);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* .pagedjs_left_page .pagedjs_pagebox{
|
||||
|
||||
background: linear-gradient(180deg, transparent 82%, #00009B 100%)!important;
|
||||
|
||||
} */
|
||||
|
||||
/* .pagedjs_right_page .pagedjs_pagebox{
|
||||
|
||||
background: linear-gradient(180deg, transparent 82%, #00009B 100%)!important;
|
||||
|
||||
} */
|
||||
.nav-decor {
|
||||
position: running(decor);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue