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
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; }
_______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"