W3C home > Mailing lists > Public > public-css-commits@w3.org > December 2011

csswg/css-module default.css,1.25,1.26

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 15 Dec 2011 22:34:31 +0000
To: public-css-commits@w3.org
Message-Id: <E1RbJsp-0003a5-CO@lionel-hutz.w3.org>
Update of /sources/public/csswg/css-module
In directory hutz:/tmp/cvs-serv13686

Modified Files:
	default.css 
Log Message:
Made <pre class=example> display properly.

Index: default.css
===================================================================
RCS file: /sources/public/csswg/css-module/default.css,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- default.css	14 Dec 2011 00:37:58 -0000	1.25
+++ default.css	15 Dec 2011 22:34:16 -0000	1.26
@@ -139,9 +139,11 @@
 
 dfn { font-weight: bolder; }
 
-p.issue, div.issue, p.note, div.note, div.example {
+p.issue, div.issue, p.note, div.note, div.example, pre.example {
 	padding: .5em;
+	padding: .5rem;
 	border-left-width: .5em;
+	border-left-width: .5rem;
 	border-left-style: solid;
 }
 
@@ -174,12 +176,15 @@
 .informref { color: green }	
 
 /* Example box */
-div.example {
+div.example, pre.example {
 	border-color: #E0CB52;
 	background: #FCFAEE;    
 }
 
-div.example:before { color: #B9AB2D; }
+div.example:before, pre.example:before { 
+	color: #B9AB2D; 
+	font-family: sans-serif;
+}
 
 /* ToC not indented, but font style shows hierarchy */
 ul.toc {margin: 1em 0; padding: 0; line-height: 1.3; font-weight: bold; xtext-transform: uppercase; }
Received on Thursday, 15 December 2011 22:36:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:26:08 UTC