From d760862f819aee03a1f2eeb5714a517e3875efc2 Mon Sep 17 00:00:00 2001 From: Jessica Schilling Date: Mon, 4 May 2020 13:26:31 -0600 Subject: [PATCH] Update print styles --- dir-index.html | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/dir-index.html b/dir-index.html index e736463fd..243765538 100644 --- a/dir-index.html +++ b/dir-index.html @@ -418,7 +418,6 @@ body { } a { - background-color: transparent; color: #378085; text-decoration: none; } @@ -435,7 +434,6 @@ strong { table { border-spacing: 0; border-collapse: collapse; - background-color: transparent; width: 100%; max-width: 100%; } @@ -478,7 +476,6 @@ td { #content { margin: 15px; - background-color: #fff; border: 1px solid #ddd; border-radius: 4px; } @@ -575,31 +572,37 @@ a:visited { } @media print { - *, - :after, - :before { - color: #000!important; - text-shadow: none!important; - background: 0 0!important; - -webkit-box-shadow: none!important; - box-shadow: none!important; - } + #page-header { + display: none; + } + #content-header, body, .ipfs-hash { + color: #000; + } + #content-header { + border-bottom: 1px solid #000; + } + #content { + border: 1px solid #000; + } a, a:visited { text-decoration: underline; + color: #000; } a[href]:after { content: " (" attr(href) ")"; } + table { + } tr { page-break-inside: avoid; } - table { - border-collapse: collapse !important; - } - table td { - background-color: #fff !important; - } + tr:nth-of-type(even) { + background-color: transparent; + } + td { + border-top: 1px solid #000; + } } @-ms-viewport {