geoproject-app/public/assets/css/stylesheet.print.css
Julie Blanc cd65c35994
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 25s
default styles print
2026-03-02 17:06:42 +01:00

117 lines
2.5 KiB
CSS

@page {
size: A4;
margin: 20mm 15mm 26mm 15mm;
background: rgba(255, 255, 255, 1);
}
@page {
@bottom-center {
content: string(title);
}
}
body {
font-family: "DM Sans", sans-serif;
}
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: 52px;
background: rgba(255, 255, 255, 0.521);
padding: 10px 20px;
margin: 0;
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: 46px;
margin-top: 36px;
background-color: #cfcfcf;
padding: 20px;
}
/* ───────────────────────────────────────────
CHAPITRES
─────────────────────────────────────────── */
h3{
margin-top: 50px;
}
/* ───────────────────────────────────────────
CARTES
─────────────────────────────────────────── */
/* ───────────────────────────────────────────
MARKERS
─────────────────────────────────────────── */
.marker-title img{
width: 40px;
}