Skip to content

Commit b5beb4c

Browse files
Tim Bannistercelestehorgan
andcommitted
Suppress printing any announcements
When people print the documentation, omit any configured announcement. Co-authored-by: Celeste Horgan <[email protected]>
1 parent fc3a622 commit b5beb4c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

static/css/announcement.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
@media print {
2+
/* Do not print announcements */
3+
#announcement, section#announcement, #fp-announcement, section#fp-announcement {
4+
display: none;
5+
}
6+
}
7+
18
.announcement.content {
29
margin-bottom: 0px;
310
}

0 commit comments

Comments
 (0)