Skip to content

Commit a808099

Browse files
committed
Added obsoletion styles to the module CSS.
1 parent 97655ac commit a808099

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

css-module/default.css

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,4 +547,27 @@ dt dfn code {
547547
ol.inline, ol.inline li {display: inline; padding: 0; margin: 0}
548548
ol.inline {counter-reset: list-item}
549549
ol.inline li {counter-increment: list-item}
550-
ol.inline li:before {content: "(" counter(list-item) ") "; font-weight: bold}
550+
ol.inline li:before {content: "(" counter(list-item) ") "; font-weight: bold}
551+
552+
/* This styles the obsoletion notice on some of our older/abandoned specs. */
553+
details.obsolete[open] {
554+
background: #fdd;
555+
color: red;
556+
font-weight: bold;
557+
text-align: center;
558+
padding: .5em;
559+
border: thick solid red;
560+
border-radius: 1em;
561+
position: fixed;
562+
left: 1em;
563+
right: 1em;
564+
bottom: 1em;
565+
}
566+
567+
details.obsolete:not([open]) > summary {
568+
background: #fdd;
569+
color: red;
570+
font-weight: bold;
571+
text-align: center;
572+
padding: .5em;
573+
}

0 commit comments

Comments
 (0)