margin print

This commit is contained in:
2026-05-22 11:26:02 +02:00
parent a36758e0d3
commit 7f1b9decb2
3 changed files with 43 additions and 24 deletions
@@ -42,7 +42,7 @@
margin-bottom: 4rem !important;
///// filtres ///////////
.buttons-filtres-ressources{display: none;}
width: 80%;
margin: auto;
.view-filters{
margin-top: 4rem;
@@ -174,9 +174,9 @@
// ///// ///////////
@media screen {
// .node-type-projet {
// visibility: hidden;
// }
.node-type-projet {
visibility: hidden;
}
}
}
@@ -11,8 +11,8 @@
height: auto;
}
@page {
margin-top: 1cm;
margin-bottom: 1cm;
// margin-top: 1cm;
// margin-bottom: 1cm;
// margin-left: 1cm;
// margin-right: 1cm;
}
@@ -20,9 +20,12 @@
display: block;
}
.path-projets-complets {
.view-header{
margin-top: 0 !important;
}
.layout-content{
// width: 80vw;
margin-top: 0 !important;
width: 95% !important;
.print-header {
// position: absolute;
@@ -40,7 +43,7 @@
align-items: center;
width: 100%;
margin-bottom: 1.5rem;
margin-bottom: 3rem;
padding-bottom: 1rem;
border-bottom: 1px solid #ccc;
@@ -62,7 +65,7 @@
max-height: 55px;
width: auto;
}
.print-header__text {
.print-header__text {
text-transform: uppercase;
font-family: "Source Code Pro";
@@ -81,12 +84,15 @@
.node-type-projet {
border-bottom:none;
}
margin-top: 3rem;
// margin-top: 3rem;
break-after: page ;
page-break-after: always;
.projet-header-print-content{
width: 80%;
margin: auto;
}
.projet-header-print{
padding-top: 3rem;
// padding-top: 3rem;
.field--name-title{
font-size: 1.2rem;
}
@@ -315,6 +321,8 @@
}
.projet-body-print{
width: 80%;
margin: auto;
padding-top: 3rem ;
}
.paragraph{
@@ -387,7 +395,7 @@
}
}
ul{margin-top: 0;}
p{margin-top: 0;}
p{margin-top: 0.5rem;}
.paragraph--type--texte{
margin-top: 1.5rem;
.field--name-field-titre{