- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 09 Nov 2011 20:53:47 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css-module
In directory hutz:/tmp/cvs-serv9802
Modified Files:
default.css
Log Message:
Added obsoletion styles to the module CSS.
Index: default.css
===================================================================
RCS file: /sources/public/csswg/css-module/default.css,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- default.css 18 Aug 2011 02:18:14 -0000 1.8
+++ default.css 9 Nov 2011 20:53:45 -0000 1.9
@@ -547,4 +547,27 @@
ol.inline, ol.inline li {display: inline; padding: 0; margin: 0}
ol.inline {counter-reset: list-item}
ol.inline li {counter-increment: list-item}
-ol.inline li:before {content: "(" counter(list-item) ") "; font-weight: bold}
\ No newline at end of file
+ol.inline li:before {content: "(" counter(list-item) ") "; font-weight: bold}
+
+/* This styles the obsoletion notice on some of our older/abandoned specs. */
+details.obsolete[open] {
+ background: #fdd;
+ color: red;
+ font-weight: bold;
+ text-align: center;
+ padding: .5em;
+ border: thick solid red;
+ border-radius: 1em;
+ position: fixed;
+ left: 1em;
+ right: 1em;
+ bottom: 1em;
+}
+
+details.obsolete:not([open]) > summary {
+ background: #fdd;
+ color: red;
+ font-weight: bold;
+ text-align: center;
+ padding: .5em;
+}
\ No newline at end of file
Received on Wednesday, 9 November 2011 20:53:52 UTC