github and twitter icons

This commit is contained in:
Mourner 2011-03-24 14:23:37 +02:00
parent 4da8df87fe
commit 347470241d
3 changed files with 15 additions and 6 deletions

View File

@ -42,10 +42,10 @@ h2 {
line-height: 1em;
}
.nav a, .nav span {
padding: 0 5px;
margin: 0 5px;
}
.nav span a {
padding: 0;
margin: 0;
}
table { border-collapse: collapse; }
@ -60,4 +60,13 @@ th, td {
top: 0;
right: 0;
border: 0;
}
a.github-link {
background: url(https://github.com/favicon.png) left center no-repeat;
padding-left: 20px;
}
a.twitter-link {
background: url(http://twitter.com/phoenix/favicon.ico) left center no-repeat;
padding-left: 20px;
}

View File

@ -32,8 +32,8 @@
<a href="reference.html">API Reference</a> |
<a href="#">Examples</a> |
<a href="http://github.com/CloudMade/Leaflet/zipball/master">Download (zip)</a> |
<a href="http://github.com/CloudMade/Leaflet">Fork on GitHub &rarr;</a> |
<a href="http://twitter.com/LeafletJS">Follow on Twitter &rarr;</a>
<a class="github-link" href="http://github.com/CloudMade/Leaflet">Fork on GitHub &rarr;</a> |
<a class="twitter-link" href="http://twitter.com/LeafletJS">Follow on Twitter &rarr;</a>
</p>
<hr />

View File

@ -32,8 +32,8 @@
<span>API Reference</span> |
<a href="#">Examples</a> |
<a href="http://github.com/CloudMade/Leaflet/zipball/master">Download (zip)</a> |
<a href="http://github.com/CloudMade/Leaflet">Fork on GitHub &rarr;</a> |
<a href="http://twitter.com/LeafletJS">Follow on Twitter &rarr;</a>
<a class="github-link" href="http://github.com/CloudMade/Leaflet">Fork on GitHub &rarr;</a> |
<a class="twitter-link" href="http://twitter.com/LeafletJS">Follow on Twitter &rarr;</a>
</p>
<hr />