added files needed for the Valentine's Day appearence of the website

svn path=/branches/test/; revision=22336
This commit is contained in:
nicoulas 2012-02-11 18:12:28 +00:00
parent 98377a0a49
commit 98bf910732
6 changed files with 1667 additions and 5 deletions

View File

@ -8,6 +8,10 @@
<!-- HTML 5 compatibility doctype, since our XSLT parser doesn't support disabling output escaping -->
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:variable name="mode">
<xsl:value-of select="'normal'" /> <!-- can be either 'normal' or 'valentine' -->
</xsl:variable>
<!-- The top level element of the input file is "buildinfo" -->
<xsl:template match="buildinfo">
<xsl:apply-templates select="node()"/>
@ -29,7 +33,7 @@
<!-- HTML head -->
<xsl:template match="head">
<xsl:copy>
<!-- Don't let search engine robots index untranslated pages -->
<xsl:element name="meta">
<xsl:attribute name="name">robots</xsl:attribute>
@ -51,6 +55,15 @@
<xsl:attribute name="type">text/css</xsl:attribute>
</xsl:element>
<xsl:if test="$mode = 'valentine'">
<xsl:element name="link">
<xsl:attribute name="rel">stylesheet</xsl:attribute>
<xsl:attribute name="media">all</xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="$urlprefix"/>/look/genericv.css</xsl:attribute>
<xsl:attribute name="type">text/css</xsl:attribute>
</xsl:element>
</xsl:if>
<xsl:element name="link">
<xsl:attribute name="rel">stylesheet</xsl:attribute>
<xsl:attribute name="media">print</xsl:attribute>
@ -69,7 +82,13 @@
<xsl:element name="link">
<xsl:attribute name="rel">icon</xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="$urlprefix"/>/graphics/fsfe.ico</xsl:attribute>
<xsl:attribute name="href">
<xsl:value-of select="$urlprefix"/>
<xsl:choose>
<xsl:when test="$mode = 'valentine'">/graphics/fsfev.png</xsl:when>
<xsl:otherwise>/graphics/fsfe.ico</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:attribute name="type">image/x-icon</xsl:attribute>
</xsl:element>
@ -277,7 +296,13 @@
<xsl:attribute name="href">/</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="alt">FSFE Logo</xsl:attribute>
<xsl:attribute name="src"><xsl:value-of select="$urlprefix"/>/graphics/logo_transparent.png</xsl:attribute>
<xsl:attribute name="src">
<xsl:value-of select="$urlprefix"/>
<xsl:choose>
<xsl:when test="$mode = 'valentine'">/graphics/logov.png</xsl:when>
<xsl:otherwise>/graphics/logo_transparent.png</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:element>
</xsl:element>
</xsl:element>
@ -372,7 +397,7 @@
<xsl:element name="li">
<xsl:attribute name="class">fellowship</xsl:attribute>
<xsl:element name="a">
<xsl:attribute name="href">/fellowship/</xsl:attribute>
<xsl:attribute name="href">http://fellowship.fsfe.org/</xsl:attribute>
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'fellowship/fellowship'" /></xsl:call-template>
</xsl:element>
<xsl:element name="ul">
@ -664,11 +689,31 @@
</xsl:element><!--end wrapper-inner-->
<!-- cc licenses -->
<xsl:if test = "string(/buildinfo/document/head/meta[@name='cc-license']/@content)">
<xsl:element name="div">
<xsl:attribute name="id">cc-licenses</xsl:attribute>
<xsl:element name="p">
<xsl:element name="img">
<xsl:attribute name="src">/graphics/cc-logo.png</xsl:attribute>
<xsl:attribute name="alt">Creative Commons logo</xsl:attribute>
</xsl:element> <!-- </img> -->
<xsl:for-each select="/buildinfo/document/head/meta[@name='cc-license']">
<xsl:value-of select="@content"/>
</xsl:for-each>
<!--<xsl:value-of select="/buildinfo/document/head/meta[@name='cc-license-1']/@content" /> • -->
</xsl:element> <!-- </p> -->
</xsl:element> <!-- </div> -->
</xsl:if>
<!-- End cc licenses -->
<!-- Footer -->
<div id="footer">
<div id="notice">
<p>
Copyright © 2001-2011 <a href="/">Free Software
Copyright © 2001-2012 <a href="/">Free Software
Foundation Europe</a>. <strong>
<a href="/contact/contact.html">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'contact'" /></xsl:call-template>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
graphics/logov.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

102
graphics/logov.svg Normal file
View File

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="210mm"
height="297mm"
id="svg3064"
version="1.1"
inkscape:version="0.48.2 r9819"
sodipodi:docname="Nouveau document 2">
<defs
id="defs3066" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.51978303"
inkscape:cx="372.04724"
inkscape:cy="526.18109"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1366"
inkscape:window-height="708"
inkscape:window-x="-2"
inkscape:window-y="-3"
inkscape:window-maximized="1" />
<metadata
id="metadata3069">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g3035"
transform="matrix(0.97477848,0,0,0.97477848,-48.075312,-377.57419)"
inkscape:export-filename="/tmp/logov.png"
inkscape:export-xdpi="29.43"
inkscape:export-ydpi="29.43">
<path
d="m 233.61087,863.98529 c 6.18089,-1.71466 11.19966,-2.98347 17.65828,-3.20341 0.8934,-6.40026 2.70041,-11.27714 5.05033,-17.2441 2.37615,-6.02831 4.12242,-13.09845 -0.83199,-18.7984 -7.11242,-8.181 -15.45853,-7.31206 -22.4017,-1.27659 -4.18616,3.63967 -5.09859,7.80553 -3.86014,12.7987 -4.83697,-1.75338 -9.09408,-1.26467 -13.1509,2.51856 -6.72804,6.27334 -8.4653,14.48294 -1.07219,22.41186 5.15046,5.52354 12.36482,4.52587 18.60831,2.79338 z"
style="fill:#a80018;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path2976"
inkscape:connector-curvature="0" />
<path
d="m 189.99225,738.84552 c -1.7945,-2.24565 -3.4096,-4.82506 -4.66772,-7.79008 -10.82836,-25.51034 0.52208,-43.71453 22.16868,-52.90216 13.05435,-5.54081 23.7069,-2.99239 33.79446,5.44845 1.38921,-13.077 7.2239,-22.28728 20.46358,-27.36979 21.95472,-8.42836 42.76458,-3.21768 52.69657,22.65382 6.91871,18.02602 -3.45845,33.48155 -14.43526,45.8869 -10.86468,12.27715 -19.46705,22.41243 -27.20884,37.00856 -11.10912,-3.62118 -20.94512,-5.35071 -31.53512,-6.50868 l -51.27635,-16.42702 z"
style="fill:#ff7a8e;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path2978"
inkscape:connector-curvature="0" />
<path
d="m 241.3282,755.27254 c 2.63247,11.11027 -2.76893,22.01132 -8.69655,31.31338 -7.13564,11.19904 -12.73314,20.39744 -17.07778,33.05606 -13.21589,-2.10624 -23.9191,-1.51026 -37.1582,-0.46677 -13.37499,1.05427 -28.43303,0.23315 -36.71953,-13.02932 -11.89458,-19.03618 -5.12186,-35.03825 11.03219,-45.13177 9.74129,-6.08619 18.58623,-5.39781 27.72559,0.0763 -0.47738,-9.31932 2.1503,-16.69698 9.49814,-22.24494 l 51.39614,16.42703 z"
style="fill:#ef2d47;fill-opacity:1;fill-rule:evenodd;stroke:none"
id="path2980"
inkscape:connector-curvature="0" />
<path
d="m 241.2686,755.27254 c -0.57038,-2.40361 -1.51322,-4.81614 -2.90242,-7.22447 -11.22408,-19.43968 -28.53315,-20.97078 -45.02929,-11.44701 -1.23249,0.71217 -2.36544,1.46015 -3.40483,2.24446 8.96177,11.21453 23.89165,14.10866 37.65045,15.18972 4.78753,0.37666 9.30087,0.75814 13.68609,1.2373 z"
style="fill:#de1638;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path2982"
inkscape:connector-curvature="0" />
<path
d="m 330.45346,771.80027 -0.0849,17.90443 23.19317,-6.2e-4 c 4.03478,0 7.30552,3.27074 7.30552,7.30553 0,4.03421 -3.27074,7.30495 -7.30552,7.30495 l -23.19317,0 0,91.32501 c 0,4.48234 -3.63309,8.11605 -8.11606,8.11605 -4.48296,0 -8.11605,-3.63371 -8.11605,-8.11605 l 0,-91.32501 -14.06456,0 c -4.03474,0 -7.30429,-3.27074 -7.30429,-7.30495 0,-4.03479 3.26955,-7.30553 7.30429,-7.30553 l 13.86373,6.2e-4 0,-15.9961 c 0,-19.68108 12.37494,-29.6226 31.0428,-29.6226 l 8.58331,0 c 4.03478,0 7.30552,3.27074 7.30552,7.3049 0,4.03479 -3.27074,7.30553 -7.30552,7.30553 l -8.58331,0 c -11.02444,0 -14.52523,3.95673 -14.52523,13.10384 z"
style="fill:#8a0014;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path2984"
inkscape:connector-curvature="0" />
<path
d="m 502.08145,771.80027 -0.0858,17.90443 23.19317,-6.2e-4 c 4.03478,0 7.30552,3.27074 7.30552,7.30553 0,4.03421 -3.27074,7.30495 -7.30552,7.30495 l -23.19317,0 10e-4,91.32501 c 0,4.48234 -3.63429,8.11605 -8.11726,8.11605 -4.48177,0 -8.11663,-3.63371 -8.11663,-8.11605 l 0,-91.32501 -14.06394,0 c -4.03359,0 -7.30438,-3.27074 -7.30438,-7.30495 0,-4.03479 3.27079,-7.30553 7.30438,-7.30553 l 13.86369,6.2e-4 0,-15.9961 c 0,-19.68108 12.37489,-29.6226 31.04399,-29.6226 l 8.58212,0 c 4.03478,0 7.30552,3.27074 7.30552,7.3049 0,4.03479 -3.27074,7.30553 -7.30552,7.30553 l -8.58212,0 c -11.0262,0 -14.52523,3.95673 -14.52523,13.10384 z"
style="fill:#8a0014;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path2986"
inkscape:connector-curvature="0" />
<path
d="m 549.3147,837.27999 66.44225,0 c -2.74689,-22.31769 -15.34887,-31.98564 -30.99039,-31.98564 -19.5124,0 -32.21631,12.14189 -35.45186,31.98564 z m 35.73974,51.08924 c 17.60702,0 25.16762,-9.3599 28.02952,-13.05259 0,0 3.51094,-4.59381 5.46099,-5.16834 1.78079,-0.51612 3.75525,-0.36617 5.52054,0.57333 3.20518,1.70331 4.63973,5.43234 3.56873,8.77045 -0.46534,1.78017 -1.39221,4.0324 -2.93041,6.47892 -5.27443,7.9766 -16.99321,17.67673 -39.93725,17.67673 -31.35629,0 -51.4444,-20.17388 -51.4444,-54.91834 0,-30.11607 15.83396,-58.61465 51.4444,-58.61465 26.9979,0 44.38564,19.02188 46.50671,49.76673 0,11.56197 -4.81013,12.009 -17.79773,12.009 l -64.86529,0 c 1.4828,32.87842 24.25816,36.47876 36.44419,36.47876 z"
style="fill:#8a0014;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path2988"
inkscape:connector-curvature="0" />
<path
d="m 369.93,822.61712 c 0,-17.81209 15.83042,-31.85519 41.27463,-31.85519 l 0.60966,0.002 c 21.88502,-0.01 33.00601,9.56844 38.01281,17.44253 1.45896,2.41372 2.33801,4.63729 2.77903,6.39486 1.01856,3.29458 -0.34376,6.97478 -3.38631,8.65664 -1.6747,0.92673 -3.55028,1.07453 -5.23928,0.56618 -1.85055,-0.56799 -5.18146,-5.10221 -5.18146,-5.10221 -1.96435,-2.63423 -6.26074,-8.1953 -14.80176,-11.07331 -3.69865,-1.17346 -7.86336,-1.80225 -12.79269,-1.80225 -15.82928,0 -25.24634,6.47235 -25.24634,16.37039 0,7.09216 5.011,12.82134 13.62649,14.62535 l 27.24407,5.80843 c 14.82798,3.20699 27.85072,10.87129 27.85072,28.45209 0,18.64822 -16.22673,32.53394 -42.67456,32.53394 l -1.15563,0.01 c -22.94286,0 -34.66159,-9.70013 -39.93778,-17.67673 -1.53763,-2.44652 -2.4644,-4.69876 -2.92869,-6.47892 -1.07215,-3.33811 0.36378,-7.06714 3.56758,-8.77045 1.76649,-0.93926 3.74094,-1.08945 5.52173,-0.57333 1.95005,0.57452 5.45975,5.16834 5.45975,5.16834 2.0836,2.6873 6.65534,8.3759 15.77503,11.27475 4.02348,1.27659 8.60357,1.94109 13.69801,1.94109 17.63028,0 26.44783,-7.03133 26.44783,-16.82987 0,-6.70954 -5.011,-12.42141 -13.22484,-14.22485 l -28.04979,-5.80842 C 382.35142,848.65964 369.93,839.76227 369.93,822.61592 z"
style="fill:#8a0014;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="path2990"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.8 KiB

1515
look/genericv.css Normal file

File diff suppressed because it is too large Load Diff