- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 18 Aug 2011 02:18:16 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css-module
In directory hutz:/tmp/cvs-serv30297
Modified Files:
default.css
Log Message:
Added border to the example and note blocks, matching the color-scheme of issue blocks.
Index: default.css
===================================================================
RCS file: /sources/public/csswg/css-module/default.css,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- default.css 17 Aug 2011 00:12:23 -0000 1.7
+++ default.css 18 Aug 2011 02:18:14 -0000 1.8
@@ -161,17 +161,20 @@
dfn { font-weight: bolder; /*font-size: 1em*/ }
-/* Open issue / editorial remark; not intended for a final publication */
+p.issue, div.issue, p.note, div.note, div.example {
+ padding: .5em;
+ border-left-width: .5em;
+ border-left-style: solid;
+}
-p.issue, p.note, div.note, div.example {
- border-left: 0.5em solid #E05252;
- padding: 0.5em;
+/* Open issue / editorial remark; not intended for a final publication */
+p.issue, div.issue {
+ border-color: #E05252;
background: #FBE9E9;
+ counter-increment: issue;
}
-p.issue { counter-increment: issue; }
-
-p.issue:before {
+p.issue:before, div.issue:before {
content: "Issue " counter(issue);
padding-right: 1em;
text-transform: uppercase;
@@ -182,8 +185,8 @@
/* Class note is a non-normative note. May be inline or a P or DIV */
p.note, div.note {
- border: 0;
- background: #F1FDF1;
+ border-color: #52E052;
+ background: #E9FBE9;
}
span.note { color: green; }
@@ -194,7 +197,7 @@
/* Example box */
div.example {
- border: 0;
+ border-color: #E0CB52;
background: #FCFAEE;
}
Received on Thursday, 18 August 2011 02:18:20 UTC