Skip to content

Commit 07b0a8e

Browse files
committed
Replay changes to default.css onto default-TR.css: Make annoying notice static in print media.
Original change was: # User fantasai <fantasai.cvs@inkedblade.net> # Date 1420667620 28800 # Wed Jan 07 13:53:40 2015 -0800 # Node ID 739347d23aae65e2b97981fb502d6993f41c1f4a # Parent c487aef9ea03928cb4a65e7e3494fb6c84aa2f66 Make annoying notice static in print media.
1 parent 8846f9d commit 07b0a8e

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

default-TR.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,10 @@
580580
/** Spec Obsoletion Notice ****************************************************/
581581
/* obnoxious obsoletion notice for older/abandoned specs. */
582582

583+
details.annoying-warning {
584+
display: block;
585+
}
586+
583587
details.annoying-warning[open] {
584588
background: #fdd;
585589
color: red;
@@ -588,12 +592,17 @@
588592
padding: .5em;
589593
border: thick solid red;
590594
border-radius: 1em;
595+
}
596+
@media not print {
597+
details.annoying-warning[open] {
591598
position: fixed;
592599
left: 1em;
593600
right: 1em;
594601
bottom: 1em;
595602
z-index: 1000;
596603
}
604+
}
605+
597606
details.annoying-warning:not([open]) > summary {
598607
background: #fdd;
599608
color: red;

0 commit comments

Comments
 (0)