Update print styles
Jessica Schilling committed
May 4, 2020 at 13:26 UTC
d760862f819aee03a1f2eeb5714a517e3875efc2
1 file changed
+21
-18
dir-index.html
+21
-18
@@ -418,7 +418,6 @@ body {
418
}
419
420
a {
421
- background-color: transparent;
421
color: #378085;
422
text-decoration: none;
423
}
@@ -435,7 +434,6 @@ strong {
434
table {
435
border-spacing: 0;
436
border-collapse: collapse;
438
- background-color: transparent;
437
width: 100%;
438
max-width: 100%;
439
}
@@ -478,7 +476,6 @@ td {
476
477
#content {
478
margin: 15px;
481
- background-color: #fff;
479
border: 1px solid #ddd;
480
border-radius: 4px;
481
}
@@ -575,31 +572,37 @@ a:visited {
572
}
573
574
@media print {
578
- *,
579
- :after,
580
- :before {
581
- color: #000!important;
582
- text-shadow: none!important;
583
- background: 0 0!important;
584
- -webkit-box-shadow: none!important;
585
- box-shadow: none!important;
586
- }
575
+ #page-header {
576
+ display: none;
577
+ }
578
+ #content-header, body, .ipfs-hash {
579
+ color: #000;
580
+ }
581
+ #content-header {
582
+ border-bottom: 1px solid #000;
583
+ }
584
+ #content {
585
+ border: 1px solid #000;
586
+ }
587
a,
588
a:visited {
589
text-decoration: underline;
590
+ color: #000;
591
}
592
a[href]:after {
593
content: " (" attr(href) ")";
594
}
595
+ table {
596
+ }
597
tr {
598
page-break-inside: avoid;
599
}
597
- table {
598
- border-collapse: collapse !important;
599
- }
600
- table td {
601
- background-color: #fff !important;
602
- }
600
+ tr:nth-of-type(even) {
601
+ background-color: transparent;
602
+ }
603
+ td {
604
+ border-top: 1px solid #000;
605
+ }
606
}
607
608
@-ms-viewport {