summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornightmorph <nightmorph@gentoo.org>2011-03-22 14:10:25 -0700
committernightmorph <nightmorph@gentoo.org>2011-03-22 14:10:25 -0700
commitb2f10399772e18e3b93dced92d3f8671b46d9851 (patch)
tree63eeccc44a6ba54b6cbe0fcf8e0c527f6e0cb89c
parentSo the way this works is that on the www-redesign site /dyn is symlinked (diff)
downloadwww-redesign-b2f10399772e18e3b93dced92d3f8671b46d9851.tar.gz
www-redesign-b2f10399772e18e3b93dced92d3f8671b46d9851.tar.bz2
www-redesign-b2f10399772e18e3b93dced92d3f8671b46d9851.zip
play with font sizes and weight a bit
-rw-r--r--xml/htdocs/css/main.css8
-rw-r--r--xml/htdocs/xsl/guide.xsl2
2 files changed, 8 insertions, 2 deletions
diff --git a/xml/htdocs/css/main.css b/xml/htdocs/css/main.css
index aa44b0f9..15cb609c 100644
--- a/xml/htdocs/css/main.css
+++ b/xml/htdocs/css/main.css
@@ -107,6 +107,11 @@ a img {border:none; text-decoration:none; vertical-align:text-bottom;}
.header-menu {
font-weight: bold;
font-family: sans-serif, Verdana, Arial, Helvetica;
+ /* increase size a bit, remember that it's relative to the size
+ * specified by the container around it, so 0.8em is 80% of the
+ * already specified 0.8em of the surrounding container. thus we
+ * want to increase it a bit so that it looks more like g.org */
+ font-size: 1.0em;
color: white;
/* Because blocks are rendered vertically along the left-boundary of the
* containing block we need this block to render in inline mode such that
@@ -114,8 +119,9 @@ a img {border:none; text-decoration:none; vertical-align:text-bottom;}
display: inline-block;
/* Offset our text from the Gentoo Logo */
margin-left: 1.0em;
+ padding-left: 1.0em;
/* We set line-height to reproduce old looks in the header bar.
- * We set virtical-align for the same reason. */
+ * We set vertical-align for the same reason. */
line-height: 120%;
vertical-align: 60%;
}
diff --git a/xml/htdocs/xsl/guide.xsl b/xml/htdocs/xsl/guide.xsl
index 1e6f3f45..8acdb493 100644
--- a/xml/htdocs/xsl/guide.xsl
+++ b/xml/htdocs/xsl/guide.xsl
@@ -334,7 +334,7 @@
HEADER-BLOCK -> gentoo-logo and topmenu
CONTENT-BLOCK -> sidebar-menu, content, adbar
- FOOTER-BLOCK -> copywrite notice
+ FOOTER-BLOCK -> copyright notice
-->
<div class="header-block">
<xsl:variable name="www"><xsl:if test="$httphost!='www'">http://www.gentoo.org</xsl:if></xsl:variable>