PLD-Guide pld-guide.xspp,1.11,1.12

Artur Wróblewski wrobell w tldp.org
Pią, 14 Cze 2002, 18:13:37 CEST


Module name:    PLD-Guide
Changes by:     wrobell

Changed RCS file: /cvsroot/LDP/guide/docbook/PLD-Guide/stylesheet/pld-guide.xspp,v
----------------------------
revision 1.12
date: 2002/06/14 16:13:35;  author: wrobell;  state: Exp;  lines: +20 -3
- improve examples visualization
 

Index: pld-guide.xspp
===================================================================
RCS file: /cvsroot/LDP/guide/docbook/PLD-Guide/stylesheet/pld-guide.xspp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- pld-guide.xspp	12 Jun 2002 00:21:08 -0000	1.11
+++ pld-guide.xspp	14 Jun 2002 16:13:35 -0000	1.12
@@ -63,6 +63,21 @@
   font-size: 140%;
   font-weight: bold;
 }
+div.example {
+  background-color: #eeeeee;
+  padding: 3px;
+}
+div.example pre {
+  margin: 5px;
+  padding: 10px;
+  background-color: #dddddd;
+}
+div.example h6.example {
+  width: 100%;
+  text-align: center;
+  margin: 0px;
+  padding: 2px;
+}
 a {
         text-decoration: none;
         color: #000099;
@@ -311,8 +326,10 @@
     apply;
   }
   template "example" {
-    <h6>v{title}</h6>
-    apply;
+    <div class="example">
+      apply;
+      <h6 class="example">v{title}</h6>
+    </div>
   }
   template "orderedlist" {
     <ol>



Więcej informacji o liście dyskusyjnej pld-doc