PLD-doc/book/stylesheet: next-small.png next-small.png.old pld-guide.xspp prev-small.png prev-small....

qwiat cvs at pld-linux.org
Sun Nov 27 02:44:13 CET 2005


Author: qwiat
Date: Sun Nov 27 02:44:10 2005
New Revision: 6575

Added:
   PLD-doc/book/stylesheet/next-small.png   (contents, props changed)
   PLD-doc/book/stylesheet/next-small.png.old
      - copied unchanged from rev 6574, PLD-doc/book/stylesheet/next-small.png
   PLD-doc/book/stylesheet/prev-small.png   (contents, props changed)
   PLD-doc/book/stylesheet/prev-small.png.old
      - copied unchanged from rev 6574, PLD-doc/book/stylesheet/prev-small.png
Modified:
   PLD-doc/book/stylesheet/pld-guide.xspp
Log:
- nowy wyglad dla strony dokumentacji: nowy wyglad wzorowany na stronie glownej PLD


Added: PLD-doc/book/stylesheet/next-small.png
==============================================================================
Binary file. No diff available.

Modified: PLD-doc/book/stylesheet/pld-guide.xspp
==============================================================================
--- PLD-doc/book/stylesheet/pld-guide.xspp	(original)
+++ PLD-doc/book/stylesheet/pld-guide.xspp	Sun Nov 27 02:44:10 2005
@@ -45,39 +45,62 @@
         <style type="text/css">q|
 body {
         font-family: sans-serif,Helvetica;
-        font-size: 17px;
-        color: #000000;
-        background-color: #FFFFFF;
+        font-size: 16px;
+        color: #5e5e5e;
+        background-color: #fff;
 }
 div.small {
         font-family: sans-serif,Helvetica;
         font-size: 12px;
-        color: #000000;
+        color: #000;
 }
 
 div.screen {
         font-family: console, terminal, monospace;
         font-size: 12px;
-        color: #000000;
+        color: #000;
+	border: 1pt solid #ffe2ab;
+	background: #fff8eb;
+	-moz-border-radius: 10px;
+	padding: 0.5em;
+}
+
+h2, h3 {
+  width: 97%;
+  text-align: left;
+  color: #003dea;
+  background-color: #fff;
+  border-bottom: 1px solid #5e5e5e;
+  color: #003dea;
+  margin: 2em 0 0 0; 
+}
+
+h2{
+  font-size: 20px;
+  margin: 0 0 0 3%;
+  border-bottom: 2px solid #5e5e5e;
+  
+}
+h3{
+  font-size: 18px;
 }
+p,h2
+{
+  margin: 1.5em 0 0.5em 40 px;
+}
+td table
+{
+	border-collapse: collapse;
 
-div.title {
-  width: 100%;
-  text-align: center;
-  padding: 5px;
-  color: #000000;
-  background-color: #edf1fa;
-  font-size: 140%;
-  font-weight: bold;
 }
+
 div.example {
-  background-color: #eeeeee;
+  background-color: #eee;
   padding: 3px;
 }
 div.example pre {
-  margin: 5px;
-  padding: 10px;
-  background-color: #dddddd;
+
+
 }
 div.example h6.example {
   width: 100%;
@@ -85,13 +108,34 @@
   margin: 0px;
   padding: 2px;
 }
+.index-field{
+  background: #fff;
+}
+.index-field-slected{
+  background: #fff;
+ 
+}
+.index-field-main{
+  background: #fff8eb;
+  align: center;
+}
+.tab-norm-field{
+  background: #eee;
+  border:	1px solid #555;
+
+}
+table thead tr td{
+font-weight: bold;
+}
+
+
 a {
         text-decoration: none;
-        color: #000099;
+        color: #003dea;
 }
 a:hover {
         text-decoration: none;
-        color: #FF3300;
+        color: #003dea;
 }|
         </style>
       </head>
@@ -153,7 +197,7 @@
 
 def title(title = "")
 {
-  <div class="title">v{$title}</div>
+  <h2>v{$title}</h2>
 }
 
 macro page(title = "", content = "", next = "", prev = "", up = "",
@@ -206,8 +250,8 @@
   <table cellspacing="4" cellpadding="3">
     for-each "//part" {
       <tr>
-        <td align="center" bgcolor="#000066">
-          <div class="small" style="color: #FFFFFF">
+        <td class="index-field-main">
+          <div class="small">
             <b>q|<xsl:number value="position()" format="I"/>. | v{title}</b>
           </div>
         </td>
@@ -215,7 +259,7 @@
       for-each "chapter" {
         if "count(preceding::chapter) = $current-chapter" {
           <tr>
-            <td bgcolor="#EDF1FA">
+            <td class=".index-field-slected">
               if "$icons" {
                 <table>
                   <tr>
@@ -259,7 +303,7 @@
           </tr>
         } else {
           <tr> 
-            <td bgcolor="#EDF1FA">
+            <td class="index-field">
               if "$icons" {
                 <table>
                   <tr>
@@ -288,26 +332,26 @@
       }
     }
     <tr>
-      <td bgcolor="#EDF1FA" align="left">
+      <td class="index-field-selected" align="left">
         <small>
           <a href="bookinfo.html">v{//config/bookinfo/title}</a>
         </small>
       </td>
     </tr>
     <tr>
-      <td bgcolor="#EDF1FA" align="left">
+      <td class="index-field-main" align="left">
         <small>
           <a href="toc.html">v{//config/toc/title}</a>
         </small>
       </td>
     </tr>
     <tr>
-      <td bgcolor="#EDF1FA">
+      <td class="index-field-main">
         apply select = "//main/wersje" mode = "";
       </td>
     </tr>
     <tr>
-      <td bgcolor="#EDF1FA">
+      <td class="index-field-main">
         apply select = "//main/links" mode = "";
       </td>
     </tr>
@@ -353,7 +397,7 @@
 mode "sec" {
   template "*" {}
   template "section" {
-    <h2>v{title}</h2>
+    <h3>v{title}</h3>
     apply;
   }
   template "example" {
@@ -397,8 +441,8 @@
   }    
   template "emphasis" { <em> apply; </em> }
   template "abstract" { apply; }
-  template "productname" {<b> apply; </b>}
-  template "hardware" { <b> apply; </b> }
+  template "productname" {<strong> apply; </strong>}
+  template "hardware" { <strong> apply; </strong> }
   template "ulink" { <a href="{@url}"> apply; </a> }
   template "xref" { <a href="{@linkend}.html">" tym dokumencie" apply; </a> }  
   template "para|simpara" { <p> apply; </p> }
@@ -430,7 +474,7 @@
    <p align="left">
     <table bgcolor="#ffffff" cellspacing="2" cellpadding="5">
       <tr>
-        <td bgcolor="#e2e2e2">
+        <td>
 	  <div class="screen">
 	  <pre>
 	  apply;
@@ -460,7 +504,7 @@
     </thead>
   }
   template "row" { <tr>apply;</tr> }
-  template "entry" { <td bgcolor="#999999">apply;</td> }
+  template "entry" { <td class="tab-norm-field">apply;</td> }
 
   template "filename" { <i><tt> apply; </tt></i> }
   template "programlisting" { <pre> apply; </pre> }
@@ -685,15 +729,15 @@
         title = v{//config/bookinfo/title}, 
         content = {
           <div align="center">
-            <h1>v{title}</h1>
+            <h2>v{title}</h2>
             <h3>v{pubdate}</h3>
           </div>
           apply select = "abstract";
-          <h2>v{//config/bookinfo/authors}</h2>
+          <h3>v{//config/bookinfo/authors}</h3>
           <ul>
             apply select = "author";
           </ul>
-          <h2>v{//config/bookinfo/revhistory}</h2>
+          <h3>v{//config/bookinfo/revhistory}</h3>
           apply select = "revhistory";
         },
         up = "toc"

Added: PLD-doc/book/stylesheet/prev-small.png
==============================================================================
Binary file. No diff available.



More information about the pld-cvs-commit mailing list