public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joshua Saddler" <nightmorph@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/www-redesign:master commit in: xml/htdocs/xsl/, xml/htdocs/css/
Date: Tue, 22 Mar 2011 21:18:13 +0000 (UTC)	[thread overview]
Message-ID: <b2f10399772e18e3b93dced92d3f8671b46d9851.nightmorph@gentoo> (raw)

commit:     b2f10399772e18e3b93dced92d3f8671b46d9851
Author:     nightmorph <nightmorph <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 22 21:10:25 2011 +0000
Commit:     Joshua Saddler <nightmorph <AT> gentoo <DOT> org>
CommitDate: Tue Mar 22 21:10:25 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/www-redesign.git;a=commit;h=b2f10399

play with font sizes and weight a bit

---
 xml/htdocs/css/main.css  |    8 +++++++-
 xml/htdocs/xsl/guide.xsl |    2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/xml/htdocs/css/main.css b/xml/htdocs/css/main.css
index aa44b0f..15cb609 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 1e6f3f4..8acdb49 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>



             reply	other threads:[~2011-03-22 21:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-22 21:18 Joshua Saddler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-23  8:16 [gentoo-commits] proj/www-redesign:master commit in: xml/htdocs/xsl/, xml/htdocs/css/ Alec Warner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b2f10399772e18e3b93dced92d3f8671b46d9851.nightmorph@gentoo \
    --to=nightmorph@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox