Skip to content

Commit

Permalink
Merge pull request #222 from creativecommons/print-css
Browse files Browse the repository at this point in the history
Add print media CSS
  • Loading branch information
TimidRobot authored Nov 5, 2024
2 parents fda3413 + 9cb1346 commit c895e32
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/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 c895e32

Please sign in to comment.