print css fix

main
km0 3 years ago
parent ae9f20acce
commit fd870d1223

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