geoproject-app/public/assets/css/stylesheet.print.css
2026-03-08 10:38:59 +01:00

129 lines
2.7 KiB
CSS

@page {
@bottom-center {
content: string(title);
}
}
figure, img{
width: 100%;
margin: 0;
}
/* ───────────────────────────────────────────
COVER
─────────────────────────────────────────── */
.figure-backgroung-cover{
width: var(--pagedjs-width);
height: var(--pagedjs-height);
position: absolute;
top: calc(var(--pagedjs-margin-top)*-1);
left: calc(var(--pagedjs-margin-left)*-1);
z-index: -1;
}
/* h1{
font-size: 38px;
background: rgba(255, 255, 255, 0.521);
padding-top: 10px;
padding-left: 20px;
padding-bottom: 10px;
padding-right: 20px;
margin-left: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-top: 60px;
} */
p.author{
font-size: 24px;
font-weight: bold;
background: rgba(255, 255, 255, 0.521);
padding: 10px 20px;
margin: 0;
margin-top: 20px;
}
.introduction{
font-size: 26px;
background: rgba(255, 255, 255, 0.521);
padding: 10px 20px;
margin: 0;
margin-top: 60px;
}
.figure-backgroung-cover img{
width: 100%;
height: 100%;
object-fit: cover;
}
/* ───────────────────────────────────────────
Géoformat
─────────────────────────────────────────── */
.geoformat{
break-before: right;
}
h2{
font-size: 38px;
margin-top: 36px;
background-color: #cfcfcf;
padding: 20px;
break-after: avoid;
}
/* ───────────────────────────────────────────
CHAPITRES
─────────────────────────────────────────── */
h3{
margin-top: 30px;
break-after: avoid;
}
/* ───────────────────────────────────────────
CARTES
─────────────────────────────────────────── */
h4{
break-after: avoid;
margin-top: 30px;
text-decoration: underline;
}
/* ───────────────────────────────────────────
MARKERS
─────────────────────────────────────────── */
h5{
display: flex;
align-items: center;
}
.marker-title img{
width: 40px;
}