[library-web/new-website-style: 9/55] styling blocks on the main index page



commit e7e386c49f1cb4bdf425f35a1d743a47cfc083fc
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat Dec 4 12:06:39 2010 +0100

    styling blocks on the main index page

 data/skin/lgo2010.css |   35 +++++++++++++++++++++++++++++++++++
 data/xslt/indexes.xsl |    6 +++---
 2 files changed, 38 insertions(+), 3 deletions(-)
---
diff --git a/data/skin/lgo2010.css b/data/skin/lgo2010.css
index 5f4437b..b3545a0 100644
--- a/data/skin/lgo2010.css
+++ b/data/skin/lgo2010.css
@@ -45,3 +45,38 @@ div.toc dt {
 dd dl {
 	margin-left: 1em;
 }
+
+div.homeblock {
+	margin: 0.7em 0 1.2em 0;
+}
+
+div.homeblock h2 {
+	font-size: 42px;
+	color: #0489B7;
+	margin: 0;
+}
+
+div.homeblock a {
+	color: inherit;
+	text-decoration: none;
+}
+
+div.homeblock a:hover {
+	text-decoration: underline;
+}
+
+div.homeblock p {
+	margin-top: 0;
+	font-size: 18px;
+	line-height: 130%;
+}
+
+span.module-more {
+	font-size: 75%;
+}
+
+dl.doc-index dt span.module-more a {
+	font-weight: normal;
+}
+
+
diff --git a/data/xslt/indexes.xsl b/data/xslt/indexes.xsl
index 5269a53..7ef0b4f 100644
--- a/data/xslt/indexes.xsl
+++ b/data/xslt/indexes.xsl
@@ -731,7 +731,7 @@ div.body-sidebar { width: 100%; }
           </xsl:call-template>
 	  <div id="container" class="two_columns">
             <div class="content">
-            <div id="usr">
+            <div id="usr" class="homeblock">
               <h2><a href="users/">
                 <xsl:call-template name="gettext"><xsl:with-param name="lang"
                 select="@lang"/><xsl:with-param name="msgid"
@@ -743,7 +743,7 @@ div.body-sidebar { width: 100%; }
                 select="'userstext'"/></xsl:call-template>
               </p>
             </div>
-            <div id="dev">
+            <div id="dev" class="homeblock">
               <h2><a href="devel/">
                 <xsl:call-template name="gettext"><xsl:with-param name="lang"
                 select="@lang"/><xsl:with-param name="msgid"
@@ -755,7 +755,7 @@ div.body-sidebar { width: 100%; }
                 select="'developerstext'"/></xsl:call-template>
               </p>
             </div>
-            <div id="adm">
+            <div id="adm" class="homeblock">
               <h2><a href="admin/">
                 <xsl:call-template name="gettext"><xsl:with-param name="lang"
                 select="@lang"/><xsl:with-param name="msgid"



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