header print

This commit is contained in:
2026-04-09 14:59:16 +02:00
parent 6ebe96cfa2
commit 86135fb150
4 changed files with 128 additions and 83 deletions
@@ -15,6 +15,27 @@
span {
display: none;
}
.print-header{
display: none;
}
.print-header img {
width: 2cm;
height: auto;
}
.print-header__text {
text-transform: uppercase;
font-family: "Source Code Pro";
color: $blue-dark;
font-size: 0.8rem;
font-weight: 500;
text-transform: uppercase;
text-align: end;
}
.node-type-projet {
border-bottom: 1px solid black;
@@ -82,39 +103,6 @@
display: none;
}
}
// .field--name-field-photo {
// order: 1;
// .field__label {
// display: none;
// }
// .field__items {
// display: grid;
// grid-template-columns: repeat(3, 1fr);
// grid-template-rows: 500px 150px 150px;
// gap: 3px;
// }
// .field__item:first-child {
// grid-column: 1 / 4;
// grid-row: 1;
// img {
// max-height: 500px;
// }
// }
// .field__item {
// overflow: hidden;
// }
// .field__item img {
// width: 100%;
// height: 100%;
// object-fit: cover;
// display: block;
// }
// }
.field--name-title {
@@ -171,18 +159,24 @@
.field--name-field-incube {
order: 4;
display: inline-flex;
width: fit-content;
background-color: $red;
color: white;
font-weight: 800;
padding-right: 0.3rem;
padding-left: 0.2rem;
flex-direction: row;
margin-bottom: 1rem;
margin-top: 1rem;
// flex-direction: row;
&::before {
content: ' Projet ';
padding-right: 0.5rem;
}
.field__label{
display: inline;
}
.field__item {
display: none;
@@ -193,32 +187,20 @@
.field--name-field-encours-fini {
display: none;
}
.field--name-field-region {
order: 5;
width: 30%;
position: relative;
height: 80px;
text-align: center;
padding-right: 1rem;
@media (max-width: 479px) {
width: 100%;
}
.field__label {
display: none;
}
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 2rem;
&::before {
content: url("../images/pictos/picto_lieu.svg");
min-width: 30px;
height: auto;
padding-right: 1rem;
position: absolute;
left: 0;
margin-top: .83em;
margin-left: 1rem;
content: "";
display: block;
width: 20px;
height: 20px;
background: url("../images/pictos/picto_lieu.svg") no-repeat center;
background-size: contain;
}
}
@@ -9,6 +9,32 @@
.layout-content{
width: 80vw;
.print-header {
position: absolute;
top: 1cm;
right: 1cm;
display: flex;
align-items: center;
gap: 0.5rem;
}
.print-header img {
width: 2cm;
height: auto;
}
.print-header__text {
text-transform: uppercase;
font-family: "Source Code Pro";
color: $blue-dark;
font-size: 0.8rem;
font-weight: 500;
text-transform: uppercase;
text-align: end;
}
.views-row{
margin-top: 3rem;
@@ -18,7 +44,7 @@
.projet-header-print{
padding-top: 3rem;
.field--name-title{
font-size: 1.5rem;
font-size: 1.2rem;
}
}
.projet-body-print{