Skip to content

Commit

Permalink
Merge pull request #484 from nobodys-ghost/print-cleanup
Browse files Browse the repository at this point in the history
Removed site navigation from licenses/ and publicdomain/ on print
  • Loading branch information
TimidRobot authored Nov 5, 2024
2 parents 704521b + d0090f5 commit 7d58d63
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cc_legal_tools/static/cc-legal-tools/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,19 @@ main > aside > nav ul > li { /* TODO: resolve with vocabulary-theme */
margin-left: .3em;
margin-right: 0;
}

/* print media */
@media print {
.cc-legal-tools > footer,
.cc-legal-tools > header {
display: none;
}

.cc-legal-tools main {
display: block;
}

.cc-legal-tools main > aside {
display: none;
}
}

0 comments on commit 7d58d63

Please sign in to comment.