Skip to content

Commit 1661b0e

Browse files
authored
Add print styles to CSS (#1339)
* Add print styles to CSS Fixes #1338 * update testing files * Update changelog
1 parent 1da6b85 commit 1661b0e

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Unreleased
2+
3+
* add print styles
4+
15
## 0.9.11
26

37
* add annotations to features line for methods, properties, constants (#1265)

lib/resources/styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,3 +767,13 @@ li.inherited a {
767767
#operators dt.inherited .signature {
768768
font-weight: 300;
769769
}
770+
771+
@media print {
772+
.subnav, .sidebar {
773+
display:none;
774+
}
775+
776+
a[href]:after {
777+
content:"" !important;
778+
}
779+
}

testing/test_package_docs/static-assets/styles.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -767,3 +767,13 @@ li.inherited a {
767767
#operators dt.inherited .signature {
768768
font-weight: 300;
769769
}
770+
771+
@media print {
772+
.subnav, .sidebar {
773+
display:none;
774+
}
775+
776+
a[href]:after {
777+
content:"" !important;
778+
}
779+
}

0 commit comments

Comments
 (0)