gtk-doc r670 - in trunk: . tests/gobject/docs tests/gobject/src



Author: stefkost
Date: Wed Jan 28 14:34:58 2009
New Revision: 670
URL: http://svn.gnome.org/viewvc/gtk-doc?rev=670&view=rev

Log:
	* style-classic.css:
	* style.css:
	* tests/gobject/docs/tester-docs.xml:
	* tests/gobject/src/gobject.c:
	  Major CSS cleanup. This is hopefully an end of layout issues related
	  to the fixed navigation bar.



Modified:
   trunk/ChangeLog
   trunk/style-classic.css
   trunk/style.css
   trunk/tests/gobject/docs/tester-docs.xml
   trunk/tests/gobject/src/gobject.c

Modified: trunk/style-classic.css
==============================================================================
--- trunk/style-classic.css	(original)
+++ trunk/style-classic.css	Wed Jan 28 14:34:58 2009
@@ -27,51 +27,38 @@
     top: 0em ! important;
   }
   /* this is needed so that the local anchors are displayed below the naviagtion */
-  div.refnamediv a[name], div.refsect1 a[name], div.index a[name], div.glossary a[name]
+  div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
   {
     position: relative;
-    top: -4.5em;
-  }
-  /* make space for the fixed navigation bar */
-  div.refentry, div.chapter, div.reference, div.part, div.book, div.glossary, div.index, div.sect1, div.appendix, div.preface
-  {
-    position: relative;
-    top: 3em;
-    z-index: 0;
-  }
-  div.glossary, div.index
-  {
-    position: relative;
-    top: 2em;
-    z-index: 0;
+    padding-top:4.5em;
   }
   /* this seems to be a bug in the xsl style sheets when generating indexes */
   div.index div.index
   {
     top: 0em;
   }
-  div.refnamediv
-  {
-    margin-top: 2em;
-  }
+  /* make space for the fixed navigation bar and add space at the bottom so that
+   * link targets appear somewhat close to top
+   */
   body
   {
+    padding-top: 3.2em;
     padding-bottom: 20em;
   }
   /* style and size the navigation bar */
   table.navigation#top
   {
+    position: fixed;
     background: #ffeeee;
     border: solid 1px #ffaaaa;
     margin-top: 0;
     margin-bottom: 0;
-    position: fixed;
     top: 0;
     left: 0;
-    height: 2em;
-    z-index: 1;
+    height: 3em;
+    z-index: 10;
   }
-  .navigation a
+  .navigation a, .navigation a:visited
   {
     color: #770000;
   }
@@ -100,7 +87,7 @@
     margin-bottom: 0;
     top: 0;
     left: 0;
-    height: 2em;
+    height: 3em;
   }
 }
 
@@ -184,3 +171,33 @@
 {
   margin-bottom: 0.0em
 }
+
+/* code listings */
+
+.listing_frame {
+  border: solid 1px #aaaaff;
+  padding: 0px;
+}
+
+.listing_lines, .listing_code {
+  margin-top: 0px;
+  margin-bottom: 0px;
+  padding: 0.5em;
+}
+.listing_lines {
+  background: #aaaaff;
+  color: #222222;
+}
+.listing_code {
+  /* tango:sky blue 0 */
+  background: #eeeeff;
+}
+.listing_code .programlisting {
+  /* override from previous */
+  border: none 0px;
+  padding: 0px;
+}
+.listing_lines pre, .listing_code pre {
+  margin: 0px;
+}
+

Modified: trunk/style.css
==============================================================================
--- trunk/style.css	(original)
+++ trunk/style.css	Wed Jan 28 14:34:58 2009
@@ -27,46 +27,40 @@
   {
     position: relative;
     top: 0em ! important;
+    
   }
   /* this is needed so that the local anchors are displayed below the naviagtion */
-  div.refnamediv a[name], div.refsect1 a[name], div.index a[name], div.glossary a[name]
+  div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
   {
     position: relative;
-    top: -4.5em;
-  }
-  /* make space for the fixed navigation bar */
-  div.refentry, div.chapter, div.reference, div.part, div.book, div.glossary, div.index, div.sect1, div.appendix, div.preface
-  {
-    position: relative;
-    top: 3.1em;
-    z-index: 0;
+    padding-top:4.5em;
   }
   /* this seems to be a bug in the xsl style sheets when generating indexes */
   div.index div.index
   {
     top: 0em;
   }
-  div.refnamediv
-  {
-    margin-top: 2em;
-  }
+  /* make space for the fixed navigation bar and add space at the bottom so that
+   * link targets appear somewhat close to top
+   */
   body
   {
+    padding-top: 3.2em;
     padding-bottom: 20em;
   }
   /* style and size the navigation bar */
   table.navigation#top
   {
+    position: fixed;
     /* tango:scarlet red 0/1 */
     background: #ffe6e6;
     border: solid 1px #ef2929;
     margin-top: 0;
     margin-bottom: 0;
-    position: fixed;
     top: 0;
     left: 0;
-    height: 2em;
-    z-index: 1;
+    height: 3em;
+    z-index: 10;
   }
   .navigation a, .navigation a:visited
   {
@@ -101,7 +95,7 @@
     margin-bottom: 0;
     top: 0;
     left: 0;
-    height: 2em;
+    height: 3em;
   }
 }
 
@@ -220,10 +214,6 @@
 .listing_lines, .listing_code {
   margin-top: 0px;
   margin-bottom: 0px;
-  /*padding-right: 2px;
-  padding-left: 2px;
-  padding-top: 0px;
-  padding-bottom: 0px;*/
   padding: 0.5em;
 }
 .listing_lines {
@@ -245,4 +235,3 @@
   margin: 0px;
 }
 
-

Modified: trunk/tests/gobject/docs/tester-docs.xml
==============================================================================
--- trunk/tests/gobject/docs/tester-docs.xml	(original)
+++ trunk/tests/gobject/docs/tester-docs.xml	Wed Jan 28 14:34:58 2009
@@ -27,6 +27,11 @@
     <para>
       This document is for testing purpose only.
       It is generated from Docbook-<acronym>XML</acronym>.
+      <footnote>
+        <para>
+          Most of the actual text is quite non-sense. Don't pay attention.
+        </para>
+      </footnote>
     </para>
   </preface>
   

Modified: trunk/tests/gobject/src/gobject.c
==============================================================================
--- trunk/tests/gobject/src/gobject.c	(original)
+++ trunk/tests/gobject/src/gobject.c	Wed Jan 28 14:34:58 2009
@@ -70,6 +70,11 @@
  * @n: number of iterations
  *
  * Frobnicate the content of @self @n times.
+ * <footnote>
+ *  <para>
+ *    Negative frobnication can lead to unexpected behaviour.
+ *  </para>
+ * </footnote>
  *
  * Since: 0.5
  */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]