Update the Foundation sponsor banner and CSS

This commit is contained in:
Saivann 2014-08-12 16:48:43 -04:00
parent d240ceb421
commit d6b49205bc
7 changed files with 35 additions and 104 deletions

View file

@ -110,12 +110,12 @@
<span>© Bitcoin Project 2009-2014 {% translate footer layout %}</span>
</div>
</div>
<div class="foundation-banner">
<div class="sponsor-banner">
{% case page.lang %}
{% when 'fa' %}
<div style="direction:ltr;">{% translate sponsor layout %} <a href="https://bitcoinfoundation.org/"><img src="/img/brand/logo_foundation.svg" alt="Foundation"> The Bitcoin Foundation</a></div>
<div style="direction:ltr;"><span>{% translate sponsor layout %}</span> <a href="https://bitcoinfoundation.org/"><img src="/img/brand/bitcoinfoundation.png" alt="Bitcoin Foundation"></a></div>
{% else %}
<div>{% translate sponsor layout %} <a href="https://bitcoinfoundation.org/"><img src="/img/brand/logo_foundation.svg" alt="Foundation"> The Bitcoin Foundation</a></div>
<div><span>{% translate sponsor layout %}</span> <a href="https://bitcoinfoundation.org/"><img src="/img/brand/bitcoinfoundation.png" alt="Bitcoin Foundation"></a></div>
{% endcase %}
</div>
<script type="text/javascript">fallbackSVG();</script>

View file

@ -274,8 +274,17 @@ body{
display:inline;
}
.foundation{
width:500px;
.sponsor-banner div{
display:inline;
zoom:1;
}
.sponsor-banner span,
.sponsor-banner a,
.sponsor-banner a:link,
.sponsor-banner a:active,
.sponsor-banner a:visited{
display:inline;
zoom:1;
}
.devprojectlist li{

View file

@ -153,14 +153,11 @@ h2 .rssicon{
padding:0 8px;
}
.foundation-banner a,
.foundation-banner a:link,
.foundation-banner a:active,
.foundation-banner a:visited{
.sponsor-banner a,
.sponsor-banner a:link,
.sponsor-banner a:active,
.sponsor-banner a:visited{
direction:ltr;
display:inline-block;
margin-left:0;
margin-right:6px;
}
.listtable div div{

View file

@ -159,33 +159,31 @@ table td,table th{
background-color:#0d579b;
}
.foundation-banner{
.sponsor-banner{
text-align:center;
width:940px;
margin:auto;
}
.foundation-banner div{
.sponsor-banner div{
display:inline-block;
color:#8D8D8D;
padding:15px 30px 15px 30px;
margin:0 0 20px 0;
margin:10px 0 20px 0;
line-height:2em;
}
.foundation-banner a,
.foundation-banner a:link,
.foundation-banner a:active,
.foundation-banner a:visited{
color:#666;
font-weight:bold;
margin-left:6px;
.sponsor-banner span{
white-space:nowrap;
}
.foundation-banner img{
vertical-align:top;
position:relative;
top:2px;
width:32px;
height:32px;
.sponsor-banner span,
.sponsor-banner a,
.sponsor-banner a:link,
.sponsor-banner a:active,
.sponsor-banner a:visited{
display:inline-block;
margin:5px;
}
.sponsor-banner img{
width:245px;
height:18px;
}
.head{
@ -1998,7 +1996,7 @@ h2 .rssicon{
.footer{
display:none;
}
.foundation-banner{
.sponsor-banner{
display:none;
}
.content{
@ -2121,7 +2119,7 @@ h2 .rssicon{
display:block;
margin-bottom:20px;
}
.foundation-banner{
.sponsor-banner{
width:auto;
}
.index{

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 918 B

View file

@ -1,73 +0,0 @@
<?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"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
width="32"
height="32"
xml:space="preserve"
sodipodi:docname="logo_foundation.svg"
inkscape:export-filename="/media/X/bitcoin.org/current/img/logo_foundation.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"><metadata
id="metadata8"><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><defs
id="defs6"><clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath16"><path
d="M 0,144 504,144 504,0 0,0 0,144 z"
id="path18"
inkscape:connector-curvature="0" /></clipPath></defs><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1615"
inkscape:window-height="1026"
id="namedview4"
showgrid="false"
inkscape:zoom="18.336508"
inkscape:cx="12.745626"
inkscape:cy="11.174626"
inkscape:window-x="65"
inkscape:window-y="24"
inkscape:window-maximized="1"
inkscape:current-layer="g10" /><g
id="g10"
inkscape:groupmode="layer"
inkscape:label="BCF-Logo-Color"
transform="matrix(1.25,0,0,-1.25,0,32)"><g
id="g20"
transform="translate(131.3477,70.7773)" /><g
id="g3139"
transform="matrix(0.72674668,0,0,0.72674668,-1.1526285,-1.1876954)"><g
transform="matrix(0.5019957,0,0,0.5019957,35.700242,35.729221)"
id="g82"><path
inkscape:connector-curvature="0"
id="path84"
style="fill:#f79210;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 -48.903,0 0,-43.511 c -1.639,0.824 -3.484,1.301 -5.444,1.301 -6.7,0 -12.132,-5.432 -12.132,-12.133 0,-6.699 5.432,-12.132 12.132,-12.132 6.7,0 12.133,5.433 12.133,12.132 0,1.959 -0.475,3.801 -1.3,5.439 L 0,-48.904 0,0 z" /></g><path
inkscape:connector-curvature="0"
id="path86"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 5.6865209,11.180677 5.4617131,0 0,-5.4632196 -5.4617131,0 0,5.4632196 z" /><g
transform="matrix(0.5019957,0,0,0.5019957,29.516006,23.455376)"
id="g88"><path
inkscape:connector-curvature="0"
id="path90"
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="m 0,0 c 0,6.699 -5.433,12.132 -12.13,12.132 -6.703,0 -12.133,-5.433 -12.133,-12.132 0,-6.702 5.43,-12.133 12.133,-12.133 C -5.433,-12.133 0,-6.702 0,0 m -12.133,-19.458 c -10.745,0 -19.456,8.711 -19.456,19.458 0,10.746 8.711,19.456 19.456,19.456 10.748,0 19.46,-8.71 19.46,-19.456 0,-10.747 -8.712,-19.458 -19.46,-19.458" /></g></g></g></svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB