revision interlignage print + marge dans linear
This commit is contained in:
parent
7829420c78
commit
a9d24a43a9
2 changed files with 24 additions and 14 deletions
|
|
@ -46,18 +46,4 @@ body.full-width #main-content {
|
||||||
column-gap: var(--unit--horizontal);
|
column-gap: var(--unit--horizontal);
|
||||||
margin-bottom: calc(var(--unit--vertical) * 2);
|
margin-bottom: calc(var(--unit--vertical) * 2);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@media print{
|
|
||||||
.grid .column {
|
|
||||||
grid-column: span 1;
|
|
||||||
}
|
|
||||||
[data-template="grid"] .grid {
|
|
||||||
column-gap: 20px;
|
|
||||||
grid-template-columns: repeat(2, 1fr);
|
|
||||||
}
|
|
||||||
|
|
||||||
.blocks, .column {
|
|
||||||
page-break-inside: auto; /* autoriser la coupe si nécessaire */
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,11 +1,35 @@
|
||||||
@media print {
|
@media print {
|
||||||
/* Hide header / footer infos. */
|
/* Hide header / footer infos. */
|
||||||
|
|
||||||
|
:root{
|
||||||
|
--font-size-m: calc(var(--font-size-s) * 1.4) !important;
|
||||||
|
}
|
||||||
|
*:not(.page-cover) p, *:not(.page-cover) li, *:not(.page-cover) button, *:not(.page-cover) .fs-m{
|
||||||
|
font-size: var(--font-size-m);
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
-webkit-print-color-adjust: exact;
|
-webkit-print-color-adjust: exact;
|
||||||
print-color-adjust: exact;
|
print-color-adjust: exact;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[data-template="linear"] #main-content{
|
||||||
|
padding-right: calc(var(--unit--horizontal) * 2) ;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-template="grid"] .grid .column {
|
||||||
|
grid-column: span 1;
|
||||||
|
}
|
||||||
|
[data-template="grid"] .grid {
|
||||||
|
column-gap: 20px;
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
[data-template="grid"] .blocks, .column {
|
||||||
|
page-break-inside: auto; /* autoriser la coupe si nécessaire */
|
||||||
|
}
|
||||||
|
|
||||||
@page {
|
@page {
|
||||||
/*variable pas supporter dans les marges...*/
|
/*variable pas supporter dans les marges...*/
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue