twig header print
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
* {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
@@ -24,20 +25,44 @@
|
||||
// width: 80vw;
|
||||
|
||||
.print-header {
|
||||
position: absolute;
|
||||
top: 1cm;
|
||||
right: 1cm;
|
||||
// position: absolute;
|
||||
// top: 1cm;
|
||||
// right: 1cm;
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// gap: 0.5rem;
|
||||
position: relative !important;
|
||||
top: auto !important;
|
||||
right: auto !important;
|
||||
|
||||
display: flex !important;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
width: 100%;
|
||||
margin-bottom: 1.5rem;
|
||||
padding-bottom: 1rem;
|
||||
border-bottom: 1px solid #ccc;
|
||||
|
||||
break-after: avoid;
|
||||
page-break-after: avoid;
|
||||
}
|
||||
|
||||
// .print-header img {
|
||||
// width: 2cm;
|
||||
// height: auto;
|
||||
// }
|
||||
.print-header__left,
|
||||
.print-header__right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.print-header img {
|
||||
width: 2cm;
|
||||
height: auto;
|
||||
max-height: 55px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.print-header__text {
|
||||
.print-header__text {
|
||||
text-transform: uppercase;
|
||||
font-family: "Source Code Pro";
|
||||
|
||||
@@ -45,7 +70,7 @@
|
||||
font-size: 0.8rem;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
text-align: end;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.view-header,
|
||||
@@ -263,7 +288,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
@media print {
|
||||
|
||||
|
||||
.path-projets-complets {
|
||||
.layout-content {
|
||||
width: 100% !important;
|
||||
@@ -294,12 +320,10 @@
|
||||
display: block;
|
||||
|
||||
}
|
||||
blockquote{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.projet-body-print{
|
||||
|
||||
Reference in New Issue
Block a user