[jboss-cvs] JBoss Messaging SVN: r6527 - in trunk/examples/jms/common: images and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Apr 22 12:38:22 EDT 2009


Author: jmesnil
Date: 2009-04-22 12:38:22 -0400 (Wed, 22 Apr 2009)
New Revision: 6527

Added:
   trunk/examples/jms/common/images/
   trunk/examples/jms/common/images/title_hdr.png
Modified:
   trunk/examples/jms/common/common.css
Log:
Example CSS

* put the pre in a block with automatic overflow (horizontal scrollbars if
the code is wider than the web page)
* added a pretty background for h1 title

Modified: trunk/examples/jms/common/common.css
===================================================================
--- trunk/examples/jms/common/common.css	2009-04-22 16:04:10 UTC (rev 6526)
+++ trunk/examples/jms/common/common.css	2009-04-22 16:38:22 UTC (rev 6527)
@@ -1,6 +1,15 @@
-pre, code { background-color: lightgrey;}
-pre { border: dotted grey 1px;}
+h1 {height:89px;
+    background: url(./images/title_hdr.png) top left no-repeat;
+    vertical-align: middle;
+    line-height:89px;
+    font-size: 250%;}
 
+pre, code { background-color: lightgrey;
+            color:#333; }
+pre {display:block;     
+    overflow:auto; 
+    border: dotted grey 1px;}
+
 .missing-doc {
     background-color: red;
     border: dotted black 1px;

Added: trunk/examples/jms/common/images/title_hdr.png
===================================================================
(Binary files differ)


Property changes on: trunk/examples/jms/common/images/title_hdr.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream




More information about the jboss-cvs-commits mailing list