twitter/github buttons

This commit is contained in:
Vladimir Agafonkin 2014-04-23 09:44:26 +03:00
parent deac9af90a
commit 42943745da
2 changed files with 22 additions and 0 deletions

View File

@ -118,6 +118,9 @@
</div> </div>
{% endif %} {% endif %}
<a class="twitter" href="http://twitter.com/LeafletJS"><img src="http://www.sportstalk200.com/twitter.png" width="50" /></a>
<a class="github" href="http://github.com/Leaflet/Leaflet"><img src="http://github.global.ssl.fastly.net/images/modules/logos_page/GitHub-Mark.png" width="65" /></a>
<script> <script>
hljs.tabReplace = ' '; hljs.tabReplace = ' ';

View File

@ -170,3 +170,22 @@ th, td {
text-align: left; text-align: left;
padding: 2px 5px; padding: 2px 5px;
} }
.twitter {
position: absolute;
top: 30px;
right: 30px;
opacity: 0.5;
}
.github {
position: absolute;
top: 80px;
right: 20px;
opacity: 0.5;
}
.twitter:hover, .github:hover {
opacity: 1.0;
}