* [gentoo-commits] proj/www-redesign:master commit in: xml/htdocs/xsl/, xml/htdocs/css/
@ 2011-03-22 21:18 Joshua Saddler
0 siblings, 0 replies; 2+ messages in thread
From: Joshua Saddler @ 2011-03-22 21:18 UTC (permalink / raw
To: gentoo-commits
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>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] proj/www-redesign:master commit in: xml/htdocs/xsl/, xml/htdocs/css/
@ 2011-03-23 8:16 Alec Warner
0 siblings, 0 replies; 2+ messages in thread
From: Alec Warner @ 2011-03-23 8:16 UTC (permalink / raw
To: gentoo-commits
commit: e774f24f75232014a8cccef7cccc5abb74ef3e55
Author: Alec Warner <antarus <AT> scriptkitty <DOT> com>
AuthorDate: Wed Mar 23 00:15:27 2011 +0000
Commit: Alec Warner <antarus <AT> gentoo <DOT> org>
CommitDate: Wed Mar 23 00:15:27 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/www-redesign.git;a=commit;h=e774f24f
So basically shit stopped working and I am attempting to return to a
state where it worked. I have no idea if this will fix it.
Revert "play with font sizes and weight a bit"
This reverts commit b2f10399772e18e3b93dced92d3f8671b46d9851.
---
xml/htdocs/css/main.css | 8 +-------
xml/htdocs/xsl/guide.xsl | 2 +-
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/xml/htdocs/css/main.css b/xml/htdocs/css/main.css
index 15cb609..aa44b0f 100644
--- a/xml/htdocs/css/main.css
+++ b/xml/htdocs/css/main.css
@@ -107,11 +107,6 @@ 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
@@ -119,9 +114,8 @@ 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 vertical-align for the same reason. */
+ * We set virtical-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 8acdb49..1e6f3f4 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 -> copyright notice
+ FOOTER-BLOCK -> copywrite notice
-->
<div class="header-block">
<xsl:variable name="www"><xsl:if test="$httphost!='www'">http://www.gentoo.org</xsl:if></xsl:variable>
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-23 8:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23 8:16 [gentoo-commits] proj/www-redesign:master commit in: xml/htdocs/xsl/, xml/htdocs/css/ Alec Warner
-- strict thread matches above, loose matches on Subject: below --
2011-03-22 21:18 Joshua Saddler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox