print css fix

main
km0 3 years ago
parent ae9f20acce
commit fd870d1223

@ -1,5 +1,4 @@
@media print{
@media print {
@page {
size: A5;
margin-top: 5mm;
@ -8,20 +7,19 @@
margin-left: 7.5mm;
}
html, body {
html,
body {
font-size: 14px;
font-family: Fengardo;
overflow: auto;
}
.container{
.container {
display: block;
width: auto;
height: auto;
}
.atlas {
border: none;
}
@ -32,17 +30,12 @@
max-width: 100%;
}
.contributions,
.contribution {
border-bottom: none;
}
header.cover{
header.cover {
width: auto;
height: 100%;
min-height: auto;
@ -64,8 +57,7 @@
break-before: page;
}
.info{
.info {
display: none;
}
@ -73,12 +65,11 @@
display: block;
columns: unset;
}
.index table{
.index table {
width: 100%;
border-collapse: collapse;
}
.index tr{
.index tr {
border-top: solid 1px currentColor;
border-bottom: solid 1px currentColor;
}
@ -90,26 +81,22 @@
text-align: right;
}
.symbol {
text-transform: lowercase;
width: 20%;
}
.libretto {
overflow: hidden;
/* height:100%; */
}
.libretto > *{
.libretto > * {
border-bottom: none;
}
.contribution .content h2,
.contribution .description{
.contribution .description {
font-size: 18px;
}
@ -127,7 +114,6 @@
margin: 16px auto;
}
/*Sorry Gi, the multicolumn layout is too painful */
/* .contribution .content{
@ -146,7 +132,6 @@
*/
/* .content p, .content h2 {
margin: default;
} */
@ -155,23 +140,27 @@
display: none;
}
.full-height {
height: 100%;
}
.atlas svg #live-path {
color: currentColor;
stroke-dasharray: initial;
stroke-dashoffset: initial;
animation: none;
}
}
@media print{
:root {
@media print {
:root {
--text: tomato;
--wireframe: tomato;
--background: #ffffff;
}
html, body{
html,
body {
background-color: var(--background);
}
}
Loading…
Cancel
Save