[library-web] Push the sidebar down when the FoG ruler is displayed
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] Push the sidebar down when the FoG ruler is displayed
- Date: Tue, 30 Mar 2010 19:27:51 +0000 (UTC)
commit e7c1fcb2730d51e75c0ab92810fd58ed526f8aab
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Mar 30 16:26:24 2010 +0200
Push the sidebar down when the FoG ruler is displayed
data/skin/lgo.css | 4 ----
data/xslt/db2html.xsl | 5 +++++
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/data/skin/lgo.css b/data/skin/lgo.css
index bf3ee79..15c1b1c 100644
--- a/data/skin/lgo.css
+++ b/data/skin/lgo.css
@@ -271,10 +271,6 @@ div.body-sidebar {
margin-right: 27ex;
}
-div#libgo-ruler {
- margin-right: 30ex;
-}
-
a {
color: #3465a4;
}
diff --git a/data/xslt/db2html.xsl b/data/xslt/db2html.xsl
index 6ddf868..b9873ec 100644
--- a/data/xslt/db2html.xsl
+++ b/data/xslt/db2html.xsl
@@ -168,6 +168,11 @@ along with libgo; if not, write to the Free Software Foundation, Inc.,
<xsl:template name="db2html.division.head.extra">
<xsl:if test="not($libgo.tarball)">
<xsl:call-template name="libgo.head"/>
+ <xsl:if test="$libgo.friends_of_gnome_ruler">
+<style type="text/css">
+div.sidebar { top: 230px; }
+</style>
+ </xsl:if>
</xsl:if>
</xsl:template>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]