[gtk-doc] Hide the gallery images on small displays



commit 0a8602fbefa81618e65add4cf6f0e6e5b5b7ff43
Author: William Jon McCann <william jon mccann gmail com>
Date:   Wed Feb 12 19:45:21 2014 -0500

    Hide the gallery images on small displays

 gtk-doc-single.xsl |    2 +-
 gtk-doc.xsl        |    2 +-
 style/style.css    |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk-doc-single.xsl b/gtk-doc-single.xsl
index b72874d..21bb8bd 100644
--- a/gtk-doc-single.xsl
+++ b/gtk-doc-single.xsl
@@ -480,7 +480,7 @@ Get a newer version at http://docbook.sourceforge.net/projects/xsl/
             <xsl:apply-templates/>
           </p>
         </td>
-        <td valign="top" align="right">
+        <td class="gallery_image" valign="top" align="right">
            <!-- find the gallery image to use here
                 - determine the id of the enclosing refentry
                 - look for an inlinegraphic inside a link with linkend == refentryid inside a para with role 
== gallery
diff --git a/gtk-doc.xsl b/gtk-doc.xsl
index 290c1e8..b3a9b49 100644
--- a/gtk-doc.xsl
+++ b/gtk-doc.xsl
@@ -756,7 +756,7 @@ Get a newer version at http://docbook.sourceforge.net/projects/xsl/
             <xsl:apply-templates/>
           </p>
         </td>
-        <td valign="top" align="right">
+        <td class="gallery_image" valign="top" align="right">
           <xsl:choose>
             <xsl:when test="../refmeta/refmiscinfo/inlinegraphic">
               <xsl:apply-templates select="../refmeta/refmiscinfo/inlinegraphic"/>
diff --git a/style/style.css b/style/style.css
index f685f1b..b947d18 100644
--- a/style/style.css
+++ b/style/style.css
@@ -111,6 +111,7 @@ body
   #nav_style_properties { display: none; }
   #nav_index { display: none; }
   #nav_glossary { display: none; }
+  .gallery_image { display: none; }
   .property_flags { display: none; }
   .signal_flags { display: none; }
   .parameter_annotations { display: none; }


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