Fix #8 hide the github button if it's mobile

Signed-off-by: Tao Wang <twang2218@gmail.com>
pull/133/head
Tao Wang 2016-11-27 07:14:25 +11:00
parent 710956aed5
commit eb66a35128
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{% extends template.self %}
{% block head %}
{{ super() }}
<style>
@media only screen and (max-width: 640px) {
.book-header .btn[aria-label="github"] {
display: none;
}
}
</style>
{% endblock %}