Skip to content

Commit c895e32

Browse files
authored
Merge pull request #222 from creativecommons/print-css
Add print media CSS
2 parents fda3413 + 9cb1346 commit c895e32

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/cc-legal-tools/base.css

+16
Original file line numberDiff line numberDiff line change
@@ -255,3 +255,19 @@ main > aside > nav ul > li { /* TODO: resolve with vocabulary-theme */
255255
margin-left: .3em;
256256
margin-right: 0;
257257
}
258+
259+
/* print media */
260+
@media print {
261+
.cc-legal-tools > footer,
262+
.cc-legal-tools > header {
263+
display: none;
264+
}
265+
266+
.cc-legal-tools main {
267+
display: block;
268+
}
269+
270+
.cc-legal-tools main > aside {
271+
display: none;
272+
}
273+
}

0 commit comments

Comments
 (0)