Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2006 22:43:22 +0200
From:      Joel Dahl <joel@FreeBSD.org>
To:        Xin LI <delphij@FreeBSD.org>
Cc:        doc-committers@FreeBSD.org, cvs-doc@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: www/en index.xsl
Message-ID:  <1161895402.671.46.camel@localhost>
In-Reply-To: <1161892371.671.38.camel@localhost>
References:  <200610261036.k9QAaH1D050072@repoman.freebsd.org> <1161892371.671.38.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-/+4LNQttHKulNn562u1G
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Thu, 2006-10-26 at 21:52 +0200, Joel Dahl wrote:
> On Thu, 2006-10-26 at 10:36 +0000, Xin LI wrote:
> > delphij     2006-10-26 10:36:16 UTC
> > 
> >   FreeBSD doc repository
> > 
> >   Modified files:
> >     en                   index.xsl 
> >   Log:
> >   Link zh_CN to homepage.
> 
> I'm not happy with this change.  It looks a bit weird:
> http://people.freebsd.org/~joel/files/meep.png

[Replaying to myself]

I've attached a really lame fix.  It makes the front page divs a few
pixels wider, but it's enough for "zh" to fit on the line with the rest
of the language links.

I hate CSS.

-- 
Joel

--=-/+4LNQttHKulNn562u1G
Content-Disposition: attachment; filename=frontpage.patch
Content-Type: text/x-patch; name=frontpage.patch; charset=us-ascii
Content-Transfer-Encoding: 7bit

Index: index.xsl
===================================================================
RCS file: /home/ncvs/www/en/index.xsl,v
retrieving revision 1.157
diff -u -d -r1.157 index.xsl
--- index.xsl	26 Oct 2006 10:36:16 -0000	1.157
+++ index.xsl	26 Oct 2006 20:17:52 -0000
@@ -148,7 +148,7 @@
 					<a href="&base;/ru/" title="Russian">ru</a>
 				  </li>
 				  <li class="last-child">
-					<a href="&base;/zh_CN/" title="Chinese (Simplified)">zh_CN</a>
+					<a href="&base;/zh_CN/" title="Chinese (Simplified)">zh</a>
 				  </li>
 				</ul>
 			</div> <!-- LANGUAGENAV -->
Index: layout/css/layout.css
===================================================================
RCS file: /home/ncvs/www/en/layout/css/layout.css,v
retrieving revision 1.9
diff -u -d -r1.9 layout.css
--- layout/css/layout.css	9 May 2006 22:25:53 -0000	1.9
+++ layout/css/layout.css	26 Oct 2006 20:28:14 -0000
@@ -14,7 +14,7 @@
 
 #CONTAINER, #container {
   margin: 0em auto;
-  width: 765px;
+  width: 779px;
   padding: 0;
   padding-top: 0px;
   padding-bottom: 15px;
@@ -199,7 +199,7 @@
   border: 0px;
   padding: 0px;
   margin: 0px;
-  width: 162px;
+  width: 176px;
   float: right;
 }
 

--=-/+4LNQttHKulNn562u1G--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1161895402.671.46.camel>