Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Commit

Permalink
Update print styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicaschilling committed May 4, 2020
1 parent d74941a commit d760862
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions dir-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,6 @@
}

a {
background-color: transparent;
color: #378085;
text-decoration: none;
}
Expand All @@ -435,7 +434,6 @@
table {
border-spacing: 0;
border-collapse: collapse;
background-color: transparent;
width: 100%;
max-width: 100%;
}
Expand Down Expand Up @@ -478,7 +476,6 @@

#content {
margin: 15px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 4px;
}
Expand Down Expand Up @@ -575,31 +572,37 @@
}

@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 {
Expand Down

0 comments on commit d760862

Please sign in to comment.