Added "Join the Fellowship" button to top of each page, and moved language list

to the left.

svn path=/trunk/; revision=8441
This commit is contained in:
Reinhard Müller 2007-06-22 21:29:39 +00:00
parent 668976d205
commit 27f26c1244
2 changed files with 20 additions and 6 deletions

View File

@ -119,25 +119,30 @@ a[name], a[name]:hover, a.gl img, a.gl:link, a.gl:visited, a.gl:hover {
/* ------------------------------------------------------------------------- */
.language {
margin: 0 0 0 15em;
padding: 0.3em 0 0.4em 0;
text-align: center;
margin: 0 0 0 14em;
padding: 0.3em 1em 0.4em 1em;
font-size: 90%;
}
.language img {
float: right;
margin: 0 0 0.3em 0; /* make sure image doesn't touch outdated note below */
}
.language ul {
margin: 0;
padding: 0;
padding: 0 0 0 2em; /* FIXME: why does it need 2em to align with text?? */
}
.language li {
display: inline;
margin: 0.3em;
margin: 0 0.5em 0 0;
list-style: none;
}
.language p { /* used for outdated/missing note */
margin: 1em 2em 0;
clear: right;
margin: 1em 0 0 2em;
border: 1px #000 solid;
padding: 0.3em;
background: #FFECBF;

View File

@ -142,6 +142,15 @@
<xsl:element name="div">
<xsl:attribute name="class">language</xsl:attribute>
<!-- Join the Fellowship -->
<xsl:element name="a">
<xsl:attribute name="href">https://www.fsfe.org/join</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="alt">Join the Fellowship!</xsl:attribute>
<xsl:attribute name="src">/graphics/global/Join_Fellowship.png</xsl:attribute>
</xsl:element>
</xsl:element>
<!-- Translation list -->
<xsl:element name="ul">
<xsl:for-each select="/buildinfo/trlist/tr">